57 Commits

Author SHA1 Message Date
Gordon Williams
e8096a287f Remove Line Number handling code (most code will be run out of Storage now, where we know the line number)
Debugger now uses jslPrintPosition to print file+line+col
2025-05-23 17:10:21 +01:00
Gordon Williams
143576a894 Bangle.js2/Jolt.js: Increase GAP_EVENT_LENGTH to allow coded phy connections (1.2k more RAM used) 2025-05-02 14:48:18 +01:00
Gordon Williams
a3e938b8ab Adjust built-in font sizes to ensure better vertical alignment 2025-03-06 14:38:51 +00:00
Gordon Williams
e6486350b1 Add new custom-tweaked 30px font, Make findFont work with Bangle.js 1 2025-03-06 12:13:20 +00:00
Gordon Williams
b84c0f49ab Add findFont function for Bangle.js 2, use in showPrompt/showMessage
Note: this breaks Bangle.js 1 E.showMessage for now (until we have findFonts)
2025-03-05 15:45:49 +00: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
Gordon Williams
6020229abf
Merge pull request #2537 from fanoush/f-swdcon-pr
SWD console via RTT
2024-12-09 10:24:08 +00:00
Simon Sievert
f3d02a4cd6
Bangle.js2: Enable crypto AES CCM 2024-11-26 13:54:29 +01:00
Gordon Williams
ccc441683f Tidy up nag screen ifdef 2024-11-21 11:09:42 +00:00
Gordon Williams
4954da67d4 Bangle.js2: Including Layout module in internal flash 2024-11-04 11:37:21 +00:00
fanoush
8781ed601e
SWDCON enable fix 2024-08-08 10:04:05 +02:00
fanoush
4dbecba26b
enable SWDCON for Bangle 2 2024-08-08 10:02:00 +02:00
fanoush
933b96ceab
Merge branch 'espruino:master' into f-swdcon 2024-08-08 09:44:25 +02:00
fanoush
205a5df834 console over SWD
uses customized SEGGER RTT
2024-08-08 08:07:09 +02:00
Gordon Williams
0f471f5b3d Fix for unexpected power draw on newest batch of Bangle.js devices 2024-07-01 11:56:55 +01:00
Simon Sievert
0eb7d73a56
ble: allow configuring device privacy
This allows using a random private resolvable address to prevent being tracked.

