Jm Casler
6d178ebc91
Added esp32_https_server to the meshtastic project
2020-10-07 22:18:46 -07:00
Kevin Hester
bdcd5c3981
allow reporting # sats before we ahve a fix
2020-10-08 06:22:25 +08:00
Kevin Hester
fc82e872d6
don't require gps to have lock before we'll trust GPS time
2020-10-08 05:23:52 +08:00
Kevin Hester
7a5832ab8a
SX1262: fix serious bug with detecting if we have a rx packet in progress
...
Could cause hangs on the way into sleep (and enormous power consumption).
Instead of checking for rx packet length (which only changes at completion)
check if we've received preamble bits but haven't yet received a completed
packet interrupt.
notes:
wait to sleep loop problem
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
Can not send yet, busyRx
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
vs normal run
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
Starting low level send (id=0x53fe1dd0 Fr0xe5 To0xff, WantAck0, HopLim3 encrypted)
Completed sending (id=0x53fe1dd0 Fr0xe5 To0xff, WantAck0, HopLim3 encrypted)
2020-10-07 13:43:51 +08:00
Kevin Hester
f6861a8fe2
bug #376 wip - we now minimize comms to gps to save power
2020-10-06 06:07:30 +08:00
BeardyWalrus
4d7cd0a09d
conditional on needing ESP32 bluetooth header loaded
2020-10-03 17:23:36 -04:00
geeksville
1907873831
gps wip for #376
2020-10-01 10:04:04 -07:00
Jm Casler
848760e5bf
Set device hostname with hardwire ID #445
2020-09-27 00:55:41 -07:00
Kevin Hester
04c54840f4
Merge branch 'master' into eink
2020-09-26 12:58:13 -07:00
geeksville
db33200468
remove more stale eink code
2020-09-26 12:51:05 -07:00
geeksville
d88d2780f4
eink display now kinda works
2020-09-26 09:40:48 -07:00
geeksville
86d6f88787
Merge remote-tracking branch 'root/master' into eink
2020-09-24 15:13:08 -07:00
geeksville
5fbeaee0b0
eink kinda builds
2020-09-24 14:36:43 -07:00
geeksville
d3c00584a2
oops - the NRF52 build rules are suppose to inherit from arduino_base.
2020-09-24 10:36:37 -07:00
geeksville
9c0a0ad220
Add stubs so that portduino can build with wifi. cc @mc-hamster
2020-09-23 17:22:17 -07:00
Jm Casler
b39f6c96bd
Merge remote-tracking branch 'origin/dev-wifi'
2020-09-22 22:00:07 -07:00
geeksville
6e5e5822aa
Make wifi optional and exclude from nrf52 builds
2020-09-18 10:48:39 -07:00
geeksville
3541228c1f
update to my latest radiolib
2020-09-17 11:41:34 -07:00
geeksville
92df77f228
Merge remote-tracking branch 'root/master' into dev
2020-09-11 18:15:13 -07:00
geeksville
de7b9877f9
remove auto-inserted whitespace that might confuse platformio
2020-09-10 09:51:53 -07:00
geeksville
076f8bd77b
fix #370 by pulling in my bugfix to ESP32-Nimble
2020-09-09 14:15:43 -07:00
geeksville
46ba36511a
Merge branch 'portduino' into dev
...
# Conflicts:
# platformio.ini
2020-09-07 16:31:17 -07:00
geeksville
8df5ac9d3f
pull in my fixed nrf52 platform
2020-09-07 15:22:00 -07:00
geeksville
f3d38d84c9
fix nrf52 build
2020-09-07 13:03:37 -07:00
geeksville
2a067e7f6b
make gps optional. Portduino almost works in sim!
2020-09-06 14:45:43 -07:00
geeksville
97ab07e05c
WIP
2020-09-06 10:09:40 -07:00
geeksville
fefd3d78f3
Portduino WIP now compiles but does not link
2020-09-05 12:34:48 -07:00
geeksville
6a475d8288
WIP
2020-09-04 17:23:17 -07:00
geeksville
c629b94333
portduino WIP
2020-09-04 15:03:22 -07:00
geeksville
f1ca1ee3c0
okay basic support for @bigcorvus board is done
2020-08-29 12:46:42 -07:00
geeksville
dffb6c2f06
If display is on on the @BigCorvus board and we xmit the board browns out?
2020-08-28 17:38:23 -07:00
geeksville
338445d175
basic init of the Corvus TFT display works
2020-08-28 14:24:22 -07:00
geeksville
b66856c53f
default back to tbeam
2020-08-17 14:01:53 -07:00
geeksville
d91ab5480f
begin support for TFT displays
2020-08-17 13:47:05 -07:00
geeksville
c0307cbcb0
a cleaner way to add variants - no longer need symlinks in adafruit proj
2020-08-17 10:23:21 -07:00
geeksville
6b568ab2fb
add powerhold for @bigcorvus board
2020-08-16 14:50:04 -07:00
geeksville
559a790286
Add @BigCorvus board support to build
2020-08-16 14:08:31 -07:00
geeksville
8c7aa07c70
Only do AXP debugging on ESP32 targets
2020-08-12 17:10:59 -07:00
geeksville
6a402b13fa
Add battery sensing (mostly) for TBEAM0.7
...
However, disabled until someone with suitable hardware can test and report
back.
@slavino and @tschundler would you be willing to try it with your boards?
You'll need to uncomment the following line in configuration.h
// #define BATTERY_PIN 35 // A battery voltage measurement pin, voltage divider connected here to measure battery voltage
2020-08-12 17:03:36 -07:00
geeksville
829763af2c
remove stale comment
2020-07-30 09:35:07 -07:00
geeksville
5bab16636d
Switch to NimBLE from Bluedroid
...
Meshtastic patched version esp-idf commit #e7f316d5a4eb64ca52d40575cb20815d456a9c4f
used.
In support of: https://github.com/meshtastic/Meshtastic-device/issues/266
2020-07-24 12:39:35 -07:00
geeksville
204f2c1a68
software update service now registered with NimBLE
2020-07-24 11:39:48 -07:00
geeksville
531f488fe8
WIP nimble ugly but advertise works
2020-07-22 10:46:01 -07:00
geeksville
7f6dc104f0
nimble WIP - add advertising boilerplate
2020-07-22 09:51:57 -07:00
geeksville
102085808f
WIP nimble now builds
2020-07-21 12:42:24 -07:00
geeksville
2645730329
Merge branch 'post1' into nimble
...
# Conflicts:
# docs/software/TODO.md
# docs/software/nrf52-TODO.md
# platformio.ini
# src/esp32/MeshBluetoothService.cpp
2020-07-21 11:20:09 -07:00
geeksville
6aa28f55dd
WIP stubify to get app building without CONFIG_BLUEDROID (BLE disabled)
2020-07-21 11:16:14 -07:00
geeksville
20ac8d71fd
make PSRAM optional - new flag in ESPIDF - fix #293
2020-07-18 16:26:43 -07:00
geeksville
ece75d1d7f
make PSRAM optional - new flag in ESPIDF - fix #293
2020-07-18 16:25:53 -07:00
geeksville
9e10ce487c
Merge branch 'master' into post1
2020-07-18 13:32:30 -07:00
geeksville
08c77caaa9
fix #266 ble forced to re-pair details below
...
The NVS copies of hte BLE pairing info for clients were getting corrupted
occasionally. So I went googling and found some plausible bug reports
but nothing that was an exact match. Then I looked at the arduino-esp32
binaries for the ESP-IDF framework. They were fairly old (Jan 20).
Looking through the commits on ESP-IDF release3.3 it seems like there have
been a few fixes for mutual exclusion errors wrt bluetooth. So I punted
and tried updating ESP-IDF to latest and everything seems fairly solid
now. Currently running a long test run with three nodes.
2020-07-18 08:54:52 -07:00
geeksville
859642d2e4
Merge remote-tracking branch 'root/master' into post1
...
# Conflicts:
# src/configuration.h
2020-07-17 12:06:57 -07:00
geeksville
e433249bb1
Default back to tbeam in builds, so it will work for others
2020-07-17 11:14:18 -07:00
Marlon Spangenberg
44749470a4
fix #272 add support for tlora-v2-1-1.6
2020-07-14 16:16:49 +02:00
geeksville
6fbf6b2986
RAK815 WIP - use 115200 for serial to USB on this board, best it can do
2020-07-10 13:24:00 -07:00
geeksville
feb9992d7d
on rak815 use serial port for console
2020-07-10 13:11:29 -07:00
geeksville
cc35ed7782
update build instructions for RAK815
2020-07-10 12:12:03 -07:00
geeksville
0c04ba4776
use my fixed nrf52832 support in arduino
2020-07-10 11:28:18 -07:00
geeksville
b00a936f41
WIP RAK815 support
2020-07-10 11:02:29 -07:00
geeksville
80b14c0a6f
add support for adafruit feather nrf52832 - which is close to a RAK815
2020-07-09 21:27:34 -07:00
geeksville
6954d0d5f4
Checkout submodules for CI build
2020-07-09 20:31:16 -07:00
geeksville
7e53731fe6
Use our custom variants files and fixes
2020-07-09 20:22:40 -07:00
geeksville
311d1a56b4
make a bare nrf52840dk build which will work for everyone
2020-07-09 20:05:39 -07:00
geeksville
ed589727d6
Update NRF52 build to work again
2020-07-09 19:57:55 -07:00
geeksville
09f4943869
Merge remote-tracking branch 'root/master' into dev
2020-07-05 12:10:25 -07:00
geeksville
7bd4940ed8
fix #254
2020-07-05 12:04:15 -07:00
Slavomir Hustaty
8d122f36e3
Update platformio.ini
...
https://github.com/meshtastic/Meshtastic-device/issues/243#issuecomment-653361142
2020-07-03 07:44:14 +02:00
geeksville
a7456a1126
all targets are arduino - for now
2020-07-01 10:08:09 -07:00
Professr
6a09ddef18
Resolved merge conflict
2020-06-22 12:25:59 -07:00
geeksville
c1865f127c
make sure people who are not just me, get the fixed arduino-esp32
2020-06-22 11:17:08 -07:00
Professr
cfcaf28ace
Switched user button to OneButton, added alt button GPIO for #162
2020-06-22 11:09:26 -07:00
geeksville
8190098bb8
experiment with wifi connections for nodes
2020-06-21 14:11:38 -07:00
geeksville
60b38215ce
fix docs per @feh123
2020-06-20 09:58:45 -07:00
geeksville
154114e900
merge cubecell experiments back into master (might delete later)
2020-06-17 11:35:21 -07:00
geeksville
a47524b762
cubecell wip
2020-06-16 17:13:26 -07:00
geeksville
fd2f5a5ba4
Merge branch 'dev' into cubecell
2020-06-16 16:18:30 -07:00
geeksville
e66b2234f6
Experiment with small ram NRF52s
2020-06-16 15:27:08 -07:00
geeksville
9ad14ad98b
Cleanup to merge NR52 support back into mainline
2020-06-15 14:47:14 -07:00
geeksville
362d5452d5
remove unused chip
2020-06-15 13:31:53 -07:00
geeksville
92e5a15399
Merge branch 'master' into cubecell
2020-06-15 12:42:01 -07:00
geeksville
114e0c4ada
Merge branch 'master' into bringup
2020-06-15 12:41:22 -07:00
geeksville
47e614c7d6
fix #172
...
We need our own branch because we need this fix and associated pullrequest
https://github.com/espressif/arduino-esp32/pull/4085
2020-06-13 08:26:48 -07:00
geeksville
1c63a70673
cubecell WIP
2020-06-05 17:30:09 -07:00
geeksville
4db176867b
WIP - bringup on PPR
2020-06-05 11:00:58 -07:00
geeksville
8031c47602
put nrf52 on back burner for a couple of days
2020-06-03 12:55:55 -07:00
geeksville
6a3033fa85
improve NRF52 debugging environment
2020-05-26 15:55:36 -07:00
geeksville
a96c8fd4db
nrf52 debugging is supported as long as BLE is not advertising
2020-05-25 17:16:09 -07:00
geeksville
d5f177b1ee
begin UC1701 driver
2020-05-25 10:41:46 -07:00
geeksville
e8f6504ec4
Make an accelerated NRF52 implementation for AEX256-CTR crypto
2020-05-24 14:45:50 -07:00
geeksville
fb3b62f8f0
CSR WIP
2020-05-23 15:48:23 -07:00
geeksville
dd0209b192
Merge remote-tracking branch 'root/master' into nrf52
...
# Conflicts:
# docs/software/nrf52-TODO.md
# src/mesh/RadioLibInterface.cpp
# src/mesh/mesh.pb.h
2020-05-22 11:12:22 -07:00
geeksville
a6475ce848
experiment with CFG_DEBUG (it fails)
2020-05-21 21:17:38 -07:00
geeksville
2dadb4d7a2
make nrf52dk build again
2020-05-21 20:31:22 -07:00
geeksville
ef1463a6a9
have tbeam charge at max rate (450mA)
2020-05-17 04:44:48 -07:00
geeksville
5ec5248fe4
complete ble ota move
2020-05-14 14:22:11 -07:00
geeksville
b6a202d68e
runs again with new protobufs
2020-05-12 13:35:22 -07:00
geeksville
8b911aba7f
Cleanup build for NRF52 targets
2020-05-10 12:33:17 -07:00
geeksville
c2be6c4068
WIP on #124
2020-05-04 17:39:57 -07:00
geeksville
933d5424da
abstract out the UBlox GPS driver
2020-05-04 11:15:05 -07:00
geeksville
71fcdba017
cleanup directory structure
2020-05-01 09:04:00 -07:00
geeksville
b1a55b4576
old RF95 API works again
2020-04-30 16:47:56 -07:00
geeksville
074ac33b8a
make a gdb "restart" command that allows restarting without rebuilding
2020-04-29 20:23:59 -07:00
geeksville
2982e197e0
radio settings now work on real sx1262 hw
2020-04-29 19:04:59 -07:00
geeksville
814c126e67
ugly WIP on switching to RadioLib, still need to set freq etc...
2020-04-29 14:54:03 -07:00
geeksville
a7d153abcb
CUSTOM GPIOs the SX1262MB2CAS shield when installed on the NRF52840-DK development board
2020-04-29 12:57:34 -07:00
geeksville
1b265eb48d
switch from sx126x-arduino to radiolab
2020-04-29 10:50:50 -07:00
geeksville
e5d2d24e2c
move nanopb includes to correct directory
2020-04-27 09:27:36 -07:00
geeksville
dec4870649
begin cleaning up mesh library layer so that it could be split someday
2020-04-27 07:54:19 -07:00
geeksville
7ff42b89a6
CI autobuilder can't yet build nrf52 targets
2020-04-27 07:44:57 -07:00
geeksville
15cb599cd1
move nrf52 stuff to correct directory name
2020-04-27 07:39:50 -07:00
geeksville
db11d9280c
add nrf52 DFU app helper
2020-04-24 21:08:16 -07:00
geeksville
ca03110932
Update ESP32 build to work with latest NRF52 changes
2020-04-24 14:55:51 -07:00
geeksville
bb885a5110
add a variant based on the nrf52840-dk but with a RC clock.
...
Because I was dumb and accidentally ran some code that configured gpio 0
as an output and that was enough to smoke the xtal that was preinstalled
between P0.0 and P0.1.
2020-04-24 12:30:06 -07:00
geeksville
e0a1855429
Add PMU driver
2020-04-24 08:38:00 -07:00
geeksville
8f26ae240a
Add UC1701 and SX126X drivers (not yet using them though)
2020-04-24 08:05:25 -07:00
geeksville
3c9c01189d
old RF95 driver probably works on NRF52 now
2020-04-23 18:47:27 -07:00
geeksville
2fdb75efdf
make GPS 'work' on nrf52
2020-04-23 16:20:07 -07:00
geeksville
fe3cbeed3a
misc NRF52 fixes
2020-04-23 12:47:41 -07:00
geeksville
bd77d47215
change serial baud rate to 921600
2020-04-22 14:58:35 -07:00
geeksville
2419ebb04e
0.4.3 Fix #92 : omg - for the last couple of weeks the official builds were
...
all using US frequencies. This build fixes this (and makes the build
system cleaner in general).
If you are building your own builds in the IDE you'll need to start
setting an environment variable called COUNTRY to your two letter
country code (or leave unset to get US frequencies). See new comment
in platformio.ini.
2020-04-19 08:33:59 -07:00
geeksville
0d14b69a24
remove disasterradio experiment
2020-04-16 17:30:46 -07:00
geeksville
86716c4397
remove tbeam0.7 until someone who has the hardware can debug it
2020-04-16 09:05:53 -07:00
geeksville
2464784f00
todo updates
2020-04-15 14:51:17 -07:00
geeksville
0a6af936ed
Get build (kinda, not really) running on a NRF52
...
Lots of NO_ESP32 to remove later...
2020-04-14 20:22:27 -07:00
geeksville
0b62083e35
wip - plan
2020-04-14 16:45:26 -07:00
geeksville
fd17193d5e
Strip out all the parts of Radiohead (most of it) that we don't need
2020-04-14 12:31:29 -07:00
geeksville
93a06906cb
begin splitting up source files, so we can have a tree of sources...
...
unique to each architecture. For now, we have "esp32" and "bare"
esp32 is the old esp stuff
bare is an target suitable for emulation that doesn't require any
particular hardware to run (no bluetooth, no i2c devices, no spi devices)
2020-04-10 12:15:35 -07:00
geeksville
06a17885eb
need need to link against the axp202 library on devices that don't have it
2020-04-07 21:27:08 -07:00
geeksville
c22df18e28
fix collision avoidance for transmit - substantially improves lora tx success
2020-04-06 09:39:44 -07:00
geeksville
af35f3006c
force other devs to update for
...
fix https://github.com/meshtastic/Meshtastic-esp32/issues/76
2020-04-05 14:13:04 -07:00
geeksville
da74803ffb
begin cleanup on radio abstraction, details below:
...
* to allow changing to new mesh transport
* to allow a different chipset for the radio
* to allow testing on hardware with a SimRadio
* new "bare" build env for a devboard with virtually no hardware
* make buttons optional
2020-03-31 21:56:35 -07:00
geeksville
1fd92cf8eb
fix build for Windows based on tip from @moinars
2020-03-29 12:33:14 -07:00
geeksville
ea250d9cd3
add initial guess at TBEAM 0.7 hardware support
2020-03-28 15:31:22 -07:00
geeksville
be468a2183
add reasonable guesses for TTGO LORA V1 and V2 boards - thanks @sensorsiot
...
for the pinouts
2020-03-28 14:45:33 -07:00
geeksville
cf2aa37635
clean up configuration.h and add support for ttgo-lora-v1 boards
2020-03-27 16:55:19 -07:00
geeksville
d831beab3d
moving build selection into platformio.ini rather than nasty #defines. thanks to @sensorslot
...
for the pointer to https://github.com/arendst/Tasmota - where I just borrowed heavily ;-)
2020-03-27 14:03:58 -07:00
geeksville
9ec8562ce7
fix old geeksville link (though github provides redirects)
2020-03-15 16:57:21 -07:00
geeksville
64109b25f2
Switch to native ublox api for GPS position and time
2020-03-14 12:46:24 -07:00
geeksville
9bbd658b9d
begin testing native ublox api
2020-03-13 20:30:48 -07:00
geeksville
4999da0824
Merge branch 'dev' into gps-sleep-mode
...
# Conflicts:
# docs/software/TODO.md
# platformio.ini
2020-03-13 18:48:38 -07:00
Kevin Hester
e01680cd4b
Change all repo URLs to be meshtastic... instead of geeksville...
2020-03-02 15:13:33 -08:00
Girts Folkmanis
0b8d7768fd
some minor cleanups
...
* Suppress warnings about conflicting library names in platformio.ini by
explicitly picking the libraries by id that we want.
* fix unused static function warning by making it not static ;)
* declare arduino-fsm as dependency for BluetoothOTA. Hopefully this
fixes the CI builds?
Tested: `pio run` builds.
2020-02-28 19:26:11 -08:00
geeksville
76100e23eb
WIP make swupdate keep power on
2020-02-23 11:37:38 -08:00
geeksville
316347226b
don't use a symlink to find my modified RadioHead, use a pio depdency
...
To make it more easily buildable by others.
2020-02-23 08:24:10 -08:00
geeksville
6eba792537
WIP - changing to a ublox aware GPS lib so I can put it in sleep
2020-02-22 19:08:16 -08:00
geeksville
045529d91f
begin cleanup of sleep code for new state machine
2020-02-21 17:01:26 -08:00
geeksville
b9438357b6
add support for network ping testing
2020-02-19 18:51:17 -08:00
geeksville
593a6e6f83
BLE is now secured to require pairing with PIN
2020-02-07 20:59:21 -08:00
geeksville
ade30ee1ce
bidir comm works
2020-02-06 21:26:40 -08:00
geeksville
0b226132b8
begin cleanup on gps code
2020-02-06 07:40:00 -08:00
geeksville
0050e4b05a
progress
2020-02-05 22:13:27 -08:00
geeksville
83fb38b38c
jlink jtag debug now works on lora32 board, problem was gpio14 is needed
2020-02-05 15:37:58 -08:00
geeksville
37eca63e58
fix bt reads of owner etc
2020-02-04 13:47:42 -08:00
geeksville
b538677ad2
include our local user in the node db
2020-02-04 09:00:17 -08:00
geeksville
b04fb061c4
stop explicitly using Serial.print for debug messages
2020-02-04 08:17:44 -08:00
geeksville
4a40b9499b
allow heltec boards to boot without i2c when jtag debugging
2020-02-04 07:31:32 -08:00
geeksville
f2a731c22d
update to nanopb
2020-02-03 22:22:53 -08:00
geeksville
e6535f5504
we now BLE notify for the arrival of new messages
2020-02-02 20:54:40 -08:00
geeksville
b799004f0d
rx path to phone is written
2020-02-02 18:33:46 -08:00
geeksville
2474b3b064
progress
2020-02-01 18:45:27 -08:00
geeksville
1bda9c953e
grow our app space in flash
2020-02-01 09:46:25 -08:00
geeksville
2529189a08
add beginnings of mesh radio
2020-02-01 09:05:50 -08:00
geeksville
cdb7153071
move my bt experiment into its own repo (about to remove ttn)
2020-02-01 08:30:53 -08:00