Skip to content

Commit

Permalink
update build flags to use CANARYONE enum
Browse files Browse the repository at this point in the history
  • Loading branch information
hdngr committed Jan 31, 2024
1 parent 94a169c commit 27a10d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/platform/nrf52/architecture.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
#define HW_VENDOR meshtastic_HardwareModel_T_ECHO
#elif defined(NANO_G2_ULTRA)
#define HW_VENDOR meshtastic_HardwareModel_NANO_G2_ULTRA
#elif defined(CANARY_V1_0)
#define HW_VENDOR meshtastic_HardwareModel_CANARY_V1_0
#elif defined(CANARYONE)
#define HW_VENDOR meshtastic_HardwareModel_CANARYONE
#elif defined(NORDIC_PCA10059)
#define HW_VENDOR meshtastic_HardwareModel_NRF52840_PCA10059
#elif defined(PRIVATE_HW) || defined(FEATHER_DIY)
Expand Down
4 changes: 2 additions & 2 deletions variants/canary/platformio.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
; First prototype eink/nrf52840/sx1262 device
; Public Beta oled/nrf52840/sx1262 device
[env:canary]
extends = nrf52840_base
board = canary
debug_tool = jlink

# add -DCFG_SYSVIEW if you want to use the Segger systemview tool for OS profiling.
build_flags = ${nrf52840_base.build_flags} -Ivariants/canary
build_flags = ${nrf52840_base.build_flags} -D CANARYONE -I variants/canary
-L "${platformio.libdeps_dir}/${this.__env__}/BSEC2 Software Library/src/cortex-m4/fpv4-sp-d16-hard"
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/canary>
lib_deps =
Expand Down

0 comments on commit 27a10d3

Please sign in to comment.