Commit Graph

28 Commits

Author SHA1 Message Date
Thomas Göttgens
5554114d11
disable serial module and tcp socket api for standalone devices (#5591)
* disable serial module and tcp socket api for standalone devices
* just disable webserver, leave wifi available
* disable socket api
2024-12-29 22:42:43 +01:00
mverch67
44238cf909 define wake button for unphone 2024-12-03 20:03:35 +01:00
Thomas Göttgens
630568c090
Streamline board definitions for first tech preview. (#5390)
* Streamline board definitions for first tech preview. TBD: Indicator Support

* add point-of-checkin

* use board/unphone.json

---------

Co-authored-by: mverch67 <manuel.verch@gmx.de>
2024-11-19 11:46:22 +01:00
mverch67
50087da13d use DISPLAY_SET_RESOLUTION to avoid hw dependency in code 2024-10-24 01:16:15 +02:00
Ben Meadors
219d8e80c1
Merge branch 'master' into tft-gui-work 2024-08-09 20:23:43 -05:00
geeksville
1a38c4e51d
Remove LED_INVERTED, see below for why ;-) (#4382)
While working on #4378 I noticed a funny problem: the blinking system
LED was on during deep-sleep.  Initially I thought it was some weird
sleep hw config thing but it turns out it was easier but more pervasive.

We had two different preprocessor symbols which both meant approximately the same
thing LED_INVERTED and LED_STATE_ON (though their polarity was opposite).
Some variant files were setting one, others were setting the other, and others were
setting both. heh.

In the case of the board I was testing (seeed tracker wio 1100) it was only setting one
and the default behavior for the other (for all boards) was incorrect.  So I did a grep
and it seems like LED_STATE_ON was used more often, so I kept that one and removed
LED_INVERTED everywhere.
2024-08-05 06:02:32 -05:00
mverch67
0dccb9a18c adaptions for signal scanner 2024-07-22 22:07:12 +02:00
mverch67
674c7a8e2f exclude webserver / bluetooth 2024-07-05 12:29:26 +02:00
mverch67
a57e4934a5 bump up lovyanGFX driver version 2024-06-28 14:28:01 +02:00
mverch67
cf1f0032e4 lib update: node options + localisation preparations 2024-06-16 20:47:48 +02:00
mverch67
63e5ea5f17 fix unphone display and touch calibration 2024-06-10 10:29:58 +02:00
mverch67
e772ead77b fix unPhone-tft compilation 2024-06-01 14:39:40 +02:00
mverch67
b867ab5ed8 defines for monitoring control 2024-05-25 12:43:57 +02:00
Manuel
c2fe1ef9fa
Merge branch 'master' into tft-gui-work 2024-05-22 08:13:19 +02:00
Mike
0c9da9aec7
Update platformio/espressif32 to the latest 6.7.0 (#3899)
* Bump platfomio/espressif32 version to latest 6.7.0

* Fix deprecated constants

* Remove pin defs already defined by the framework

* ESP_EXT1_WAKEUP_ALL_LOW is deprecated for any target except esp32

* Enable LTO and use newlib nano flavor

* Make trunk happy

* Respect build_unflags of base env

* Recover float printfing

* Disable BLE_SM_PAIR_AUTHREQ_SC

* Distribute BLE_SM_PAIR_KEY_DIST_ID too

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-05-21 21:02:09 -05:00
mverch67
64d0e94d18 add defines for log and monitor 2024-05-20 20:04:59 +02:00
Thomas Göttgens
7c3519d322
Merge branch 'master' into tft-gui-work 2024-05-13 19:16:00 +02:00
Thomas Göttgens
859fd7c251
Generate the build matrix from the variant files (#3870) 2024-05-12 22:43:47 +02:00
mverch67
3bb506e593 Unphone support 2024-05-02 21:17:53 +02:00
mverch67
9c36b9f17f unphone part 1 2024-05-02 19:39:31 +02:00
Gareth Coleman
ac16ccf40c
fix for unPhone hangs during boot without sd card present (#3709)
* work around sd card hang if not present

* comment out the define for HAS_SDCARD
2024-04-24 06:41:05 -05:00
Gareth Coleman
ccbf635eef corrected a bit of overzealous tidying 2024-04-22 17:21:41 +01:00
Gareth Coleman
6669b22db3 tidied up, prob broke everything 2024-04-22 16:37:05 +01:00
Gareth Coleman
d1cd686644 Fixed XPT2046 syntax and using unPhone library to clean up main and TFTDisplay. 2024-04-15 17:24:08 +01:00
Gareth Coleman
1291da746b
Support for alt I2C address for LSM6DS3 sensor, identification of TCA9555 IO Expander, resolve serial hang issue (#3622)
* basic identification of TCA9555

* recognise LSM6DS3 on alt address

* keep variant.h changes out of this PR

* 2nd attempt to keep variant.h changes out of this PR

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-15 07:30:45 -05:00
Gareth Coleman
f4a2023dba
LSM6DS3TR-C support (#3593)
* started work on pulling in the unphone library and dependencies, to do e.g. power switch management and etc.; currently failing at Adafruit_ImageReader

* now compiles with unphoneLibrary included

* successfully pulled in unphone library to manage power switch and init vibe motor and etc.
doesnt print to serial tho...

* simplified the build a bit; when doing meshtastic do not depend on the MCCI lora libs etc., then also no need to config them via build flags

* version that doesnt trigger brownout

* cleaned up initVariant a little

* note re. GPS

* back to mesh upstream version

* this time we're back to mesh upstream version

* getting LSM6DS3TRC driver installed

* shake to wake works, set threshold quite low may need increasing

* whats the crack with these end of file changes?

* paramatize the wake threshold

* try to get the PR to just include real changes

* got the right config item and also not giving compiler messages

* moved the lib_deps for the LSM6DS3TRC driver from our variant platformio.ini to the main one in root so all boards have it

* stuupid error #define-ing

---------

Co-authored-by: Hamish Cunningham <hamish@gate.ac.uk>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-11 19:40:14 -05:00
Gareth Coleman
4cdfae71cf first attempt at getting trunk to do linting 2024-04-04 11:00:10 +02:00
Gareth Coleman
be889015f7 New device unPhone using HX8357D LCD and XPT2046 touchscreen 2024-04-04 11:00:10 +02:00