59 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
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
ccc441683f Tidy up nag screen ifdef 2024-11-21 11:09:42 +00: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
962560d338 For built-in symbols, pack string offset inside function pointer, saving 2 bytes/symbol if ESPR_PACKED_SYMPTR set (fix #2405) 2024-03-14 13:55:37 +00: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
d3501ab9fa
Update BANGLEJS.py
Comment out Bangle.js 1 with explanation
2024-01-15 16:53:59 +00:00
fanoush
a55878ab0b enable bootloader spi flashing for BANGLE1 2024-01-15 09:58:53 +01:00
Gordon Williams
c1826f612d Added ESPR_NO_SOFTWARE_SERIAL, disable hardware I2C/SPI and re-enable JIT on Bangle.js 1
Based on da38facc65 (commitcomment-125064396)
2023-09-08 11:18:01 +01:00
Gordon Williams
da38facc65 Bangle.js 1: remove OneWire and JIT as it uses too much flash space to exist alongside UTF8+Tensorflow on nRF52 2023-08-18 13:43:07 +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
a9e823dc40 JIT compiler now included in MDBT42Q/Pixl.js/Puck.js/Bangle.js 1 2022-11-07 16:46:43 +00: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
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
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
0c9a8ee0f8 add images 2021-09-02 16:18:07 +01:00
Gordon Williams
100ada0f6f Merge branch 'master' into experimental_compact_vars 2021-08-05 15:37:01 +01:00
Gordon Williams
f7ff30401b F18 compile, but not working now 2021-07-09 12:03:39 +01:00
Gordon Williams
b42000f23b Initial VC31 heartrate code 2021-07-08 17:05:52 +01:00
Gordon Williams
8399b461a9 Bangle.js: Build in ANCS support (disabled by default)Build ANCS support into new firmwares 2021-07-08 11:18:36 +01:00
Gordon Williams
6c37d3743d Report hardware version 2021-06-17 13:24:07 +01:00
Gordon Williams
9cbadbe933 bump available vars slightly 2021-05-28 10:35:35 +01:00
Gordon Williams
32545fdd0e Fix recent Bangle.js regression (screen shuts off when loading new app) 2021-05-25 13:44:37 +01:00
Gordon Williams
afbc0c451c disable ANCS by default for now (it needs to be switchable in software) 2021-05-11 15:30:44 +01:00
Gordon Williams
ce73039916 Merge branch 'master' into ANCS 2021-05-10 15:37:22 +01:00
Gordon Williams
ea78e6c7a1 Bangle.js: Improved HRM calculations - swapped autocorrelation for bandpass filter 2021-04-29 14:58:38 +01:00
Gordon Williams
d338bfbf8a Bangle.js: Significantly improved step counting algorithm using bandpass filter (fix #1846) 2021-04-29 11:00:34 +01:00
Gordon Williams
d529660ada Updated required softdevice to allow DFU updates even if the bootloader is based on 3.1.0 2021-04-14 11:41:41 +01:00
Gordon Williams
d24dc33b8b nRF5x: Allow Espruino builds with a configurable MTU - move Espruino boards to 53 byte (from 23) (#1998) 2021-04-13 16:20:09 +01:00
Gordon Williams
1049974e35 merge in work on new device 2021-01-19 16:13:32 +00:00
Gordon Williams
40583581bc ANCS compiles and boots, unsure if it works yet! 2020-10-30 13:23:27 +00:00
Gordon Williams
24a1808e51 Update JsVars counts for official boards 2020-10-29 10:55:23 +00:00
Gordon Williams
e51836c27b Merge branch 'SMAQ3' 2020-10-26 11:06:51 +00:00
Gordon Williams
9bb75a121b Bangle.js: increase default advertising interval from 375 to 200ms to ease connections 2020-10-23 09:13:09 +01:00
Gordon Williams
f6ca3b7fc4 Merge branch 'master' into SMAQ3 2020-10-19 10:43:57 +01:00
Gordon Williams
de025fe0d2 Adding drawPolyAA 2020-09-30 11:35:51 +01:00
Gordon Williams
3408ea70bd Improve build of F18 and Q3 with same source 2020-09-17 10:07:29 +01:00
Gordon Williams
8a6fdb237c Merge branch 'master' into SMAQ3 2020-09-17 09:44:46 +01:00
Gordon Williams
e2c94dee6c Bangle.js: Fix backlight flicker regression if at part brightness (fix #1925) 2020-09-15 13:26:27 +01:00
Gordon Williams
753cffe2d1 Merge branch 'master' into SMAQ3 2020-09-03 14:22:04 +01:00
Gordon Williams
41b497ef26 Bangle.js: Accelerometer poll handler now uses RTC app_timer, not TIMER1. 1mA->0.5mA standby current (ref #1920) 2020-08-26 16:42:40 +01:00
Gordon Williams
3bf830030e Merge branch 'master' into SMAQ3 2020-07-17 11:46:15 +01:00
Gordon Williams
b68c01bc62 fix comments 2020-07-16 08:22:19 +01:00
Gordon Williams
a4674b065f Accelerometer now working... 2020-07-03 14:50:29 +01:00
Gordon Williams
526c6871f8 allow bootloader to use all the space 2020-05-14 13:14:55 +01:00
Gordon Williams
5500a35b2d remove tensorflow define - not needed 2020-05-11 15:00:05 +01:00
Gordon Williams
99328bdbd2 Bangle.js: Remove dumping of hardware state - saves some flash memory
microbit: Remove dumping of hardware state - saves some flash memory
2020-05-05 16:08:47 +01:00
Gordon Williams
9b9b4fa76b Bangle.js: Make SPI flash memory map address configurable, and check end bounds (#1807)
Bangle.js: More SPI flash memory map address to 0x60000000 to avoid ARM/nRF52 registers
2020-04-27 15:09:03 +01:00
Gordon Williams
818fdd6771 Bangle.js: Use 'locale' library to translate E.showMenu/Prompt/Alert/etc
Bangle.js: remove graphical_menu lib and inline specialised version into E.showMenu
2020-03-05 09:56:26 +00:00