Browse Source

Global nrf52 hardware crypto, removed from individual configs

Select nodes had this flag enabled, testing by the community
and hardware specs indicate this can be enabled global for all
node types using this chipset.

Any nodes down the line that may be quirky can be individually
disabled with `-U USE_CC310_HW_CRYPTO`.
pull/2824/head
Nick Dunklee 1 week ago
parent
commit
783b21bb9f
  1. 1
      platformio.ini
  2. 1
      variants/heltec_t096/platformio.ini
  3. 1
      variants/rak3401/platformio.ini
  4. 1
      variants/rak4631/platformio.ini
  5. 1
      variants/t1000-e/platformio.ini

1
platformio.ini

@ -91,6 +91,7 @@ build_flags = ${arduino_base.build_flags}
-D NRF52_PLATFORM
-D LFS_NO_ASSERT=1
-D EXTRAFS=1
-D USE_CC310_HW_CRYPTO=1
lib_deps =
${arduino_base.lib_deps}
https://github.com/oltaco/CustomLFS#0.2.2

1
variants/heltec_t096/platformio.ini

@ -29,7 +29,6 @@ build_flags = ${nrf52_base.build_flags}
-D SX126X_DIO3_TCXO_VOLTAGE=1.8
-D SX126X_CURRENT_LIMIT=140
-D SX126X_RX_BOOSTED_GAIN=1
-D USE_CC310_HW_CRYPTO=1
-D PIN_VEXT_EN=26 ; Vext is connected to VDD which is also connected to TFT & GPS
-D PIN_VEXT_EN_ACTIVE=HIGH
-D PIN_GPS_RX=25

1
variants/rak3401/platformio.ini

@ -13,7 +13,6 @@ build_flags = ${nrf52_base.build_flags}
-D SX126X_CURRENT_LIMIT=140
-D SX126X_RX_BOOSTED_GAIN=1
-D SX126X_REGISTER_PATCH=1 ; Patch register 0x8B5 for improved RX with SKY66122 FEM
-D USE_CC310_HW_CRYPTO=1
build_src_filter = ${nrf52_base.build_src_filter}
+<../variants/rak3401>
+<helpers/sensors>

1
variants/rak4631/platformio.ini

@ -22,7 +22,6 @@ build_flags = ${nrf52_base.build_flags}
-D LORA_TX_POWER=22
-D SX126X_CURRENT_LIMIT=140
-D SX126X_RX_BOOSTED_GAIN=1
-D USE_CC310_HW_CRYPTO=1
-D ENV_INCLUDE_RAK12035=1
-UENV_INCLUDE_BME680
-D ENV_INCLUDE_BME680_BSEC=1

1
variants/t1000-e/platformio.ini

@ -18,7 +18,6 @@ build_flags = ${nrf52_base.build_flags}
-D LORA_TX_POWER=22
-D RF_SWITCH_TABLE
-D RX_BOOSTED_GAIN=true
-D USE_CC310_HW_CRYPTO=1
-D P_LORA_BUSY=7 ; P0.7
-D P_LORA_SCLK=11 ; P0.11
-D P_LORA_NSS=12 ; P0.12

Loading…
Cancel
Save