firmware/variants
Kevin Hester cdafa87cef add lateInitVariant() as a concept. see below for docs
(from src/extra_variants/README.md)

This directory tree is designed to solve two problems.

- The ESP32 arduino/platformio project doesn't support the nice "if initVariant() is found, call that after init" behavior of the nrf52 builds (they use initVariant() internally).
- Over the years a lot of 'board specific' init code has been added to init() in main.cpp. It would be great to have a general/clean mechanism to allow developers to specify board specific/unique code in a clean fashion without mucking in main.

So we are borrowing the initVariant() ideas here (by using weak gcc references). You can now define lateInitVariant() if your board needs it.

If you'd like a board specific variant to be run, add the variant.cpp file to an appropriately named
subdirectory and check for \_VARIANT_boardname in the cpp file (so that your code is only built for your board).
You'll need to define \_VARIANT_boardname in your corresponding variant.h file.
See existing boards for examples.

This approach has no added runtime cost.
2024-08-28 11:25:54 -07:00
..
ai-c3
betafpv_900_tx_nano Generate the build matrix from the variant files (#3870) 2024-05-12 22:43:47 +02:00
betafpv_2400_tx_micro
bpi_picow_esp32_s3 Update platformio/espressif32 to the latest 6.7.0 (#3899) 2024-05-21 21:02:09 -05:00
canaryone Remove LED_INVERTED, see below for why ;-) (#4382) 2024-08-05 06:02:32 -05:00
CDEBYTE_EoRa-S3 Update platformio/espressif32 to the latest 6.7.0 (#3899) 2024-05-21 21:02:09 -05:00
chatter2 Merge the three redundant backlight enables into the single TFT_BL flag 2024-08-22 09:15:59 -07:00
diy Trunk 2024-08-20 07:08:42 -05:00
Dongle_nRF52840-pca10059-v1 fix include path 2024-05-16 17:03:04 +02:00
EBYTE_ESP32-S3 Remove LED_INVERTED, see below for why ;-) (#4382) 2024-08-05 06:02:32 -05:00
esp32-s3-pico Fixes for ME25LS01_4Y10TD and ESP32-PICO (#4522) 2024-08-22 07:00:19 -05:00
feather_diy fix include path 2024-05-16 17:03:04 +02:00
heltec_capsule_sensor_v3 define PERIPHERAL_WARMUP_MS for heltec_capsule_sensor_v3 (#4473) 2024-08-17 06:37:05 -05:00
heltec_esp32c3 Remove LED_INVERTED, see below for why ;-) (#4382) 2024-08-05 06:02:32 -05:00
heltec_hru_3601 Add support for Heltec HRU-3601 2024-06-20 12:30:02 +08:00
heltec_mesh_node_t114 Remove redundant defintions of ST7789_BACKLIGHT_EN 2024-08-22 10:40:12 -07:00
heltec_v1
heltec_v2 Generate the build matrix from the variant files (#3870) 2024-05-12 22:43:47 +02:00
heltec_v2.1 Generate the build matrix from the variant files (#3870) 2024-05-12 22:43:47 +02:00
heltec_v3 Add #define USE_SSD1306 to avoid automatic detection causing pixel shift. (#4356) 2024-07-30 17:15:50 -05:00
heltec_vision_master_e213 Add heartbeat LED for HT-VME290 and HT-VME213 (#4511) 2024-08-20 06:19:29 -05:00
heltec_vision_master_e290 Add heartbeat LED for HT-VME290 and HT-VME213 (#4511) 2024-08-20 06:19:29 -05:00
heltec_vision_master_t190 Initial Support for Heltec VM-T190 (#4391) 2024-08-06 13:59:33 -05:00
heltec_wireless_paper Make specifying VEXT_ON_VALUE manatory if using VEXT_ENABLE 2024-08-22 11:26:15 -07:00
heltec_wireless_paper_v1 Make specifying VEXT_ON_VALUE manatory if using VEXT_ENABLE 2024-08-22 11:26:15 -07:00
heltec_wireless_tracker add lateInitVariant() as a concept. see below for docs 2024-08-28 11:25:54 -07:00
heltec_wireless_tracker_V1_0 Remove unneeded VGNSS_CTRL_V03 2024-08-22 09:33:43 -07:00
heltec_wsl_v3 Make specifying VEXT_ON_VALUE manatory if using VEXT_ENABLE 2024-08-22 11:26:15 -07:00
lora_isp4520
lora_relay_v1 Merge the three redundant backlight enables into the single TFT_BL flag 2024-08-22 09:15:59 -07:00
lora_relay_v2 Merge the three redundant backlight enables into the single TFT_BL flag 2024-08-22 09:15:59 -07:00
m5stack_core Update platformio/espressif32 to the latest 6.7.0 (#3899) 2024-05-21 21:02:09 -05:00
m5stack_coreink Remove LED_INVERTED, see below for why ;-) (#4382) 2024-08-05 06:02:32 -05:00
m5stack-stamp-c3 Update platformio/espressif32 to the latest 6.7.0 (#3899) 2024-05-21 21:02:09 -05:00
MakePython_nRF52840_eink fix include path 2024-05-16 17:03:04 +02:00
MakePython_nRF52840_oled fix include path 2024-05-16 17:03:04 +02:00
ME25LS01-4Y10TD Update architecture.h add Minewsemi ME25LS01 LR1110 breakout ME25LE01_V1.0 and fix buzzer (#4472) 2024-08-16 17:37:22 -05:00
ME25LS01-4Y10TD_e-ink Fixes for ME25LS01_4Y10TD and ESP32-PICO (#4522) 2024-08-22 07:00:19 -05:00
monteops_hw1 target does not use the powerrail 2024-05-18 10:48:57 +02:00
my_esp32s3_diy_eink Update platformio/espressif32 to the latest 6.7.0 (#3899) 2024-05-21 21:02:09 -05:00
my_esp32s3_diy_oled Update platformio/espressif32 to the latest 6.7.0 (#3899) 2024-05-21 21:02:09 -05:00
nano-g1
nano-g1-explorer
nano-g2-ultra Remove LED_INVERTED, see below for why ;-) (#4382) 2024-08-05 06:02:32 -05:00
pca10056-rc-clock fix include path 2024-05-16 17:03:04 +02:00
picomputer-s3 Remove redundant defintions of ST7789_BACKLIGHT_EN 2024-08-22 10:40:12 -07:00
portduino Make SPI frequency and TOPHONE queue size configurable on Native (#4369) 2024-08-01 19:29:49 -05:00
ppr
ppr1
radiomaster_900_bandit Initial support for RadioMaster Bandit. (#4523) 2024-08-28 11:25:54 -07:00
radiomaster_900_bandit_micro Added Radiomaster Bandit Nano and Radiomaster Bandit Micro to default_envs. (#4077) 2024-06-11 14:51:39 -05:00
radiomaster_900_bandit_nano Radio Master Joystick (#4476) 2024-08-17 05:51:53 -05:00
rak2560 More explicit guards for attempting to set RTC (#4452) 2024-08-13 06:56:20 -05:00
rak3172 Add RAK3172 to the STM32WL canon 2024-07-27 09:38:28 -05:00
rak4631 Generalize SWD debugging stuff so it works on all nrf52 targets. (#4377) 2024-08-03 07:41:35 -05:00
rak4631_epaper Add support for BMX160/RAK12034 compass module (#4021) 2024-06-11 17:47:45 -05:00
rak4631_epaper_onrxtx Add support for BMX160/RAK12034 compass module (#4021) 2024-06-11 17:47:45 -05:00
rak10701 rak10701: support touchscreen (#4104) 2024-06-14 19:36:20 -05:00
rak11200 Update platformio/espressif32 to the latest 6.7.0 (#3899) 2024-05-21 21:02:09 -05:00
rak11310 fix include path 2024-05-16 17:03:04 +02:00
rp2040-lora Fix RF switching logic on rp2040-lora board. (#4486) 2024-08-17 15:09:13 -05:00
rpipico remove screen pinning for pico targets 2024-05-18 10:22:07 +02:00
rpipico-slowclock fix include path 2024-05-16 17:03:04 +02:00
rpipicow remove screen pinning for pico targets 2024-05-18 10:22:07 +02:00
senselora_rp2040 fix include path 2024-05-16 17:03:04 +02:00
station-g1
station-g2 User experience improvement - app battery icon (#3979) 2024-05-28 06:30:15 -05:00
t-deck Remove redundant defintions of ST7789_BACKLIGHT_EN 2024-08-22 10:40:12 -07:00
t-echo Remove LED_INVERTED, see below for why ;-) (#4382) 2024-08-05 06:02:32 -05:00
t-watch-s3 Remove redundant defintions of ST7789_BACKLIGHT_EN 2024-08-22 10:40:12 -07:00
tbeam Remove LED_INVERTED, see below for why ;-) (#4382) 2024-08-05 06:02:32 -05:00
tbeam_v07 Generate the build matrix from the variant files (#3870) 2024-05-12 22:43:47 +02:00
tbeam-s3-core Finish powermon/powerstress (#4230) 2024-08-06 12:35:54 -05:00
tlora_t3s3_v1 Revert "Sync Wio lr1110 refresh with master (#4288)" 2024-07-22 15:30:36 +02:00
tlora_v1 Make specifying VEXT_ON_VALUE manatory if using VEXT_ENABLE 2024-08-22 11:26:15 -07:00
tlora_v1_3 Generate the build matrix from the variant files (#3870) 2024-05-12 22:43:47 +02:00
tlora_v2 Generate the build matrix from the variant files (#3870) 2024-05-12 22:43:47 +02:00
tlora_v2_1_16 Generate the build matrix from the variant files (#3870) 2024-05-12 22:43:47 +02:00
tlora_v2_1_16_tcxo
tlora_v2_1_18
tracker-t1000-e fix #4367 make USB power detection work correctly on seeed trackers (#4376) 2024-08-02 20:20:44 -05:00
trackerd Add trackerd to build. (#4347) 2024-07-31 05:58:41 -05:00
tracksenger Remove redundant defintions of ST7789_BACKLIGHT_EN 2024-08-22 10:40:12 -07:00
TWC_mesh_v4 fix include path 2024-05-16 17:03:04 +02:00
unphone Remove LED_INVERTED, see below for why ;-) (#4382) 2024-08-05 06:02:32 -05:00
wio-e5 Update variant.h (#4534) 2024-08-22 10:44:49 -05:00
wio-sdk-wm1110 Fixes for #4395: nrf52 flash filesystem reliability (#4406) 2024-08-13 06:45:39 -05:00
wio-t1000-s Support Seeed Tracker-T1000-E (#4303) 2024-07-24 21:10:38 -05:00
wio-tracker-wm1110 Make lora radio reset reliable on wio-tracker-1100 and lower lr11x0 power consumption in sleep (#4383) 2024-08-05 06:47:04 -05:00
wiphone wiphone isn't setting a valid backlight enable pin 2024-08-22 10:52:17 -07:00
xiao_ble Revert "Sync Wio lr1110 refresh with master (#4288)" 2024-07-22 15:30:36 +02:00