Meshtastic Firmware
 
 
 
 
 
 
Go to file
Andrew Yong f8c3f43ea6
Fix xiao_ble variant build error due to undefined BATTERY_SENSE_RESOLUTION_BITS (#3732)
Define BATTERY_SENSE_RESOLUTION_BITS based on [amoroz's snippet on the Meshtastic forum](https://meshtastic.discourse.group/t/new-1w-diy-variant-xiao-nrf52840-ebyte-e22-900m30s/7904/10).

Fixes following build error:

```
src/Power.cpp: In member function 'virtual uint16_t AnalogBatteryLevel::getBattVoltage()':
src/Power.cpp:224:79: error: 'BATTERY_SENSE_RESOLUTION_BITS' was not declared in this scope
             scaled = operativeAdcMultiplier * ((1000 * AREF_VOLTAGE) / pow(2, BATTERY_SENSE_RESOLUTION_BITS)) * raw;
```

Signed-off-by: Andrew Yong <me@ndoo.sg>
2024-04-27 06:17:17 -05:00
.github add conffiles to .deb packaging (#3722) 2024-04-25 14:23:38 -05:00
.trunk Update trunk 2024-03-07 15:52:08 -06:00
.vscode Add multiple configuration options for a minimized build (GPS,WiFi,BT,MQTT,Screen). (#3469) 2024-03-25 06:33:57 -05:00
arch Move to lovyangfx develop for Native 2024-04-24 13:17:43 -05:00
bin Add SX1268 modules support for linux-native (#3702) 2024-04-24 08:41:01 -05:00
boards Add board and variant definitions for EBYTE_ESP32-S3 (#2882) 2024-04-21 08:40:23 -05:00
data/static
images
monitor add rudimentary exception decoder for RISC-V CPU 2023-03-05 14:55:12 +01:00
protobufs@86640f20db [create-pull-request] automated change (#3708) 2024-04-23 13:32:33 -05:00
release
src Prevent overflow when calculating timezones (#3730) 2024-04-26 20:43:09 -05:00
variants Fix xiao_ble variant build error due to undefined BATTERY_SENSE_RESOLUTION_BITS (#3732) 2024-04-27 06:17:17 -05: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 Ignore upstream defect 2022-11-20 16:14:32 +01:00
Dockerfile add trunk ignore for docker chmod (#3568) 2024-04-07 17:08:17 -05:00
LICENSE
README.md Update README.md 2023-10-09 22:30:02 +10:00
docker-compose.yml trunk roundhouse kick 2023-01-21 21:23:24 +01:00
partition-table.csv
platformio.ini New fixed copy-pasted more corrector hash 2024-04-12 11:49:35 -05:00
suppressions.txt Cpp-check warnings cleanup (#3014) 2023-12-14 07:35:46 -06:00
version.properties [create-pull-request] automated change 2024-04-25 20:19:54 +00:00

README.md

Meshtastic Firmware

GitHub release downloads CI CLA assistant Fiscal Contributors Vercel

Overview

This repository contains the device firmware for the Meshtastic project.

Stats

Alt