9938 Commits

Author SHA1 Message Date
Gordon Williams
7940729a6e Bangle.js1: dump() now doesn't write out interpreter state as JS (saves 1.5kB Flash) 2025-12-01 16:55:03 +00:00
Gordon Williams
9feb8de86f actual fix for compile 2025-12-01 16:46:23 +00:00
Gordon Williams
9b0989b377 tweaks for fix microbit/emscripten builds 2025-12-01 15:16:50 +00:00
Gordon Williams
43943b58ac Timers now have unique IDs (#1444)
Added `require("timer")` to access timers, removed `E.dumpTimers` and `Pin.writeAtTime` (fix #2586)
Added ability to execute JS from an a timer with `require("timer").add({type:"EXEC",...)`
2025-12-01 14:48:26 +00:00
Gordon Williams
ebb469bb75 STM32: Ensure setDeepSleep(1) will only sleep if there are no active PWM outputs 2025-12-01 14:36:21 +00:00
Gordon Williams
066c6015cb Date: fix parsing of ISO8601 timezones (+HHMM worked, but +HH:MM and +HH added) (fix #2669) 2025-12-01 14:24:22 +00:00
Gordon Williams
81b6e4991a Bangle.js: Add Bangle.setOptions({stepCounterDisabled:bool}) to disable the step counter 2025-12-01 14:24:21 +00:00
Gordon Williams
46525846ac
Merge pull request #2668 from bobrippling/fix/accel-limit
Fix accel limit bound
2025-12-01 08:42:00 +00:00
Rob Pilling
2913ca0a7d Fix accel limit bound 2025-11-27 18:12:42 +00:00
Gordon Williams
f8c16af67e
Merge pull request #2666 from espruino/dependabot/github_actions/actions/checkout-6
Bump actions/checkout from 5 to 6
2025-11-24 09:58:16 +00:00
dependabot[bot]
7a5bd80948
Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 01:02:21 +00:00
Gordon Williams
ef51f1f37e remove E.setBootCode from bangle.js to free up space - you can write direct to storage instead, and writing to boot code would remove the bootloader anyway 2025-11-14 15:56:23 +00:00
Gordon Williams
b565549495 Pin.getInfo().negated now set if pin negated in firmware 2025-11-14 15:28:52 +00:00
Gordon Williams
655d3777b8 Bangle.js: Updated built-in Layout.js with some minor fixes 2025-11-12 10:53:05 +00:00
Gordon Williams
39185be95e remove code that is now never reached 2025-11-07 15:37:19 +00:00
Gordon Williams
3c6eedaf2e Array.sort: fix issue where *some* sorts of 10+ items could cause the array not to be GC'd 2025-11-07 15:37:02 +00:00
Gordon Williams
af141a9b78 post-release changelog 2025-11-05 10:24:47 +00:00
Gordon Williams
37bd208278 2v28 release RELEASE_2V28 2025-11-05 09:17:08 +00:00
Gordon Williams
404c106b05 code comments 2025-11-05 09:16:22 +00:00
Gordon Williams
50eabb8f69 Graphics: fix cropping of images in strings when gfx instance is rotated by 90 degrees
fix https://github.com/espruino/BangleApps/issues/4053
2025-11-04 17:07:08 +00:00
Gordon Williams
7c8e7586bd Update Bangle.js factory apps 2025-11-04 17:00:12 +00:00
Gordon Williams
4e85b79ab4 Linux SDL: Use SDL2, more keys forwarded, allow resizing of gfx window
Fix Linux ARM64 build
Misc tweaks from Pipboy build
2025-11-04 16:39:00 +00:00
Gordon Williams
a40827ddeb docs 2025-10-30 14:30:45 +00:00
Gordon Williams
23ee87b830 fix assert(0) if CRC32 called with nothing in debug build 2025-10-30 10:43:34 +00:00
Gordon Williams
0aec54d65d JIT: Fix floating point constants 2025-10-30 10:20:25 +00:00
Gordon Williams
ff93965f67 Fix escape characters in strings inside templates inside templated strings ${"\n"} 2025-10-30 10:20:25 +00:00
Gordon Williams
f0276bb646 Add median-of-3 for Array.sort (1/3 of the compares for pre-sorted data) 2025-10-30 10:20:25 +00:00
Gordon Williams
9be2e86234 Add fast path to xIntArray.indexOf 2025-10-30 10:20:25 +00:00
Gordon Williams
3776b285b1
Merge pull request #2662 from espruino/dependabot/github_actions/actions/upload-artifact-5.0.0
Bump actions/upload-artifact from 4.6.2 to 5.0.0
2025-10-27 09:30:03 +00:00
dependabot[bot]
7dfa7a5014
Bump actions/upload-artifact from 4.6.2 to 5.0.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.2 to 5.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.6.2...v5.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 01:05:32 +00:00
Gordon Williams
4c4ea2967f Puck.js: E.getTemperature(true) will now use the uC's internal temp sensor (previously only external was possible) 2025-10-23 11:28:59 +01:00
Gordon Williams
67932a14ca
Update README with new link for usage instructions 2025-10-23 10:21:30 +01:00
Gordon Williams
4fa9f75be0 I2C: Fix readReg to ensure it sends I2C STOP after the read
changelog for 626c4e1
2025-10-14 09:41:20 +01:00
rblakesley
9299078c3c Fixed bug where I2C.readReg() was locking up the I2C bus by not sending STOP signal after reading 2025-10-14 09:40:34 +01:00
Gordon Williams
09406404e9 docs 2025-10-02 19:37:57 +01:00
Gordon Williams
0505933d18 Jolt.js: Fix memory leak in Q0/1/2/3.setPower 2025-10-02 19:33:09 +01:00
Gordon Williams
c2be4361e4 oops - fix build 2025-09-26 17:07:20 +01:00
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
c3b26eb831 still ensure we assert for negative manufacturer data 2025-09-26 15:20:55 +01:00
Gordon Williams
592ba9e2e0 change scan_start error check to one that'll report the error without rebooting the device 2025-09-26 15:18:50 +01:00
Gordon Williams
f2b07352b5 nRF5x: Fix assertion failure caused by receiving manufacturer data with 0 length 2025-09-26 15:11:42 +01:00
Gordon Williams
a19042a137 Updated test screen to work better when watch has been idle for a while 2025-09-24 09:12:00 +01:00
Gordon Williams
84ac439f9a new wrapstring test 2025-09-19 08:42:55 +01:00
rblakesley
83513aae44 stm32/jshardware.c - fixed occasional issue with E.rebootToDFU() not working 2025-09-19 08:42:55 +01:00
Gordon Williams
355d736be2 Graphics.wrapString fix issue of line length of the line after a string with multiple dashes in 2025-09-19 08:42:55 +01:00
rblakesley
5f2aafd9e9 Resizable emulator graphics window 2025-09-19 08:42:42 +01:00
Gordon Williams
a75f2a77a7 add ESPR_FS_PREPEND_PATH, other compile fixes 2025-09-12 11:48:23 +01:00
Gordon Williams
a2f13dacb0 ensure sd check only on nrf5x 2025-09-12 08:43:36 +01:00
Gordon Williams
5f0b776748 Fix "this is not available in \1" messages in reference 2025-09-12 08:43:36 +01:00
Gordon Williams
85c48379f3
Merge pull request #2657 from espruino/dependabot/github_actions/actions/setup-python-6
Bump actions/setup-python from 5 to 6
2025-09-08 09:30:11 +01:00