charminULTRA
44a906dd01
RAK14001 LED - Turn on to 50% at boot ( #2571 )
...
* Addition of RAK 14001 functionality to start and stay on for boot
* Fixing via Trunk
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-06-26 19:59:44 -05:00
Ben Meadors
f71869215d
Set pin for RAK-12039 to allow I2C auto-detect ( #2555 )
...
* SET pin for RAK-12039 and put back macaddr for now
* Guard against epaper RAK variant
* Update main.cpp
* Add these back
2023-06-09 05:58:58 -05:00
Ben Meadors
81f80546b4
Remove deprecated MyNodeInfo fields ( #2552 )
...
* Skadoosh
* Removing deprecated fields
* Remove remaining deprecations
* Macro
* Macro
2023-06-08 08:07:32 -05:00
Ben Meadors
a491ceefcd
Wio-e5 wip ( #2265 )
...
* Wio-e5 / STM32WL wip
* Stubbing some FS stuff out
* Wio-e5 / STM32WL wip
* Stubbing some FS stuff out
* Wio-e5 / STM32WL wip
* Stubbing some FS stuff out
* Wio-e5 / STM32WL wip
* Stubbing some FS stuff out
* LittleFS compiles. Can't check with actual device.
* make cppcheck happy again
* Guard against accelerometer thread
* Missed a spot
* Upload via ST-LINK
* Derive MAC address from UID
* upload port
* Trunk it
* Guard it
* Maybe fix the cache error on startup.
* Latest RadioLib ref to fix SubGHZ
* revert nasty Sub-GHz Hack
* Boots and radio inits with RadioLib 6.0, LittleFS doesn't seem to work
---------
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
Co-authored-by: GUVWAF <thijs@havinga.eu>
2023-06-01 07:14:55 -05:00
Thomas Göttgens
1dfa8f2d9e
RAK11310 ( #2299 )
...
* POC. Board definition JSON upcoming. Generic for now
* side-effect: RP2040 is building again.
* WIP Pico Targets
* current state of affairs
* ahem
* POC. Board definition JSON upcoming. Generic for now
* side-effect: RP2040 is building again.
* WIP Pico Targets
* current state of affairs
* ahem
* fmt
* update toolkit and fmt
* Add built in LED pin
* Use arduino pins
* init SPI bus on right pins.
* Use SPI1 and control chip select manually
* Use macro define for SPI selection. This needs to be defined in the ini file since portduino needs it inside the framework source
* Remove manual CS; works when not using setCS()
* Remove whoopsie debug line
* we are not ARDUINO_AVR_NANO_EVERY any more
* fix rp2040 compilation
* fix RadioLibHAL
* Use new arduino-pico core
* Use cortex-m0plus for BSEC2 library
* Forgot RAK11310 target for BSEC2 library
* That branch was merged
* RAK11310 is working too
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: GUVWAF <thijs@havinga.eu>
2023-05-23 16:19:36 -05:00
Ben Meadors
1b68408f2f
Remote hardware overhaul ( #2495 )
...
* Update protos
* WIP
* Param
* Has remote hardware
* Protos
* Initializer
* Added new admin message for node remote hardware pins
* Badunkatrunk
* Init and memcpy
2023-05-22 07:00:20 -05:00
IhorNehrutsa
9c683f4c87
Fix LOG_DEBUG messages when no DEBUG_PORT. ( #2485 )
...
* Fix LOG_DEBUG messages when no DEBUG_PORT.
* Fix LOG_DEBUG messages when no DEBUG_PORT.
* Fix LOG_DEBUG messages when no DEBUG_PORT.
* Fix LOG_DEBUG messages when no DEBUG_PORT.
2023-05-13 05:33:14 -05:00
Thomas Göttgens
1d90096cba
rearrange pio build system dependencies
...
also update trunk
2023-05-08 14:40:10 +02:00
Thomas Göttgens
c1a1b450e3
RadioLib6 support
2023-05-08 14:40:10 +02:00
Ben Meadors
09d48f659e
RAK14001 RGB LED support ( #2464 )
...
* WIP
* WIP
* Moved it
* More random strobey behavior
* Guard to RAK4630 devices for now
* Oops
* Ship it
2023-05-06 07:17:40 -05:00
Thomas Göttgens
313860c8a4
fix #2460 - we only really need the router object after nodedb init, so lets move it there.
2023-05-04 11:06:49 +02:00
Thomas Göttgens
e0bb95ca94
implement dynamic userbutton overwrite. fix #2434
2023-04-21 16:50:22 +02:00
Thomas Göttgens
5d41e9fe9d
don't grow nodedb if memory is tight.
...
also remove unconditional reboot on low heap. This is counter productive with this change
2023-04-13 23:09:02 +02:00
Thomas Göttgens
39d8ae64e7
Merge branch 'master' into 2264-feature-check-for-low-heap-before-adding-to-nodedb-was-reboot-loop-heap-too-low
2023-03-30 11:10:18 +02:00
Ben Meadors
5679a82195
Support double tap as button press for supported accelerometers ( #2393 )
...
* For Garth
* Push it real good
* Wut
* Double tap
* Move disable logic
* Actually return
* Reinitialize setClick in thread body
* Initialize later so that we actually have nodedb on init
* Fixes
2023-03-29 13:04:02 -05:00
Thomas Göttgens
6e685b0a54
Merge branch 'master' into 2264-feature-check-for-low-heap-before-adding-to-nodedb-was-reboot-loop-heap-too-low
2023-03-27 15:31:32 +02:00
Ben Meadors
5cb1f96240
Use accelerometer to wake up screen ( #2371 )
...
* WIP accelerometer tinkering
* Debug logging
* RAK LIS3DH sensor
* Deconflict temperature sensor and LIS3DH
* Finishing up
* StateON
* Protobufs
* Default of none
* Formatting
2023-03-23 11:32:04 -05:00
Thomas Göttgens
033e988e6f
Merge branch 'master' into 2264-feature-check-for-low-heap-before-adding-to-nodedb-was-reboot-loop-heap-too-low
2023-03-10 19:38:14 +01:00
A. Rager
e6d69e2b67
Refactor i2cScan.h To Handle 2 Bus ( #2337 )
...
* Break i2cScan out into a set of classes for scanning i2c
* refactor i2cscan addresses to be structs that allow addressing by port + address
* build whoopsies
* trunk fmt
* trunk fmt
* lost some build fixes from the merge
* more cleaning for build safety, RTC behavior
2023-03-08 21:13:46 -06:00
Thomas Göttgens
267db05d69
- G1 Explorer use correct display controller
...
- adhere UA font in modules
2023-03-08 17:12:25 +01:00
Thomas Göttgens
a47364f07b
Merge branch 'master' into 2264-feature-check-for-low-heap-before-adding-to-nodedb-was-reboot-loop-heap-too-low
2023-03-04 17:24:16 +01:00
Manuel
9008c75517
Fixed: Tlora-t3s3-v1 SX1262 firmware reboots continuously ( #2308 ) ( #2315 )
2023-02-28 07:45:10 -06:00
GUVWAF
83a201fe86
Use LORA_DIO1 as RadioLib GPIO for SX127x chips ( #2290 )
...
* When channel is active, first try receiving that packet
Afterwards we'll try transmitting again
* Remove setStandby in startSend
Already done in isChannelActive()
* Set LORA_DIO1 as RadioLib GPIO for SX127x
* LORA_DIO1 for Heltec v1, overlaps with GPS_TX
Set to RADIOLIB_NC for now
* If receive was not successful, startReceive doesn't trigger the interrupt
So we have to go back to transmitting anyway
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-02-22 10:07:03 +01:00
GUVWAF
95bbcd2cb7
Use LORA_DIO1 as RadioLib GPIO for SX127x chips ( #2290 )
...
* When channel is active, first try receiving that packet
Afterwards we'll try transmitting again
* Remove setStandby in startSend
Already done in isChannelActive()
* Set LORA_DIO1 as RadioLib GPIO for SX127x
* LORA_DIO1 for Heltec v1, overlaps with GPS_TX
Set to RADIOLIB_NC for now
* If receive was not successful, startReceive doesn't trigger the interrupt
So we have to go back to transmitting anyway
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-02-20 07:40:44 -06:00
Thomas Göttgens
181832aedd
Merge pull request #2282 from meshtastic/master
...
Catch up
2023-02-17 12:32:33 +01:00
Thomas Göttgens
4967a16abe
- Abstract the memory stats into its own class.
...
- Fix a bug with debug mqtt
- nrf52 needs more love, there's a strange error while linking. Help appreciated
2023-02-17 12:31:51 +01:00
Ben Meadors
2e6e0644d4
Move it around and kill old device metadata gen
2023-02-16 12:18:27 -06:00
GUVWAF
a280d7f796
Guard simulator handling with HAS_RADIO flag
2023-02-11 10:00:19 +01:00
Ben Meadors
d83a0b1818
Initial air quality telemetry feature
2023-02-04 13:07:14 -06:00
Ben Meadors
d9031610ab
Connection status admin message
2023-02-03 08:50:10 -06:00
Ben Meadors
db192481bd
Swap out reliable router with flood router and dump modules
2023-01-28 08:03:32 -06:00
Thomas Göttgens
61028293b8
move temporary reboot code to blink thread
2023-01-27 14:46:53 +01:00
Thomas Göttgens
a421edce49
Merge branch 'master' into stm32wl-wip
2023-01-21 21:55:09 +01:00
Thomas Göttgens
cdf379616c
whatever makes trunk happy.
2023-01-21 21:23:24 +01:00
Thomas Göttgens
6fdb93cd16
re-add namespacing in protobufs. Let's see what i missed. Portduino likely ...
...
Checking in generated on purpose.
2023-01-21 21:23:24 +01:00
Thomas Göttgens
cbd6a0065b
trunk format
2023-01-20 15:04:09 +01:00
Thomas Göttgens
50f72b0ea0
add the possibility to #define USE_SH1107 to fix boards to this display.
2023-01-20 15:04:09 +01:00
Ben Meadors
9d47f7a531
Format
2023-01-18 20:03:10 -06:00
Ben Meadors
412fbea978
WIP
2023-01-18 19:24:18 -06:00
Thomas Göttgens
aca1241a7f
Having a first stab at flawfinder errors
2023-01-16 10:55:40 +01:00
Ben Meadors
713f7d5996
Turn of 3.3v rail on RAK-4631 on shutdown
2023-01-10 07:36:19 -06:00
Thomas Göttgens
5fd00b2538
- make a template class for API Server
...
- Skip a lot of duplicate code
- add a hexDump output - might come in handy
- refactor directory names
- remove unused debugOut that was generating template errors
2023-01-09 17:03:52 +01:00
Ben Meadors
f1cdfd163d
Replaced all of the logging with proper log levels
2022-12-30 10:27:07 -06:00
Ben Meadors
0b5cae5393
Log levels refactoring
2022-12-29 20:41:37 -06:00
Thomas Göttgens
430908f5d6
TLORA_T3_S3
2022-12-28 13:56:56 +01:00
Thomas Göttgens
f3c5a01daf
remove a few DSR Router bits for S&F Module
2022-11-28 21:58:30 +01:00
Thomas Göttgens
c7681cb24d
update board definition, update copy/paste errors, fix SX1280.
2022-11-27 14:03:50 +01:00
Ihor Nehrutsa
6507683909
Squashed commit of the following:
...
commit c8d1bcf04fae5f7ac5b639ddd15a738045014c95
Author: Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com>
Date: Fri Nov 25 15:11:18 2022 +0200
Revert "variants\tbeam\variant.h: Use LORA_CS instead of RF95_NSS"
This reverts commit 8d225ced9c
.
commit 1c37097448393ea9364c2b9bf10522802c61d5c4
Author: Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com>
Date: Fri Nov 25 15:04:09 2022 +0200
Some little debugs added
commit f1b55e11af
Author: Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com>
Date: Wed Nov 23 15:24:58 2022 +0200
Update variant.h
commit 8d225ced9c
Author: Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com>
Date: Wed Nov 23 13:06:49 2022 +0200
variants\tbeam\variant.h: Use LORA_CS instead of RF95_NSS
2022-11-25 15:17:24 +02:00
Thomas Göttgens
401b92bdbb
reverted too much
2022-11-13 15:28:43 +01:00
Thomas Göttgens
6a696af8f6
Revert "remember which devices were scanned on which bus and set them accordingly." - this is not working at all.
2022-11-13 14:56:52 +01:00
Thomas Göttgens
037d6c253b
fix portduino
2022-11-13 11:58:02 +01:00
Thomas Göttgens
861ded37db
remember which devices were scanned on which bus and set them accordingly.
2022-11-12 17:12:40 +01:00
Thomas Göttgens
7a67388a97
Merge branch 'master' of github.com:meshtastic/firmware into develop
2022-11-12 14:34:51 +01:00
lewis
60fdf9fcb2
Place PMU initialization before scanI2Cdevice
2022-11-12 20:09:25 +08:00
Thomas Göttgens
65197a8e48
- Add new Compass Sensor
...
- speed up I2C Scanning
- make adding sensors less error prone
2022-11-12 11:03:29 +01:00
lewishe
43f769ebac
Resolve compilation conflicts
2022-11-12 16:01:30 +08:00
lewishe
dff6eeb90e
Merge branch 'master' of https://github.com/lewisxhe/Meshtastic-device
2022-11-12 15:16:54 +08:00
lewishe
61ebdb3367
Add SD card initialization
2022-11-12 15:14:13 +08:00
lewishe
cd95d0865f
Repair the sharing of Wire1 between RTC and PMU in tbeams3
2022-11-12 15:12:53 +08:00
lewis he
888a8d05c4
Merge branch 'meshtastic:master' into master
2022-11-12 09:56:18 +08:00
Thomas Göttgens
74f31d7d68
Fix SX1280 init
2022-11-10 23:00:01 +01:00
Thomas Göttgens
09cdc20440
manual merge of changes from Master
2022-11-04 19:56:44 +01:00
Thomas Göttgens
4ccb4393c5
Fix MQTT on ETH
2022-11-04 19:44:45 +01:00
Thomas Göttgens
acfa186d44
Override Screen Autodtect
2022-11-03 22:44:22 +01:00
Thomas Göttgens
3e82cd7dd4
Support for TLORA 2.1-1.8
2022-11-02 18:19:09 +01:00
Thomas Göttgens
12df55c3d4
Support for TLORA 2.1-1.8
2022-11-02 13:12:15 +01:00
Thomas Göttgens
d7c98062ce
Merge remote-tracking branch 'remotes/origin/master' into remove-softap
2022-10-26 17:54:21 +02:00
Thomas Göttgens
b7ebe03ca8
API Server and DHCP Lease Management
2022-10-26 11:09:59 +02:00
Thomas Göttgens
a66538fe55
MQTT is working over ethernet
2022-10-26 00:07:02 +02:00
Thomas Göttgens
338c9c1e0c
Remove Captive Portal and SoftAP Mode
2022-10-25 11:53:22 +02:00
Thomas Göttgens
aab52f1e8d
Merge branch 'master' of github.com:meshtastic/Meshtastic-device
2022-10-23 16:41:04 +02:00
Mykhailo Lesyk
41267a42f7
[rak4630] enable 3.3v periphery before scan for i2c devices ( #1847 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-10-22 19:55:34 -05:00
Thomas Göttgens
1e97dcbb4c
Portduino is always special.
2022-10-22 16:53:57 +02:00
Thomas Göttgens
f3fee5f4fb
first murmurs of ethernet support
2022-10-22 16:29:50 +02:00
lewis he
da2279c295
Merge branch 'meshtastic:master' into master
2022-10-22 18:22:12 +08:00
Thomas Göttgens
5f4b93aba2
portduino cannot use this chip yet as it uses an old modified version of radiolib
2022-10-17 10:31:29 +02:00
Thomas Göttgens
31c2c8a7a3
only allow wide BW settings when the right chip is detected
2022-10-17 10:00:00 +02:00
Thomas Göttgens
f6119639bb
Add support for SX1281 on 2.4 GHz
2022-10-16 19:07:58 +02:00
Thomas Göttgens
a7e0127793
scan i2c twice for all devices, not just tbeam
2022-10-13 23:46:25 +02:00
Thomas Göttgens
b5fb0f60b0
don't compile on Portduino
2022-10-13 13:01:24 +02:00
Thomas Göttgens
a7fe69ed6b
Support for ATECCA608B Cryptographic Coprocessor
2022-10-13 12:55:28 +02:00
lewishe
13e635b74e
Add judgment on t-beam-s3-core to scanI2Cdevice in main.cpp
2022-10-10 11:50:18 +08:00
Thomas Göttgens
b2d753ed86
move and repeat i2c scan to fix BLE PIN
2022-10-08 17:36:39 +02:00
Ben Meadors
bf4115a80f
Telemetry sensors re-map ( #1765 )
...
* Add factory erase uf2 to the release assets
* Sensors map
* Uncomment sensors
2022-10-07 08:33:07 -05: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
Thomas Göttgens
f7331a2e41
fix #1713
...
stop output to serial debug after config has been loaded (if serial is disabled), and only accept protobuf packets from that point on.
2022-10-05 10:33:39 +02:00
Thomas Göttgens
3597685b23
Only save the changed parts of config to disk.
2022-10-04 14:32:07 +02:00
GUVWAF
b53dcb932e
Adapt conditional include
2022-10-01 17:01:25 +02:00
GUVWAF
68282682de
Use new SimRadio in main for Portduino
2022-10-01 12:03:35 +02:00
GUVWAF
2696b04138
Allow Portduino to set the TCP port
2022-10-01 12:02:29 +02:00
Thomas Göttgens
ab342ce904
Freetext Input with CardKB Take 1 - Also removes FacesKB support, this thing is ancient.
2022-09-20 13:50:18 +02:00
Sacha Weatherstone
60b4dbfdcd
More default inits. ( #1689 )
...
* More default inits.
* update protobufs
* Try checking has_device first
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-09-11 08:36:47 -05:00
Ben Meadors
f98e96cf1b
Slots for upcoming telemetry sensor support
2022-09-10 17:28:01 -05: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
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
Ben Meadors
b54073a8a1
Bluetooth mode unification and behavior tweaks ( #1636 )
...
* Esp32 bluetooth modes
* Comment
* Gutting bluetooth
* Cleanup
* Security
* Testing
* NRF bluetooth security
* Reboot on saved lora or bluetooth settings
* Cleanup
* Fixes
* Stub for platforms without screens
* Fixed just-works in esp32
* Cleanup
* Display device name in boot screen
* Added waypoint module routing
* chmod
* Words
* Protos
* Backing out partition changes for testing
* Revert "Backing out partition changes for testing"
This reverts commit 191ed6489c
.
* Chmod PR artifacts
* Trying setInitialState again
* Revert "Trying setInitialState again"
This reverts commit 703eac7277
.
* External notification module
* Cleanup
* Pin display formatting
2022-08-22 16:41:23 -05:00
Thomas Göttgens
5e842dd735
Put a bit of order in the src directory, group and name things appropriately
2022-08-10 11:31:29 +02:00