Skip to content

Commit

Permalink
lpc11u35 savings: save RAM/ROM with absence of bootloader on lpc11u35…
Browse files Browse the repository at this point in the history
… HIC
  • Loading branch information
mbrossard committed Aug 5, 2023
1 parent aa5dc43 commit 34c04ff
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions source/hic_hal/nxp/lpc11u35/daplink_addr.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,23 +66,15 @@

/* Current build */

#if defined(DAPLINK_BL)

#define DAPLINK_ROM_APP_START DAPLINK_ROM_BL_START
#define DAPLINK_ROM_APP_SIZE DAPLINK_ROM_BL_SIZE
#define DAPLINK_ROM_UPDATE_START DAPLINK_ROM_IF_START
#define DAPLINK_ROM_UPDATE_SIZE DAPLINK_ROM_IF_SIZE

#elif defined(DAPLINK_IF)
#if defined(DAPLINK_IF)

#define DAPLINK_ROM_APP_START DAPLINK_ROM_IF_START
#define DAPLINK_ROM_APP_SIZE DAPLINK_ROM_IF_SIZE
#define DAPLINK_ROM_UPDATE_START DAPLINK_ROM_BL_START
#define DAPLINK_ROM_UPDATE_SIZE DAPLINK_ROM_BL_SIZE
#define DAPLINK_ROM_UPDATE_SIZE 0

#else

#error "Build must be either bootloader or interface"
#error "Build must be interface"

#endif

Expand Down

0 comments on commit 34c04ff

Please sign in to comment.