Switch over Demos, Bootloaders and Projects to the new and improved build system.
This commit is contained in:
@@ -452,7 +452,7 @@ static void CDC_Task(void)
|
||||
else if (Command == 'e')
|
||||
{
|
||||
/* Clear the application section of flash */
|
||||
for (uint32_t CurrFlashAddress = 0; CurrFlashAddress < BOOT_START_ADDR; CurrFlashAddress += SPM_PAGESIZE)
|
||||
for (uint32_t CurrFlashAddress = 0; CurrFlashAddress < (uint32_t)BOOT_START_ADDR; CurrFlashAddress += SPM_PAGESIZE)
|
||||
{
|
||||
boot_page_erase(CurrFlashAddress);
|
||||
boot_spm_busy_wait();
|
||||
|
||||
Reference in New Issue
Block a user