Vladislav Osmanov
6bf538e26f
EXT_PWR_DETECT
pin to detect external power source for boards without the power management chip
2023-04-02 11:35:25 +02:00
lewishe
eda00b7b9c
Change to Variation Macro Definition
2023-03-27 11:27:57 +02:00
Thomas Göttgens
1898fe850e
trunk format
2023-03-27 11:27:57 +02:00
lewishe
15dbe5da97
Added t-beam v1.2 support
2023-03-27 11:27:57 +02:00
Thomas Göttgens
0d001423c8
woops
2023-03-12 20:20:55 +01:00
Thomas Göttgens
a83d5ada86
- implement shutdown (deep sleep forever) on ESP32
...
- Clean up shutdown and delayed shutdown code conditionals.
- clean up inputbroker includes
2023-03-12 20:20:55 +01:00
Thomas Göttgens
d97a09ba1f
add DEBUG_HEAP_MQTT flag to send stats info to mqtt. Used to graph these values over time. Turned off for regular builds
2023-02-04 14:56:04 +01:00
Thomas Göttgens
51b2c431d9
trunk roundhouse kick
2023-01-21 21:23:24 +01:00
Thomas Göttgens
8a9af37d82
Merge branch 'develop' into nice-threads
2022-12-30 20:18:19 +01:00
Ben Meadors
f1cdfd163d
Replaced all of the logging with proper log levels
2022-12-30 10:27:07 -06:00
Thomas Göttgens
8364c2b147
more verbose thread debug
2022-12-30 17:03:48 +01:00
Ben Meadors
0b5cae5393
Log levels refactoring
2022-12-29 20:41:37 -06:00
Thomas Göttgens
d566457f0c
Merge remote-tracking branch 'remotes/origin/master' into develop
2022-12-18 14:07:20 +01:00
Thomas Göttgens
bbaeeb7ce9
fixing portduino is getting old ...
2022-12-16 20:46:43 +01:00
Thomas Göttgens
270746e303
Heap Debug: only show if delta occurs
2022-12-16 20:25:51 +01:00
Dmitry Galenko
aa19718ba4
Change condition for low-voltage killswitch
2022-12-14 17:26:55 +01:00
Dmitry Galenko
d1cc503ca8
Disable shutdown for non ESP32 boards
2022-12-14 14:36:15 +01:00
Thomas Göttgens
d3b3a4c148
fix build error
2022-12-14 10:29:45 +01:00
Dmitry Galenko
46f1cee2a8
Fix missed braces and etc
2022-12-14 10:21:11 +01:00
Dmitry Galenko
92fd5511ec
Disable nRF sleep on discharge
2022-12-14 09:36:25 +01:00
Thomas Göttgens
06d34daeab
Merge branch 'master' into power-fsm-experiment
2022-12-08 10:18:01 +01:00
Thomas Göttgens
a00187b97f
manual master merge
2022-12-06 16:56:38 +01:00
lewishe
63d7338311
fix tbeams3-core PMU charging cut-off voltage
2022-12-06 11:01:14 +08:00
Thomas Göttgens
2a84d39e40
Always do battery resampling if we use the ADC. Improves reading a lot.
2022-12-05 16:40:23 +01:00
Thomas Göttgens
eb4f682ad1
debug print thread count. max_threads is 32
2022-12-02 12:20:21 +01:00
Thomas Göttgens
72e17b558c
add temp code for heap debugging. Disable -DDEBUG_HEAP for release builds.
...
DEBUG_MSG output only for now.
2022-11-30 09:52:28 +01:00
Ben Meadors
afafb3ba32
Fixing a number of T-Beam poweroff display issues ( #1876 )
2022-10-30 20:40:30 -05:00
timo
6146b773cf
Better #define guard for PIN_EINK_EN
2022-10-27 17:59:53 -07:00
Tim O'Brien
154b7d256c
Powers off eink backlights before shutdown
...
- t-echo boards in particular need this
- follows the existing defines structure
2022-10-27 11:03:27 -07:00
lewis he
004f6fa4d6
Add t-beam-s3-core onboard device support. ( #1764 )
...
* Change t-beam-s3-core pins definitions
* Add t-beam-s3-core power initialization to properly initialize the I2C device
* Add 6-axis and 3-axis sensor detection
2022-10-07 06:57:55 -05:00
Neil Hao
ab4b3a50ee
'battery_gauge_fix' ( #1731 )
2022-09-28 15:53:26 -05:00
lewis he
9481461145
Add GNSS model recognition functio ( #1696 )
...
* Add GNSS model recognition function
* Fix GNSS initialization failure
* GPS.cpp difference between runOnce and ESP32S3 and ESP32 versions
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-09-15 13:43:04 -05:00
Thomas Göttgens
ff88900982
wrong name for constant in merge
2022-09-09 21:49:54 +02:00
Thomas Göttgens
7f293bfda3
Merge branch 'master' into master
2022-09-09 21:39:29 +02:00
Thomas Göttgens
f7b12f0695
Adapt to new protobufs - TODO: factory_reset rewire
2022-09-09 12:51:41 +02:00
lewishe
7d0e16d1b6
Add some explanations about PMU and prevent null pointer judgment
2022-09-08 10:45:12 +08:00
lewishe
35c77ef99c
Simplify HAS_PMU macro definition
2022-09-08 10:36:53 +08:00
lewishe
9244d03cf9
Rename axp192_found to pmu_found to avoid confusion
2022-09-08 10:32:12 +08:00
lewishe
5621719eef
Add tbeam esp32s3 version support, replace AXP202X_Library with XPowersLIb
2022-09-06 15:58:33 +08:00
neil
90d3cc2ff8
'Station-g1-patch1'
2022-08-10 19:26:43 +08:00
Thomas Göttgens
6382f67b89
Replace TBEAM_V10 macro guards with more appropriate HAS_AXP192. Also eliminates symbol redefinition of AXP192_SLAVE_ADDRESS
2022-08-08 16:13:38 +02:00
majbthrd
ade32b1827
lay groundwork for a possible future architecture ( #1571 )
...
* lay groundwork for a possible future architecture
* switch from feature opt-out to feature opt-in
* lay groundwork for a possible future architecture
* switch from feature opt-out to feature opt-in
* fix USE_RTC in variant.h for rak4631_epaper and t-echo
* ensure Screen.h is not included without configuration.h
Co-authored-by: Peter Lawrence <12226419+majbthrd@users.noreply.github.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-07-31 07:11:47 -05:00
neilhao
f0518bc99a
'BATTERY_SENSE_SAMPLES' ( #1577 )
2022-07-30 07:12:28 -05:00
Thomas Göttgens
c831242f25
fix nrf build
2022-06-06 19:14:30 +02:00
Thomas Göttgens
ebf132ad21
Bug-1493
2022-06-06 18:48:22 +02:00
Thomas Göttgens
5e8d49d24b
missed one
2022-05-21 22:51:34 +02:00
Thomas Göttgens
53e9f4df46
Segemented config works for me (TM)
...
Small GPS Fix that cropped up while testing included.
2022-05-21 22:38:33 +02:00
Sacha Weatherstone
0ec6771cf7
Fix build when BATTERY_PIN is set
2022-05-07 20:47:52 +10:00
Sacha Weatherstone
6b0ce6b729
Finish config transition
2022-05-07 20:31:21 +10:00
Ben Meadors
cf64da21fb
Move adc multiplier code into battery pin region to surpress warning
2022-05-01 14:21:30 -05:00