geeksville
a47524b762
cubecell wip
2020-06-16 17:13:26 -07:00
geeksville
92e5a15399
Merge branch 'master' into cubecell
2020-06-15 12:42:01 -07:00
Kevin Hester
d65f2ede81
Merge branch 'master' into sh1106-support
2020-06-15 12:26:12 -07:00
Zombodotcom
1c6092c430
Fixed GPS pin Definitions
2020-06-15 11:38:15 -06:00
Marcel van der Boom
37c598833c
Add support for SH1106 controller
...
The SH1106 is almost indistinguisable from a SSD1306.
- the nr of columns in the sh1106 is 132 vs 128
- use the proper includes/library functions when in use
2020-06-14 10:28:23 +02:00
geeksville
8ccd59a7d8
Fix #115 : wake from light sleep if a character arrives on the serial port
...
Note - we do this not by using the uart wake feature, but by the lower
power GPIO edge feature. Recommend sending "Z" 0x5A - because that has
many edges. Send the character 4 times to make sure the device is awake
2020-06-10 15:36:38 -07:00
geeksville
1c63a70673
cubecell WIP
2020-06-05 17:30:09 -07:00
geeksville
925e46da8c
make serial console work on nrf52
2020-05-21 21:17:53 -07:00
geeksville
a0b43b9a95
Send "unset" for hwver and swver if they were unset
2020-05-12 17:57:51 -07:00
geeksville
8b911aba7f
Cleanup build for NRF52 targets
2020-05-10 12:33:17 -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
cceecf5f8e
New serial protobuf transport approximately works and is backward
...
compatiable with the text debug output.
2020-04-27 09:36:39 -07:00
geeksville
15cb599cd1
move nrf52 stuff to correct directory name
2020-04-27 07:39:50 -07:00
geeksville
ca03110932
Update ESP32 build to work with latest NRF52 changes
2020-04-24 14:55:51 -07:00
geeksville
4f7e85c1a4
cleanup serial instanciation on boards where we might not use it
2020-04-24 08:05:56 -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
f0f6c4950b
on NRF52 use the Segger debug console for debug logging
2020-04-23 13:27:16 -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
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
Kevin Hester
04ad8bb533
Merge branch 'master' into cleanupblue
2020-04-10 21:11:46 -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
BeardyWalrus
3754950a0e
pinouts are swapped for TTGO-Lora32 V1 and V2 boards.
...
discovered by eriktheV-king in discourse
2020-04-09 20:44:15 -04: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
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
Girts Folkmanis
3e44c2c3e1
screen.cpp: flip the display 180
2020-03-19 20:15:51 -07:00
geeksville
32ac5ac9ae
reformat everything
...
using @girtsf clang-format prefs settings. This should allow us to turn
on auto format in our editors without causing spurious file changes.
2020-03-18 19:15:51 -07:00
geeksville
d0b8adab75
In my work for #11 I accidentially created a serious bug on Heltec...
...
devices. It caused bogus i2c transactions when device would go to sleep.
Fixed now, also, I now treat GPS usage uniformly between TBEAM and HELTEC
we always probe for and use the GPS if we find it.
Which means for the extra nerds
(someone requested this, I'm sorry - I don't remember who) you can now
optionally attach an external GPS to HELTECs if you want. The pins are:
#define GPS_RX_PIN 34
#define GPS_TX_PIN 12
(@girtsf, sorry about including formatting changes in this PR, apparently
I had my IDE set to not autoreformat until just now
2020-03-15 16:57:21 -07:00
geeksville
0d62a2be85
release 0.1.6
2020-03-14 18:48:15 -07:00
Kevin Hester
28588f6730
send hw version info via protobufs
2020-03-03 08:23:58 -08:00
geeksville
7b348f30ac
text messages screen not coming up if screen was already on
2020-02-25 10:29:37 -08:00
geeksville
6b696bfdc5
hw vendor strings must match file names for auto update
2020-02-24 11:21:34 -08:00
geeksville
51b53f406e
include region code in the BLE HW version string. ie 1.0-US
2020-02-24 09:22:34 -08:00
geeksville
bd0f35ad83
fix encoding of sw version numbers in the BLE device info
2020-02-24 09:12:13 -08:00
geeksville
4906b12489
prevent ble powerdown while phone is connected
2020-02-23 08:53:52 -08:00
geeksville
a1a1ceb94d
while not perfect, good enough to move power statemachine to master
2020-02-22 14:56:19 -08:00
geeksville
fe2ca65a11
WIP kinda works but light sleep still busted
2020-02-22 13:50:08 -08:00
geeksville
509f9b6e2b
WIP state machine builds
2020-02-22 12:01:59 -08:00
geeksville
045529d91f
begin cleanup of sleep code for new state machine
2020-02-21 17:01:26 -08:00
geeksville
598023f5db
PMU IRQ polarity was backwards
2020-02-21 11:39:10 -08:00
geeksville
3df81682b3
now that light-sleep kinda works, use deep-sleep far more rarely
2020-02-21 11:32:33 -08:00
geeksville
cd4cd6fe56
progress on keeping gps off more
2020-02-19 10:53:09 -08:00
geeksville
d9a875082c
set rtc from gps time
2020-02-19 08:17:28 -08:00
geeksville
67e0f5c184
use RTC time for my timestamp (works across deep sleep)
2020-02-19 07:58:51 -08:00
geeksville
acce254685
Change RF95 to deliver packets straight from ISR and no polling for anything
2020-02-18 20:06:01 -08:00
geeksville
bf491efddf
begin support for countries besides the US
2020-02-18 16:18:01 -08:00