Files
MeshCore-Solo/solo/simpson/platformio.ini
T
JakubandClaude Opus 5.5 31b8c3fbb0 Simpson: a release build, its schematic and keypad in the docs
The env is Simpson_companion_solo_dual, the suffix the release workflow
builds, and keeps the variant's build_unflags (they were overridden, so the
GPS pins were defined twice and the sensor drivers came back). Hardware
gets a Simpson section with sim1988son's schematic and the keypad's modes;
README lists the board.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 00:05:16 +02:00

32 lines
1.2 KiB
INI

; Solo build for Simpson, sim1988son's DIY board: a ProMicro nRF52840 with
; a RA-01S radio, an ATGM336H GPS, a 1.3" SH1106 OLED and a 4x4 keypad on a
; PCF8574 (see docs/solo/hardware.md#simpson and its schematic there).
; The _solo_dual suffix is what the release workflow builds.
[env:Simpson_companion_solo_dual]
extends = Simpson
board_build.ldscript = boards/nrf52840_s140_v6_extrafs.ld
board_upload.maximum_size = 712704
build_unflags = ${Simpson.build_unflags} -Ofast -D OFFLINE_QUEUE_SIZE=256
build_flags = ${Simpson.build_flags}
-I examples/companion_radio/ui-new
-D MAX_CONTACTS=350
-D MAX_GROUP_CHANNELS=40
-D BLE_PIN_CODE=123456
-D DUAL_SERIAL=1
-D OFFLINE_QUEUE_SIZE=128
-D DISPLAY_CLASS=SH1106Display
-D FIRMWARE_SOLO_BUILD=1
-D UI_SENSORS_PAGE=1
-Os
build_src_filter = ${Simpson.build_src_filter}
+<helpers/nrf52/SerialBLEInterface.cpp>
+<helpers/ui/SH1106Display.cpp>
+<helpers/ui/MomentaryButton.cpp>
+<helpers/ui/buzzer.cpp>
+<helpers/ui/GenericVibration.cpp>
+<../examples/companion_radio/*.cpp>
+<../examples/companion_radio/ui-new/*.cpp>
lib_deps = ${Simpson.lib_deps}
adafruit/RTClib @ ^2.1.3
densaugeo/base64 @ ~1.4.0