Skip to content

Commit

Permalink
cleaned up UDEFS in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
xaelsouth committed Oct 19, 2024
1 parent b9ce3aa commit ecd3b63
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions testhal/SILABS/EFR32FG23x0xx/TEMPLATE/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -157,25 +157,33 @@ CPPWARN = -Wall -Wextra -Wundef
#

# List all user C define here, like -D_DEBUG=1
UDEFS = -DCORTEX_ENABLE_WFI_IDLE \
-DESCAPE_HATCH_ENABLE=TRUE \
UDEFS = -DCORTEX_ENABLE_WFI_IDLE

# MCU and board specific.
UDEFS += \
-DEFR32FG23B010F512IM48=1 \
-DESCAPE_HATCH_ENABLE=TRUE

# emlib specific.
UDEFS += \
-DSYSTEM_NO_STATIC_MEMORY \
-DFSRCO_FREQ=20000000UL \
-DHFXO_FREQ=39000000UL \
-DFRCODPLL_STARTUP_FREQ=19000000UL \
-DRCODPLL_MAX_FREQ=0000000UL \
-DCLKIN0_FREQ=0UL \
-DLFRCO_FREQ=32768UL \
-DULFRCO_FREQ=1000UL \
-DLFXO_FREQ=LFRCO_FREQ \
-DLFXO_FREQ=LFRCO_FREQ
# -DSL_TRUSTZONE_NONSECURE
# -DSL_TRUSTZONE_SECURE \
# RAIL lib specific.
UDEFS += \
-D_SILICON_LABS_32B_SERIES_1_CONFIG=0 \
-DSL_RAIL_UTIL_PROTOCOL_IEEE802154_GB868_ENABLE=0 \
-DFEAT_RF_2G4=0 \
-DFEAT_RF_SUBG=1 \
-DSYSTEM_NO_STATIC_MEMORY

# -DSL_TRUSTZONE_NONSECURE \
# -DSL_TRUSTZONE_SECURE \
-DFEAT_RF_SUBG=1

# Define ASM defines here
UADEFS =
Expand Down

0 comments on commit ecd3b63

Please sign in to comment.