diff --git a/variants/wio-tracker-l1-eink/platformio.ini b/variants/wio-tracker-l1-eink/platformio.ini index 04a0df6e..0bb891db 100644 --- a/variants/wio-tracker-l1-eink/platformio.ini +++ b/variants/wio-tracker-l1-eink/platformio.ini @@ -18,6 +18,7 @@ build_flags = ${nrf52_base.build_flags} -D SX126X_CURRENT_LIMIT=140 -D SX126X_RX_BOOSTED_GAIN=1 -D EINK_DISPLAY_MODEL=GxEPD2_213_B74 + -D DISPLAY_ROTATION=1 -D GPS_BAUD_RATE=9600 -D ENV_PIN_SDA=PIN_WIRE1_SDA -D ENV_PIN_SCL=PIN_WIRE1_SCL @@ -53,32 +54,14 @@ lib_deps = ${nrf52_base.lib_deps} densaugeo/base64 @ ~1.4.0 end2endzone/NonBlockingRTTTL@^1.3.0 -; Landscape: 250×122 px (physical panel rotated 90°) -[env:WioTrackerL1Eink_companion_radio_ble_landscape] +; BLE only +[env:WioTrackerL1Eink_companion_radio_ble] extends = WioTrackerL1Eink -build_flags = ${WioTrackerL1Eink.build_flags} - -D DISPLAY_ROTATION=1 extra_scripts = post:create-uf2.py -; Portrait: 122×250 px (physical panel in native orientation) -[env:WioTrackerL1Eink_companion_radio_ble_portrait] +; Dual BLE+USB +[env:WioTrackerL1Eink_companion_radio_dual] extends = WioTrackerL1Eink build_flags = ${WioTrackerL1Eink.build_flags} - -D DISPLAY_ROTATION=0 -extra_scripts = post:create-uf2.py - -; Dual BLE+USB — landscape -[env:WioTrackerL1Eink_companion_radio_dual_landscape] -extends = WioTrackerL1Eink -build_flags = ${WioTrackerL1Eink.build_flags} - -D DISPLAY_ROTATION=1 - -D DUAL_SERIAL=1 -extra_scripts = post:create-uf2.py - -; Dual BLE+USB — portrait -[env:WioTrackerL1Eink_companion_radio_dual_portrait] -extends = WioTrackerL1Eink -build_flags = ${WioTrackerL1Eink.build_flags} - -D DISPLAY_ROTATION=0 -D DUAL_SERIAL=1 extra_scripts = post:create-uf2.py