7070 Commits

Author SHA1 Message Date
Gordon Williams
c886fa247b wrap widget draw/load in a try..catch 2021-05-26 16:36:26 +01:00
Gordon Williams
72e3dea851 Remove memory LCD 240px mode as it wasn't very satisfactory 2021-05-26 11:31:43 +01:00
Gordon Williams
1a575167bc update changelog to show fix for https://github.com/espruino/BangleApps/issues/499 2021-05-26 11:20:10 +01:00
Gordon Williams
2cf7137471 memory LCD scrolling, theme fixes 2021-05-26 11:14:36 +01:00
Gordon Williams
1f3f580c5f Bangle.js: Add support for global colour themes which affect g.clear/g.reset 2021-05-26 11:02:07 +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
1d1aadf2e8 syncing branches - pull across some minor changes 2021-05-25 12:04:09 +01:00
Gordon Williams
17eea39deb Making ANCS mode configurable via NRF.setServices({},{ancs:true}) 2021-05-25 11:53:59 +01:00
Gordon Williams
cff03201a0 fix stupid enum mistake that stopped ANCS from working 2021-05-25 11:52:57 +01:00
Gordon Williams
8f1b15ef9e Add ANCS responses, and fix notification uids for 'add' event 2021-05-25 11:50:07 +01:00
Gordon Williams
992e90d8ea Ensure compass doesn't auto-reset between apps. Add resetCompass function to force it 2021-05-25 11:49:39 +01:00
Gordon Williams
de42908034 Switch I2C reads to *not* send a STOP after write 2021-05-24 11:15:49 +01:00
Gordon Williams
c769b8af2c update docs! 2021-05-24 08:29:29 +01:00
Gordon Williams
b95fd1db23 compile fixes/general tweaks after recent merge 2021-05-21 10:47:05 +01:00
Gordon Williams
3cd24ac5ea apply braces around 52832 code as well 2021-05-17 12:50:05 +01:00
Richard Blakesley
28e1307fee Fixed NRF_GPIO_PIN_CNF macro to work safely on port P1 without needing enclosing braces 2021-05-17 12:49:39 +01:00
Gordon Williams
60ea53b968 Disallow template strings in object decls like {hello:1} (fix #2006) 2021-05-17 08:51:06 +01:00
Gordon Williams
4b1301f8ed fix hex parsing code in helpful scripts 2021-05-14 11:42:50 +01:00
Gordon Williams
e8f7e9c1e5 Fixes after recent merge - turns out a few things NACK with I2C (eg Bangle.js IO), so actually checking this breaks it. 2021-05-13 17:01:42 +01:00
Gordon Williams
fc523a6bd3 Remove backlight_inverted additions since it can already be handled automatically by Espruino 2021-05-13 15:02:28 +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
8f015b446e Bangle.js: Don't reset all peripherals when loading a new app, and only
turn peripherals off if unused 500ms after starting new app

# Conflicts:
#	ChangeLog
#	libs/banglejs/jswrap_bangle.c
2021-05-13 11:56:25 +01:00
Gordon Williams
f62b648a28 Add smooth backlight fading 2021-05-13 11:54:07 +01:00
Gordon Williams
50bb6e8b42 Only re-initialise peripherals after a completely fresh boot. Also ensure LCD starts up off, and slowly brightens up
# Conflicts:
#	libs/banglejs/jswrap_bangle.c
2021-05-13 11:43:16 +01:00
Richard Blakesley
c89dbbad27 KX126 accelerometer option now working
...but not yet using the KX126's built-in pedometer.

- softOff is now drawing sensible current
2021-05-13 11:30:47 +01:00
Gordon Williams
28fc4cd872 Graphics: Fix 1bpp custom fonts on 2/4/8 bpp graphics Canvas not being the right colour 2021-05-13 08:57:04 +01:00
Gordon Williams
0f8e1bcdf1 Allow large message buffer for ANCS messages (needed SDK tweakage) 2021-05-11 16:24:03 +01:00
Gordon Williams
e22b5c3e03 ANCS SDK15 tweaks 2021-05-11 16:04:28 +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
162d2224ac ANCS actually working properly 2021-05-11 15:20:02 +01:00
Gordon Williams
ce73039916 Merge branch 'master' into ANCS 2021-05-10 15:37:22 +01:00
Gordon Williams
e533654b19 Don't build in HRM if not needed 2021-05-06 14:10:00 +01:00
Gordon Williams
ec549ed360 make SCK pin explicit 2021-05-04 14:19:38 +01:00
Gordon Williams
e12de357d9 Update step counter - much higher threshold, but also wider frequency response 2021-05-04 14:17:18 +01:00
Gordon Williams
917ceab971 Bangle.js: Ignore touch and swipe events when the LCD is off
Fixes https://github.com/espruino/BangleApps/pull/734#issuecomment-829920718
2021-04-30 09:11:34 +01:00
Gordon Williams
05f371642e tweaked step count filter again 2021-04-29 14:58:55 +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
bd134aba05 More slight step count tweaks 2021-04-29 11:37:55 +01:00
Gordon Williams
c45ac24710 Update step count values based on real-world data 2021-04-29 11:31:55 +01:00
Gordon Williams
2b4e2b39b1 Move to 64 tap filter for step count - less ram and computation, and better step rates 2021-04-29 11:15:18 +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
88f666cb08 Emulator build tweaks 2021-04-19 15:34:35 +01:00
Gordon Williams
7247a2c436 2v09 release RELEASE_2V09 2021-04-19 14:20:54 +01:00
Gordon Williams
45f9f26c15 Add DHE RSA key exchange for TLS/HTTPS (fix #1994) 2021-04-19 14:19:59 +01:00
Gordon Williams
8c51e539c6 Fix issue parsing r=>print((e=>{})(r)) (fix #1992) 2021-04-16 14:06:13 +01:00
Gordon Williams
fb62439d56 Force align 4 to aid with #1996 2021-04-16 12:54:46 +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
6a9934f872 increase MTU for SMAQ3 2021-04-13 16:27:03 +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
bb0810db62 Merge branch 'master' of github.com:espruino/Espruino 2021-04-13 16:02:39 +01:00