9169 Commits

Author SHA1 Message Date
Gordon Williams
831a568a2a Tweaks to ensure the build still fits on these devices 2024-09-20 09:17:47 +01:00
Gordon Williams
a6ae7ff79e Remove Ctrl-A/D/E/U/W code handling to free up flash space (the IDE/or VT100 terminals all use escape codes) 2024-09-20 09:08:40 +01:00
Gordon Williams
3028808803 Update changelog with recent additions 2024-09-19 15:54:45 +01:00
Gordon Williams
fd068866e1 Fix upload speed regression after cc96161ec774f9b6389e81b255a5bc77cf569ab4 2024-09-19 15:48:41 +01:00
Gordon Williams
49989873d5 Ensure we don't ctrl-c during packet transfer as this can interrupt the file writes 2024-09-19 15:48:35 +01:00
Gordon Williams
8cfb2051c8 USB: Disable software flow control as USB itself handles flow control 2024-09-19 15:48:29 +01:00
Gordon Williams
27a5f992f7 (new Array(3)).includes(undefined) fix 2024-09-19 15:48:22 +01:00
Gordon Williams
a1fa68c199 Fix issue where Ctrl-C could get lost in packets. We now always pass it through and ignore it in jsinteractive if we need to 2024-09-19 15:48:05 +01:00
Gordon Williams
3953d0d581 Fix regression with inserting chars mid-line after packet parsing added 2024-09-19 15:47:55 +01:00
Gordon Williams
2cf2afc7e8 Quick readme on protocol, add Char Code 5 handler (ENQ) to output Espruino version and board for easy queries 2024-09-19 15:47:51 +01:00
Gordon Williams
4b69697d75 File upload now working (storage+fs). data upload without a file NACKs 2024-09-19 15:47:33 +01:00
Gordon Williams
66c03577e0 Graphics: allow arraybuffer graphics to be instantiated with an ArrayBuffer (rather than it always allocating one) 2024-09-19 15:47:03 +01:00
Richard Blakesley
b40631abec Shorter timeout (so I2C comms failures don't lock up the device for so long) 2024-09-19 15:44:30 +01:00
Gordon Williams
426757b763 Add fastpath for arraybuffer scrolling in Y with any number of bits 2024-09-19 15:44:13 +01:00
Gordon Williams
e49ffb693a fix out of date helper message 2024-09-19 15:44:01 +01:00
Gordon Williams
2ee0161deb Initial packet transfer implementation, using DLE[16],SOH[1],TYPE|LENHI,LENLO,DATA... 2024-09-19 15:42:34 +01:00
Gordon Williams
7522bdb438 STM32: Added jshGetSystemClock/E.getClock 2024-09-19 15:41:56 +01:00
Gordon Williams
ba36155dd7 Minor refactor: bring 'parse anything' JSON parser out to its own function 2024-09-19 15:41:43 +01:00
Gordon Williams
78eaa5d99c Graphics: fix setColor(-1) not truncating color properly, breaking antialising 2024-09-19 15:41:17 +01:00
Gordon Williams
8b3b0e176d STM32: add I2C unsetup 2024-09-19 15:40:36 +01:00
Gordon Williams
90394ebbdb STM32: Ensure we stay awake when USB connected, even if no app is reading from USB on the PC 2024-09-19 15:40:23 +01:00
Gordon Williams
139640ebc1 Add jsiClearTimeout 2024-09-19 15:40:11 +01:00
Gordon Williams
c5d4c5acaf Make jsiAppendToInputLine append a single char to allow 0 to be added 2024-09-19 15:39:55 +01:00
Gordon Williams
745e2d6ee7 E.sendUSBHID now returns false if USB disconnected 2024-09-19 15:39:32 +01:00
Gordon Williams
f38decfe7b Pin.getInfo() now returns 'output' and 'mode' values, allowing the state of the output register to be queried 2024-09-19 15:39:20 +01:00
Richard Blakesley
1c86aaa8e6 Fix check_size.sh for MacOS 2024-09-19 15:38:43 +01:00
Gordon Williams
5dd1101672
Merge pull request #2552 from MaBecker/master
ignore esp-idf-4
2024-09-06 13:06:54 +01:00
MaBecker
63e328a949 ignore esp-idf-4 2024-09-06 13:40:59 +02:00
Gordon Williams
170fb19425 Emulator: ensure we include CallFunction stubs for Promises (fix regression after Promise refactor) 2024-09-05 10:50:32 +01:00
Gordon Williams
86d04c55d3
Merge pull request #2550 from espruino/dependabot/github_actions/actions/upload-artifact-4.4.0
Bump actions/upload-artifact from 4.3.6 to 4.4.0
2024-09-02 09:49:56 +01:00
dependabot[bot]
66991f0723
Bump actions/upload-artifact from 4.3.6 to 4.4.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.6 to 4.4.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.6...v4.4.0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 01:45:20 +00:00
Gordon Williams
c45ff321d8 On ESP32C3, don't allow AP *AND* STA mode at the same time - solves issues when just calling 'wifi.connect' at boot 2024-08-29 20:13:45 +01:00
Gordon Williams
6773fed689 Remove setting of null termination after jsvGetString, since jsvGetString now does it automatically 2024-08-29 20:13:45 +01:00
Gordon Williams
a2bd2a1fca Fix issue where converting a non-string to a string could cause jsvGetString to return a null terminated string. Make docs clearer too 2024-08-29 20:13:45 +01:00
Gordon Williams
7f4b6f2fe5
Merge pull request #2549 from bobrippling/fix/linker-entry
Close comment in linker script
2024-08-29 20:10:37 +01:00
Rob Pilling
7dd455b216 Close comment in linker script 2024-08-29 18:03:13 +01:00
Gordon Williams
6a47481bf6 Bangle.js1: Switch to space-optimised sin/atan/atan2 to save enough space to continue building 2024-08-29 16:56:13 +01:00
Gordon Williams
66fec6982a
Merge pull request #2548 from MaBecker/master
allow to switch between USB_CDC and UART for ESP32C3 boards
2024-08-29 08:58:45 +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
7000f5d94f
Merge pull request #2546 from atjn/meridians-force
Support forced meridians
2024-08-27 14:45:27 +01:00
Anton
b3add18aff Support forced meridians 2024-08-27 13:59:51 +02:00
Gordon Williams
4b413bf7e6
Merge pull request #2540 from atjn/meridian-fix
Update `locale` with support for meridians
2024-08-27 11:06:08 +01:00
Gordon Williams
e3df9e9353
Merge pull request #2541 from rgomezwap/Add-ESP32_S3
Add esp32 s3
2024-08-27 09:27:03 +01:00
Gordon Williams
2cb2bf3f64
Merge pull request #2545 from MaBecker/master
make neopixel reliable with one channel and multiple pins (fix 2505)
2024-08-27 09:22:32 +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
Anton
2ec20b21b8 Update locale with support for meridians 2024-08-15 21:31:50 +02:00
Gordon Williams
ff487e0084 Graphics: Adjust image alignment when rotating images to avoid cropping (fix #2535) 2024-08-12 11:05:03 +01:00