mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 14:12:05 +00:00
RP2040: Enable telemetry and update HW models (#2525)
This commit is contained in:
parent
696afeef41
commit
e699427bfc
@ -2,6 +2,18 @@
|
|||||||
|
|
||||||
#define ARCH_RP2040
|
#define ARCH_RP2040
|
||||||
|
|
||||||
#if defined(PRIVATE_HW)
|
#ifndef HAS_TELEMETRY
|
||||||
#define HW_VENDOR meshtastic_HardwareModel_PRIVATE_HW
|
#define HAS_TELEMETRY 1
|
||||||
|
#endif
|
||||||
|
#ifndef HAS_SENSOR
|
||||||
|
#define HAS_SENSOR 1
|
||||||
|
#endif
|
||||||
|
#ifndef HAS_RADIO
|
||||||
|
#define HAS_RADIO 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(RPI_PICO)
|
||||||
|
#define HW_VENDOR meshtastic_HardwareModel_RPI_PICO
|
||||||
|
#elif defined(RAK11310)
|
||||||
|
#define HW_VENDOR meshtastic_HardwareModel_RAK11310
|
||||||
#endif
|
#endif
|
@ -5,7 +5,7 @@ upload_protocol = picotool
|
|||||||
|
|
||||||
# add our variants files to the include and src paths
|
# add our variants files to the include and src paths
|
||||||
build_flags = ${rp2040_base.build_flags}
|
build_flags = ${rp2040_base.build_flags}
|
||||||
-DPRIVATE_HW
|
-DRAK11310
|
||||||
-Ivariants/rak11310
|
-Ivariants/rak11310
|
||||||
-DDEBUG_RP2040_PORT=Serial
|
-DDEBUG_RP2040_PORT=Serial
|
||||||
-L "${platformio.libdeps_dir}/${this.__env__}/BSEC2 Software Library/src/cortex-m0plus"
|
-L "${platformio.libdeps_dir}/${this.__env__}/BSEC2 Software Library/src/cortex-m0plus"
|
||||||
|
@ -5,7 +5,7 @@ upload_protocol = picotool
|
|||||||
|
|
||||||
# add our variants files to the include and src paths
|
# add our variants files to the include and src paths
|
||||||
build_flags = ${rp2040_base.build_flags}
|
build_flags = ${rp2040_base.build_flags}
|
||||||
-DPRIVATE_HW
|
-DRPI_PICO
|
||||||
-Ivariants/rpipico
|
-Ivariants/rpipico
|
||||||
-DDEBUG_RP2040_PORT=Serial
|
-DDEBUG_RP2040_PORT=Serial
|
||||||
-DHW_SPI1_DEVICE
|
-DHW_SPI1_DEVICE
|
||||||
|
@ -6,7 +6,7 @@ upload_protocol = picotool
|
|||||||
|
|
||||||
# add our variants files to the include and src paths
|
# add our variants files to the include and src paths
|
||||||
build_flags = ${rp2040_base.build_flags}
|
build_flags = ${rp2040_base.build_flags}
|
||||||
-DPRIVATE_HW
|
-DRPI_PICO
|
||||||
-Ivariants/rpipicow
|
-Ivariants/rpipicow
|
||||||
-DDEBUG_RP2040_PORT=Serial
|
-DDEBUG_RP2040_PORT=Serial
|
||||||
-DHW_SPI1_DEVICE
|
-DHW_SPI1_DEVICE
|
||||||
|
Loading…
Reference in New Issue
Block a user