20 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
bec9266224 Tweaks to ensure we can still compile with Emscripten 2025-05-23 14:10:38 +01:00
Gordon Williams
b86ab416cc Remove debugger from emulator
also remove hard-coded ifdef for ESP8266 - it can just be put in board files now
2024-05-09 12:36:42 +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
e601885015 Support for Bangle.js 2 emulator 2021-10-04 21:14:20 +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
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
7b036adb65 Merge branch 'master' into experimental_compact_vars
# Conflicts:
#	Makefile
#	boards/LINUX.py
#	libs/graphics/jswrap_graphics.c
#	src/jsvar.h
2020-10-29 10:01:17 +00:00
Gordon Williams
de025fe0d2 Adding drawPolyAA 2020-09-30 11:35:51 +01:00
Gordon Williams
21168a2b29 Add flash storage support to emscripten build 2020-06-11 15:46:28 +01:00
Gordon Williams
22711ebb40 bump for release
Kick Watchdog when erasing flash (it can take so long on 4MB external flash that it reboots)
Add locale to emscripten build
2020-03-11 16:38:35 +00:00
Gordon Williams
823fd9aeff Merge branch 'master' into experimental_compact_vars
Also enable the callfunction hack for i386

# Conflicts:
#	boards/LINUX.py
2019-12-10 15:17:46 +00:00
Gordon Williams
3751dc8453 Add terminal and lowres modes to emulator, and attempt to remove as many emscripten-related hacks as possible so we follow Bangle.js closely 2019-12-03 11:01:36 +00:00
Gordon Williams
87b37b0d97 adding TF compile 2019-12-02 17:34:18 +00:00
Gordon Williams
db86baf13c handle simple IO and watches 2019-11-25 16:22:19 +00:00
Gordon Williams
e69770722a Added ability to compile Espruino to JavaScript with Emscripten 2019-11-25 12:16:30 +00:00
Gordon Williams
3b7417458e semi-working emscripten compile 2019-11-24 15:59:34 +00:00