replacing -U by build_unflags to avoid warnings about define duplicates

This commit is contained in:
Michal Konopinski 2026-03-05 23:45:45 +01:00
parent 3744918071
commit 59cbaecd6a

View file

@ -34,9 +34,10 @@ lib_deps = ${nrf52_base.lib_deps}
[ikoka_nano_nrf_e22p]
extends = ikoka_nano_nrf
; E22P: integrated PA/LNA via DIO2. D7 = module power enable (not RXEN)
build_unflags =
-DSX126X_RXEN=D7
build_flags =
${ikoka_nano_nrf.build_flags}
-USX126X_RXEN
-D SX126X_RXEN=RADIOLIB_NC
-D P_LORA_EN=D7
-D SX126X_REGISTER_PATCH=1