109 Commits

Author SHA1 Message Date
Gordon Williams
dd9d49cb10 Update docs so that we add links between more code snippets mentioning a function and the actual function 2024-10-25 14:59:07 +01:00
Gordon Williams
b8634fd8e0 JS in the binary now uses jspExecuteJSFunctionCode which helps to skip a parsing step
JS modules that are included are now pretokenised
2024-10-24 12:17:35 +01:00
Gordon Williams
fa73e31031 Add E.getPowerUsage() to get estimated power usage of a device based on what internal hardware is powered on and CPU use 2024-04-24 14:33:19 +01:00
Gordon Williams
0325da029c fix code documentation 2024-04-03 11:18:51 +01:00
Gordon Williams
1a024e26d0 Rename SPI_COUNT/etc to ESPR_SPI_COUNT to avoid conflicts with the nRF52 SDK
fix #2466
2024-02-22 09:47:42 +00:00
Gordon Williams
edc614b323
Fix common.py regression that broke build 2023-12-14 09:58:36 +00:00
brenden adamczak
8878853e9a seems to work with python3 now 2023-12-12 03:02:27 -05:00
Gordon Williams
46e2a8198e Removing some compiler warnings 2023-06-15 11:09:58 +01:00
Gordon Williams
fd62aece7d tidy up output by only outputting callfunction hack if required
Improve jswIsBuiltInObject implementation so it doesn't store separate strings - saves ~200b
2023-05-17 12:35:23 +01:00
Gordon Williams
8fdf73fab0 fast mode doesn't stop on failures, and support for separate 'bin' dirs 2023-01-11 16:21:42 +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
856e425080 Fix Bangle.js 2 barometer regression - #if ..!=0 not working as expected 2022-01-26 15:08:20 +00:00
Gordon Williams
731e6107d8 Fix doc formatting (specifically intented lists) 2021-10-20 09:12:35 +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
7e4d10cda2 Add sortorder to allow init/etc functions to run in the correct order 2021-05-27 13:22:37 +01:00
Gordon Williams
b5894621c0 Misc merge of Dickens changes to bring branches more in line 2021-05-13 12:26:41 +01:00
Gordon Williams
7677d3c9ee update docs 2021-03-09 09:37:47 +00: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
2730f33988 Changes to make it easier to compile with unmodified newer SDKs - Nordic started messing with the usage of the NRF52 keyword in new SDKs and this should avoid having to patch them 2020-09-23 14:47:07 +01:00
Gordon Williams
753cffe2d1 Merge branch 'master' into SMAQ3 2020-09-03 14:22:04 +01:00
Gordon Williams
8446a36fe9 improve board reference info 2020-08-20 16:07:49 +01:00
Gordon Williams
9cbbd301f6 Merge branch 'master' into SMAQ3 2020-08-06 10:59:45 +01:00
Gordon Williams
c2f9a929aa micro:bit: Re-added tab complete (enough space now)
micro:bit: Added a fake pin for LED/LED1 that uses the LED matrix
2020-08-05 12:13:07 +01:00
Gordon Williams
bf5472f796 Fix menu/alert/etc for SMAQ3 2020-07-17 14:41:28 +01:00
Gordon Williams
6ae8090140 Add fake BTN1..BTN3 using right hand side of screen 2020-07-17 13:31:26 +01:00
Gordon Williams
f47da1cd39 Don't build NFC functions into devices that can't do it, and also improve docs on them 2020-07-07 16:37:07 +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
e230148625 improve docs making 2019-11-07 16:12:27 +00:00
Gordon Williams
720738944f Add E.showMenu, deprecate Pixl.menu - use a common function to ease porting between devices 2019-10-31 11:23:04 +00:00
Gordon Williams
dea624de49 tweak 2019-10-18 15:02:01 +01:00
Gordon Williams
d61f9f5bcb New palette, ability to define code to execute on Serial events, GPS data line handling 2019-09-19 17:56:09 +01:00
Gordon Williams
9f86f9a7c0 docs 2019-03-19 13:20:31 +00:00
Gordon Williams
eeb9ec8dd5 nRF52: Add docs for properties that weren't documented before
nRF52: Add ability to connect to device with passkey authentication
2019-01-31 14:23:26 +00:00
Gordon Williams
066cd080f5 describe board for reference 2018-10-16 16:43:28 +01:00
Gordon Williams
f761d1f4a3 Revert "deal with 3 digit releases"
This reverts commit 42fa17a86094e5f96857cffcd6357bcfc215652c.
2018-10-02 11:54:39 +01:00
Gordon Williams
42fa17a860 deal with 3 digit releases 2018-09-28 10:24:21 +01:00
Gordon Williams
7194b86dcc fix handling of 'not' in #if inside JSON 2018-09-26 16:05:55 +01:00
Gordon Williams
24bfd5cede Fix 'this is only available in' docs 2018-04-30 09:58:50 +01:00
Gordon Williams
27d9572ce2 make SHA256/512 switchable 2018-04-26 09:14:30 +01:00
Gordon Williams
a71213ae25 doc tweaks 2018-04-17 17:11:14 +01:00
Gordon Williams
2eb2c519bd nRF52: Add E.getBattery as a more global battery percentage function, deprecate Puck.getBatteryPercentage 2018-04-17 12:47:55 +01:00
Gordon Williams
31eadf25f8 fix setHostname/etc on ESP8266 2018-02-14 08:54:20 +00:00
Gordon Williams
e0ba3ccb24 fix ESP32-specific commands - fix #1336 2018-02-14 08:19:08 +00:00
Gordon Williams
7c2ba180d1 fix issue with '#if' parsing in JSON - removes setIP for ESP32 2018-02-10 09:41:08 +00:00
Gordon Williams
04b2498628 Added SAVE_ON_FLASH_EXTREME for HYSTM32_28, where we're now cutting out some Math.X functionality to keep builds going 2018-02-10 09:27:51 +00:00
Gordon Williams
9ffc516204 trying to bring WiFi docs/functions for Espruino in line on all platforms 2018-02-07 17:30:30 +00:00
Gordon Williams
7157afd421 update descriptions 2018-02-07 08:29:50 +00:00
Gordon Williams
f3ba1023ff Allow JS modules to be built-in by adding files to JSMODULESOURCES 2018-01-16 13:14:38 +00:00