7053 Commits

Author SHA1 Message Date
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
Gordon Williams
2792f3617b
Merge pull request #1998 from fanoush/f-configurable-mtu
add configurable MTU
2021-04-13 16:01:54 +01:00
Gordon Williams
62d9ed7605 Add __aeabi_dsub replacement to save more space on Microbit1 2021-04-13 16:01:43 +01:00
Gordon Williams
a3b71fed2b Update S132 Softdevice from 3.0.0 to 3.1.0 (fix #1999) 2021-04-13 14:24:49 +01:00
Gordon Williams
b8604130be Ensure Micro:bit blocklist takes effect, drop palette interpreting in extremely low flash builds, general micro:bit v1 build fixes 2021-04-13 13:53:40 +01:00
fanoush
3744cf1cb6 fix typo in 52840 linker script, revert to original values 2021-04-12 19:50:43 +02:00
fanoush
68f6702556 add configurable MTU 2021-04-12 15:56:45 +02:00
Gordon Williams
1da552100c docs 2021-04-09 10:39:23 +01:00
Gordon Williams
bdd2977453 Fix remaining low power pin watch regression - Bangle.off now works again (fix #1995) 2021-04-07 16:13:01 +01:00
Gordon Williams
14969b40e9 Fix bootloader build after app_config change 2021-04-07 16:12:23 +01:00
Gordon Williams
173721f9f3 Another tweak for #1995 2021-04-07 15:08:40 +01:00
Gordon Williams
08f2e84b32 Fix read after setWatch regression (#1995) 2021-04-07 15:07:24 +01:00
Gordon Williams
746a4c0399 Fix SDK15 UART builds - we need to properly run through the old sdk_configs and figure out what's different in each of them 2021-04-06 16:24:49 +01:00
Gordon Williams
84740110c4 Modifications to fix issues with 'low accuracy' GPIOTE (#1995) 2021-04-06 15:50:22 +01:00
Gordon Williams
ba7322bb64 nRF5x: Move from separate sdk_config.h to a single targets/nrf5x/app_config.h file 2021-04-06 15:47:55 +01:00
Gordon Williams
b499289b1d Allow bootloader version update to the *same* bootloader version 2021-03-24 13:41:55 +00:00
Gordon Williams
5503e6bc06 Merge branch 'master' of github.com:espruino/Espruino 2021-03-22 10:03:04 +00:00
Gordon Williams
d7245d1c5b E.getSizeOf() and trace() now don't recurse into references back to the global scope (makes sizes and traces far more useful) 2021-03-22 10:00:11 +00:00