William Reynolds
/
LPC_Bootloader
Embed:
(wiki syntax)
Show/hide line numbers
main.cpp
00001 #include "mbed.h" 00002 #include "LPC.h" 00003 00004 SerialBuffered lpc(1024, p9, p10); 00005 00006 int main() { 00007 //RESET CHIP TO LOAD TO BEFORE RUNNING PROGRAM!!! 00008 lpc.InitUART(115200); //Specified limit of 230400 baud 00009 lpc.ProgramFile(); 00010 } 00011 //To add new chips to load to, add a case to the switch function in ID.cpp, using the ID code and last sector number information
Generated on Tue Jul 19 2022 22:34:47 by 1.7.2