46 Commits

Author SHA1 Message Date
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
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
Gordon Williams
bea3501818 minor refactoring to allow other emulators to be built more easily 2021-08-25 12:14:43 +01:00
Gordon Williams
100ada0f6f Merge branch 'master' into experimental_compact_vars 2021-08-05 15:37:01 +01:00
Gordon Williams
b42000f23b Initial VC31 heartrate code 2021-07-08 17:05:52 +01:00
Gordon Williams
43a0ae9ae1 Bangle.js 2: 'factory default' set of JS now included inside firmware 2021-07-08 11:14:53 +01:00
Gordon Williams
c5210452a4 Bangle.js 2 - remove LED1=backlight, and add 2x fake LEDs instead 2021-07-01 14:26:18 +01:00
Gordon Williams
d8fb779c57 Include 6x15 font for Bangle.js 2 and use it for built-in menus 2021-06-30 13:17:19 +01:00
Gordon Williams
1d7abbe3b4 Rename SMAQ3 board to BANGLEJS2 2021-06-24 16:32:43 +01:00