You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
586 B

  1. #
  2. # Generic LPC1850 board w/ SPIFI flash.
  3. # This config file is intended as an example of how to
  4. # use the lpcspifi flash driver, but it should be functional
  5. # for most LPC1850 boards utilizing SPIFI flash.
  6. set CHIPNAME lpc1850
  7. source [find target/lpc1850.cfg]
  8. #A large working area greatly reduces flash write times
  9. set _WORKAREASIZE 0x4000
  10. $_CHIPNAME.m3 configure -work-area-phys 0x10000000 -work-area-size $_WORKAREASIZE
  11. #Configure the flash bank; 0x14000000 is the base address for
  12. #lpc43xx/lpc18xx family micros.
  13. flash bank SPIFI_FLASH lpcspifi 0x14000000 0 0 0 $_CHIPNAME.m3