Meshtastic device firmware
Go to file
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
.github Poetry 2024-08-21 17:24:56 -05:00
.trunk Update trunk.yaml 2024-07-10 14:39:41 -05:00
.vscode tell vscode, if formatting, use whatever our trunk formatter wants (#4186) 2024-06-27 13:14:16 -05:00
arch Re-implement PKI from #1509 (#4379) 2024-08-13 18:43:19 -05:00
bin bin: remove unused imports from readprops.py (#3907) 2024-08-20 06:38:16 -05:00
boards Initial Support for Heltec VM-T190 (#4391) 2024-08-06 13:59:33 -05:00
data/static Bundle WebUI (#878) 2021-10-09 17:15:12 +11:00
extra_scripts Fixes for #4395: nrf52 flash filesystem reliability (#4406) 2024-08-13 06:45:39 -05:00
images remove hard to maintain system-info bootloader 2022-10-01 09:50:16 +02:00
monitor Fixes for #4395: nrf52 flash filesystem reliability (#4406) 2024-08-13 06:45:39 -05:00
protobufs@56a4355070 Add handling for sessionkey config (#4513) 2024-08-20 13:36:24 -05:00
release don't keep uf2 files in source control 2020-08-21 09:37:41 -07:00
src add lateInitVariant() as a concept. see below for docs 2024-08-28 11:25:54 -07:00
test/test_crypto Refactor platform cryptography, add tests 2024-08-13 18:43:19 -05:00
variants add lateInitVariant() as a concept. see below for docs 2024-08-28 11:25:54 -07:00
.gitattributes trunk roundhouse kick 2023-01-21 21:23:24 +01:00
.gitignore Native Webserver (#3343) 2024-03-06 16:23:04 -06:00
.gitmodules revert protobuf change to develop 2022-11-26 16:03:17 +01:00
.semgrepignore Fix de/compression buffer overflows in TAK packets (#4317) 2024-07-23 06:16:53 -05:00
docker-compose.yml trunk roundhouse kick 2023-01-21 21:23:24 +01:00
Dockerfile Fix that Dockerfile would not run with podman (#4262) 2024-07-13 06:09:51 -05:00
LICENSE move my bt experiment into its own repo (about to remove ttn) 2020-02-01 08:30:53 -08:00
partition-table.csv - new Bootloader for ESP-IDF 4.2 2022-09-26 22:42:58 +02:00
platformio.ini Initial support for RadioMaster Bandit. (#4523) 2024-08-28 11:25:54 -07:00
pyocd.yaml Add semihosting support for nrf52 devices (#4137) 2024-06-24 10:27:37 -05:00
README.md Update README.md 2023-10-09 22:30:02 +10:00
suppressions.txt Cpp-check warnings cleanup (#3014) 2023-12-14 07:35:46 -06:00
userPrefs.h Merge branch 'master' into 2.5-changes 2024-08-18 19:14:21 -05:00
version.properties Version 2.5 bump 2024-08-20 07:35:47 -05:00

Meshtastic Firmware

GitHub release downloads CI CLA assistant Fiscal Contributors Vercel

Overview

This repository contains the device firmware for the Meshtastic project.

Stats

Alt