XIAO BLE cleanup (supporting changes to seeed_xiao_nrf52840_kit too) (#7024)
* chore(seeed_xiao_nrf52840_kit): Use build flag for L76K GNSS, rename variant.h ifdef Signed-off-by: Andrew Yong <me@ndoo.sg> * feat(seeed_xiao_nrf52840_kit): Support multiple SX126x pinouts via build flags Signed-off-by: Andrew Yong <me@ndoo.sg> * feat(seeed_xiao_nrf52840_kit): Pin D0 as user button if pin is unused Signed-off-by: Andrew Yong <me@ndoo.sg> * feat: EBYTE E22 and NiceRF gain and SX1262 max power defines Signed-off-by: Andrew Yong <me@ndoo.sg> * chore(xiao_ble): Move variant to DIY and extend from seeed_xiao_nrf52840_kit Signed-off-by: Andrew Yong <me@ndoo.sg> * feat(seeed_xiao_nrf52840_kit): Pin D6, D7 as I2C SDA, SCL if pins are unused Signed-off-by: Andrew Yong <me@ndoo.sg> --------- Signed-off-by: Andrew Yong <me@ndoo.sg>
This commit is contained in:
@@ -89,6 +89,13 @@ extra_scripts =
|
||||
${env.extra_scripts}
|
||||
variants/diy/nrf52_promicro_diy_tcxo/custom_build_tasks.py ; Add to PIO's Project Tasks pane: preset builds for common displays
|
||||
|
||||
; Seeed Xiao BLE: https://www.digikey.com/en/products/detail/seeed-technology-co-ltd/102010448/16652893
|
||||
[env:xiao_ble]
|
||||
extends = env:seeed_xiao_nrf52840_kit
|
||||
board_level = extra
|
||||
build_flags = ${env:seeed_xiao_nrf52840_kit.build_flags} -D PRIVATE_HW -DXIAO_BLE_LEGACY_PINOUT -DEBYTE_E22 -DEBYTE_E22_900M30S
|
||||
build_unflags = -DGPS_L76K
|
||||
|
||||
; Seeed XIAO nRF52840 + XIAO Wio SX1262 DIY
|
||||
[env:seeed-xiao-nrf52840-wio-sx1262]
|
||||
board = xiao_ble_sense
|
||||
|
||||
Reference in New Issue
Block a user