Xiao NRF - define suitable i2c pins for the sub-variants (#8866)
Co-authored-by: Christian Walther <cwalther@gmx.ch>
This commit is contained in:
@@ -2,9 +2,55 @@
|
||||
[env:xiao_ble]
|
||||
extends = env:seeed_xiao_nrf52840_kit
|
||||
board_level = extra
|
||||
build_flags = ${env:seeed_xiao_nrf52840_kit.build_flags}
|
||||
build_flags = ${nrf52840_base.build_flags}
|
||||
-Ivariants/nrf52840/seeed_xiao_nrf52840_kit
|
||||
-Isrc/platform/nrf52/softdevice
|
||||
-Isrc/platform/nrf52/softdevice/nrf52
|
||||
-D PRIVATE_HW
|
||||
-DXIAO_BLE_LEGACY_PINOUT
|
||||
-DEBYTE_E22
|
||||
-DEBYTE_E22_900M30S
|
||||
build_unflags = -DGPS_L76K
|
||||
-USEEED_XIAO_NRF52840_KIT ; remove default HWID
|
||||
-USEEED_XIAO_NRF_KIT_DEFAULT ; remove default define
|
||||
board_build.ldscript = src/platform/nrf52/nrf52840_s140_v7.ld
|
||||
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/seeed_xiao_nrf52840_kit>
|
||||
debug_tool = jlink
|
||||
; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm)
|
||||
;upload_protocol = jlink
|
||||
|
||||
; Seeed Xiao BLE: https://www.digikey.com/en/products/detail/seeed-technology-co-ltd/102010448/16652893
|
||||
[env:xiao_ble_30db]
|
||||
extends = env:seeed_xiao_nrf52840_kit
|
||||
board_level = extra
|
||||
build_flags = ${nrf52840_base.build_flags}
|
||||
-Ivariants/nrf52840/seeed_xiao_nrf52840_kit
|
||||
-Isrc/platform/nrf52/softdevice
|
||||
-Isrc/platform/nrf52/softdevice/nrf52
|
||||
-DPRIVATE_HW ; Define private hardware
|
||||
-DXIAO_BLE_LEGACY_PINOUT ; Set legacy pinout
|
||||
-DEBYTE_E22_900M30S ; Set 30db module
|
||||
-USEEED_XIAO_NRF52840_KIT ; Remove default HWID
|
||||
-USEEED_XIAO_NRF_KIT_DEFAULT ; Remove default define
|
||||
board_build.ldscript = src/platform/nrf52/nrf52840_s140_v7.ld
|
||||
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/seeed_xiao_nrf52840_kit>
|
||||
debug_tool = jlink
|
||||
; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm)
|
||||
;upload_protocol = jlink
|
||||
|
||||
; Seeed Xiao BLE: https://www.digikey.com/en/products/detail/seeed-technology-co-ltd/102010448/16652893
|
||||
[env:xiao_ble_33db]
|
||||
extends = env:seeed_xiao_nrf52840_kit
|
||||
board_level = extra
|
||||
build_flags = ${nrf52840_base.build_flags}
|
||||
-Ivariants/nrf52840/seeed_xiao_nrf52840_kit
|
||||
-Isrc/platform/nrf52/softdevice
|
||||
-Isrc/platform/nrf52/softdevice/nrf52
|
||||
-DPRIVATE_HW ; Define private hardware
|
||||
-DXIAO_BLE_LEGACY_PINOUT ; Set legacy pinout
|
||||
-DEBYTE_E22_900M33S ; Set 33db module
|
||||
-USEEED_XIAO_NRF52840_KIT ; Remove default HWID
|
||||
-USEEED_XIAO_NRF_KIT_DEFAULT ; Remove default define
|
||||
board_build.ldscript = src/platform/nrf52/nrf52840_s140_v7.ld
|
||||
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/nrf52840/seeed_xiao_nrf52840_kit>
|
||||
debug_tool = jlink
|
||||
; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm)
|
||||
;upload_protocol = jlink
|
||||
Reference in New Issue
Block a user