Currently only enabled on Bangle.js 2.
2024-06-01 13:05:46 +02:00
Gordon Williams
f322090963 Add NO_BLOCKLY pinfunction, to allow us to hide pins from blockly to make it more user friendly 2024-03-08 15:20:38 +00:00
Gordon Williams
a9651ecd37 nRF52 SDK15: Fix UART when >1 central link enabled
Bangle.js2: Allow 2 central links at once
2023-09-13 15:16:38 +01:00
Gordon Williams
10dce25c8d Making pebble fonts defineable with ESPR_PBF_FONTS, add to ChangeLog 2023-06-06 16:49:23 +01:00
Gordon Williams
8cbcbefdca Ensured unicode support is hidden behind ESPR_UNICODE_SUPPORT 2023-06-06 16:22:22 +01:00
Gordon Williams
42e336f4ac VC31 algorithm doesn't pass floats at all, so actually it doesn't care about hard/softfp
So we've removed .ARM.attributes from those files and moved back to softfp for Bangle.js 2 like other devices: https://forum.espruino.com/conversations/385922/#comment16955514
2023-04-25 12:45:41 +01:00
Gordon Williams
21e7dd8061 Bangle.js2: Switched to proprietary heart rate algorithm (from our Open Source version). It just works better. 2023-04-24 14:55:25 +01:00
Gordon Williams
da55fb1de0 oops - typo 2022-12-14 16:18:39 +00:00
Gordon Williams
750b7d6365 oops - actually 32 was the sweet spot. 64 is as slow as 16 2022-11-18 16:05:37 +00:00
Gordon Williams
b4b083813c Bangle.js2: Increase flash buffer size from 32->64 bytes (5% performance increase) 2022-11-18 16:00:26 +00:00
Gordon Williams
02bca1fe02 Enable dual output fast read external flash mode for Bangle.js 2 2022-11-18 14:32:22 +00:00
Gordon Williams
1ff5d8ec03 Well that sucked. When we moved to 4bpp we were loads faster to draw to graphics, but the transfer speed to the LCD was 33% slower and it turns out that really hit us
Instead go back to 3bpp and having learnt some lessons, try and make it a little faster
2022-11-02 15:12:21 +00:00
Gordon Williams
d42b09a5f6 Bangle.js2: Switch to 4 bit LCD mode (3900b wasted, but 5x fill speed increase) 2022-11-02 14:44:49 +00:00
Gordon Williams
385fd06e55 re-add tensorflow after it was accidentally removed 2022-09-06 15:44:45 +01:00
Gordon Williams
e59b07a736 Improved document generation - and github links now point to that commit so the line numbers always match up 2022-07-28 15:32:46 +01:00
Gordon Williams
bfe8028207 Tidy up JIT, fix known memory leaks, add postfix and unary ops
Bangle.js2: JIT now built in (only enabled for functions prefixed '"jit"')
E.dumpVariables now outputs more info for variable values
2022-06-16 16:23:40 +01:00
Gordon Williams
516ae6011c Bangle.js2: Double input buffer size from 1kb to 2kb 2022-04-21 10:34:14 +01:00
Gordon Williams
5942073e9f Bangle.js2: Battery discharge curve is now scaled better, and setting.json:batFullVoltage can be used to account for differences in sense voltage between devices 2022-03-08 10:04:52 +00:00
Gordon Williams
4a7d30f4be Bangle.js: Add 'graphicsInternal' to make Graphics independent of JS vars. Terminal is now useful earlier, and can display softdevice errors 2022-01-31 16:35:38 +00:00
Gordon Williams
a31ff2129c Support foBangle.js: Support for v2.1 barometer hardware (SPL06 vs BMP280)Bangle.js: Support for v2.1 barometer hardware (SPL06 vs BMP280) 2022-01-19 13:17:53 +00:00
Gordon Williams
2cb3d331d4 Bangle.js2: Add a 32 entry cache to speed up finding common files - improves app load times 2021-11-26 17:52:14 +00:00
Gordon Williams
a7c4b00cf5 Bangle.js2: Ensure antialiased line routines are built in 2021-11-26 08:27:49 +00:00
Gordon Williams
919e3bcd72 Bangle.js2: Disable unboard flash bank for now (issues with erase on reboot) 2021-11-08 11:22:26 +00:00
Gordon Williams
65a79b053a Bangle.js2: Add Unistroke object, and 'Bangle.stroke' event 2021-11-03 16:54:53 +00:00
Gordon Williams
03d147ae1f If executing from storage, work out line numbers and print filename for Errors
Bangle.js: Don't store line numbers in functions - no need when execing from flash
2021-10-25 12:52:06 +01:00
Gordon Williams
daaf9941a5 Add crypto functions to Bangle.js 2 2021-10-22 08:13:40 +01:00
Gordon Williams
29c2dd812b Including first untested unistroke conversion to C 2021-10-20 16:09:25 +01:00
Gordon Williams
f3fb29f692 Bangle.js2: Add second Storage area in internal flash for fast access, memory-mapped files 2021-10-19 15:42:33 +01:00
Gordon Williams
82d441b948 Bangle.js 2 new bootloader build 2021-10-19 10:22:01 +01:00
Gordon Williams
0014dcca71 Bangle.js2: Larger font for E.showMenu 2021-10-14 15:53:58 +01:00
Gordon Williams
e601885015 Support for Bangle.js 2 emulator 2021-10-04 21:14:20 +01:00
Gordon Williams
cd1f1da465 Bangle.js 2: Increase reported bit depth from 3->16 and perform bayer dithering when rendering
Makes icons/old apps way more usable (plus provides an easy way to get >3bpp)
2021-09-28 16:26:29 +01:00
Gordon Williams
46534a39f6 comments 2021-09-28 14:53:18 +01:00
Gordon Williams
f6f29ac68e add tensorflow to build 2021-09-27 09:46:09 +01:00
Gordon Williams
0c9a8ee0f8 add images 2021-09-02 16:18:07 +01:00