323 Commits

Author SHA1 Message Date
Gordon Williams
ee413a267c Bluetooth: Increase size of max advertising received (now ~120b on high MTU builds)
nRF52840: Fix crash if receiving >32b of advertisement data
2025-09-26 16:19:48 +01:00
Gordon Williams
4b7cc5f29a ESP32: Fix 2v26 regression which stopped many pins from being watched 2025-06-03 10:10:34 +01:00
Gordon Williams
480033719f fix ESP32 build 2025-05-13 10:56:28 +01:00
Gordon Williams
bb104c6038 nRF5x: Ensure Bluetooth notifications work correctly when two separate connections use the same handle for their characteristics
nRF5x: Remove handlers from our handlers array when a device is disconnected
2025-05-13 10:48:14 +01:00
Gordon Williams
2bdf05f910 ESP32: Remove FlashFS, adjust partitions to increase available Storage from 256kB to 896kB 2025-04-02 10:39:00 +01:00
Gordon Williams
b84efeca3e Change ioBuffer FIFO from 4 byte blocks to variable length blocks. Far more efficient for USB/BLE/other block data 2025-02-26 16:22:58 +00:00
MaBecker
900f3d593c ESP32 - fix jshCanWatch for ESP32 & ESP32S3 2025-02-02 10:10:28 +01:00
Simon Andrews
130b539e83 Debug message Typo in fix for #2601 2025-01-28 19:21:51 +00:00
Simon Andrews
6992b57091 Testing for #2601 second round 2025-01-28 15:55:16 +00:00
Simon Andrews
bdfb4a4fbb Testing Action Builds for #2601 fix 2025-01-28 14:39:16 +00:00
Simon Andrews
23b697fef5 I2c Changes for testing Round2 against #2589 2025-01-09 22:17:54 +00:00
Simon Andrews
22f6053864 I2C Setup changes for testing against issue #2589 2025-01-06 21:33:20 +00:00
Gordon Williams
3c11580f1e Adding better declarations for ESP32 peripherals (at minimum allows us to make nicer docs pages, maybe good for https://github.com/espruino/Espruino/issues/2589)
fix default pin for ESP32 SPI2
2025-01-06 14:56:52 +00:00
Gordon Williams
9cd8d5bde7 Revert change that removed ESP32 temperature sensor - fix #2585 2024-12-18 09:12:24 +00:00
Gordon Williams
640b45e861 ESP32: properly negate button value, and ensure setWatch works ok 2024-12-14 16:24:03 +00:00
Gordon Williams
3bfca52623 CYD add Qwiic classes for P1/P3/CN1, invert LEDs and buttons 2024-12-14 16:15:10 +00:00
Gordon Williams
e3f61b0e6e initial commit of support for CYD. Displays graphics on LCD. 2024-12-13 19:58:24 +00:00
Gordon Williams
1aed93498f Enable WDT in Pipboy firmware, allow BTN10 (power) to stop kicking it and force a reboot 2024-11-21 15:10:39 +00:00
Gordon Williams
9090fcf83e ESP32C3: don't kick connected BLE devices off if reset() is called
ESP32C3: disable warnings about "BT_BTM: BTM_GetSecurityFlags false"
2024-11-04 11:36:28 +00:00
Gordon Williams
2db9f15ec2 fix build issue 2024-10-04 09:30:18 +01:00
Gordon Williams
980f5f06dd ESP32: Timers are now turned off when requested - digitalPulse/soft pwm/writeAtTime more accurate 2024-10-04 09:20:54 +01:00
Gordon Williams
880849b461 remove annoying extra level of indirection for timer functions 2024-10-04 09:06:22 +01:00
MaBecker
6c52bc026c allow to switch between USB_CDC and UART for ESP32C3 boards
'DEFINES+=-DUSB_CDC', # Disable this line to use serial interface
2024-08-28 20:49:23 +02:00
Gordon Williams
e3df9e9353
Merge pull request #2541 from rgomezwap/Add-ESP32_S3
Add esp32 s3
2024-08-27 09:27:03 +01:00
MaBecker
41c26aca7e make neopixel reliable with one channel and multiple pins (fix 2505) 2024-08-26 18:10:09 +02:00
rgomezwap
d6d9fa9a65 Adding Bluetooth and Neopixel
I’ve made the necessary changes to enable Bluetooth and Neopixel. Now the firmware is with all the features. It remains to test it well.
2024-08-18 21:39:07 +02:00
rgomezwap
e9cdef4a03 Adapt source files
Adapt some source files to compile for ESP32 S3
2024-08-16 16:10:50 +02:00
rgomezwap
496ba4ae61 Adding the BUILD configuration for ESP32 S3
Changes in files and new files added so that the build system accepts :

BOARD=ESP32S3_IDF4 RELEASE=1 make
2024-08-16 16:02:32 +02:00
Gordon Williams
5f3f6782ad ESP32C3: Get analogRead working correctly
Thanks to SimonGAndrews!
we need to call it twice to get a decent value on the C3 for some reason!
https://forum.espruino.com/conversations/395499/?offset=100#17482163
2024-08-09 15:54:21 +01:00
Gordon Williams
5221a01c92 misc tweaks for curio build 2024-07-25 14:36:00 +01:00
Gordon Williams
e4937494db ESP32: remove interrupt on/off code as it just causes a crash
ESP32: jshPinWatch now returns correct value (event ID vs pin number)
2024-07-22 16:28:58 +01:00
Gordon Williams
5f8c058539 Attempt to build C3 binary with GitHub actions 2024-07-08 16:58:22 +01:00
MaBecker
ca9b12fdf8 esp32 handle multiple pins 2024-06-16 05:58:35 +02:00
MaBecker
2fbe3cf984 esp32 handle multiple pins 2024-06-13 14:27:59 +02:00
Gordon Williams
1f78e3d105 ESP32C3 tls support. Builds and runs, can request small HTTPS pages 2024-05-20 19:49:30 +01:00
Gordon Williams
e8ab0a4d99 Add a quick hack to fix lack of ESP32C3 USB UART output if there's no newline 2024-05-20 15:07:51 +01:00
Gordon Williams
e3e68c7a9e Support for ESP32C3 IDF4 neopixels 2024-05-16 11:00:56 +01:00
Gordon Williams
85ddf2c702 ESP32 fix hard-coded ADC pins, get them from pinInfo (py file) 2024-05-15 14:51:31 +01:00
Gordon Williams
f30d393973 Fix ESP32C3 setWatch 2024-05-15 13:28:59 +01:00
Gordon Williams
55c06efe87 fix esp32 build regression 2024-05-15 13:20:12 +01:00
Gordon Williams
11d3a11596 C3 firmware building and running - only outputs data when 'enter' pressed 2024-05-15 12:23:49 +01:00
Gordon Williams
df4078fca2 fix original ESP32 build 2024-05-09 13:43:51 +01:00
Gordon Williams
57222f0915 More ESP32C3 ifdefs - C3 now builds but crashes as soon as it starts 2024-05-09 13:39:40 +01:00
Gordon Williams
3b71c3742b ESP32 IDF4 - make UART tick wait count time rather than tick based 2024-05-09 10:43:22 +01:00
Gordon Williams
fc43e3a3be increase ESP32 IDF4 watchdog timeouts, remove un-needed extras for now 2024-05-09 10:10:55 +01:00
Gordon Williams
65b4497c13 ESP32 IDF4 set partitions - currently runs and executes code but seems to crash instantly
task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
2024-05-09 09:45:38 +01:00
Gordon Williams
46411e7584 fix typos 2024-05-07 16:21:57 +01:00
Gordon Williams
fbb26d1669 some preliminary ifdefs for the c3 2024-05-07 13:46:59 +01:00
Gordon Williams
75e237ab10 ESP32 actually building for IDF4 now 2024-05-07 13:34:46 +01:00
Gordon Williams
046d8b965c tweaks to get further towards esp-idf4 build - still too much flash usage 2024-05-07 13:24:54 +01:00