6210 Commits

Author SHA1 Message Date
Gordon Williams
0987f17941 Merge remote-tracking branch 'origin/experimental_compact_vars' into graphical_memory 2019-11-13 14:16:32 +00:00
Gordon Williams
6596b29903 set lower var size for visualisation 2019-11-13 14:03:09 +00:00
Gordon Williams
e3d6a9f8c8 Merge branch 'master' into graphical_memory 2019-11-13 14:02:06 +00:00
Gordon Williams
8bdc46ec4f fix rendering of transparency in image strings 2019-11-13 10:08:33 +00:00
Gordon Williams
e5521e003d minor tweaks 2019-11-12 16:43:16 +00:00
Gordon Williams
f1eff0a046 nRF52: fix issue where restarting the softdevice would reset the RTC
- fixes Bangle.js watchdog reset
2019-11-12 16:42:39 +00:00
Gordon Williams
9237f6d0ee fix ESP8266/32 build regressions 2019-11-12 16:34:40 +00:00
Gordon Williams
81d0a38086 allow separate beuilding of docs 2019-11-12 15:16:12 +00:00
Gordon Williams
ebf2afa580 fix build on boards without a terminal 2019-11-12 15:16:01 +00:00
Gordon Williams
6553063ee0 Added E.defrag to perform defragmentation - still beta! 2019-11-12 15:15:36 +00:00
Gordon Williams
58a7ab0ef9 Add BANGLEJS DFU builds 2019-11-12 14:26:44 +00:00
Gordon Williams
5fded05f7b Improve free list ordering when Flat Strings are freed 2019-11-12 14:26:01 +00:00
Gordon Williams
e230148625 improve docs making 2019-11-07 16:12:27 +00:00
Gordon Williams
9a3d0ed5f4
Create FUNDING.yml 2019-11-07 10:00:08 +00:00
Gordon Williams
5439331ac8 Fix GPS date being 1 month off :) 2019-11-06 13:09:52 +00:00
Gordon Williams
34c1f98900 Fix random scrolling on terminal 2019-11-06 13:06:47 +00:00
Gordon Williams
45bcd987ad Bangle.js now doesn't display logo if using 'load' (avoids flicker when going back to clock).
Added step counter
2019-11-06 08:54:33 +00:00
Gordon Williams
9ce4c48628 Add bangle logo 2019-11-05 11:14:43 +00:00
Gordon Williams
ab335b39f0 Bangle.js add 2 bit option for nice smooth grayscale images 2019-11-04 13:49:02 +00:00
Gordon Williams
b9a9c1cdb3 Added built in gestures 2019-11-04 12:22:45 +00:00
Gordon Williams
a61412bb76 Pixl.js - check '.splash' file at startup and use it for splash screen if it's there 2019-11-04 09:40:34 +00:00
Gordon Williams
e78ba062ca Fix Bangle.js fillrect when screen is scrolled such that it goes past the end of memory and starts again at the beginning 2019-10-31 15:42:05 +00:00
Gordon Williams
0b88bc0c27 Now use BTN3 to go back to the clock 2019-10-31 15:39:53 +00:00
Gordon Williams
a96bf2c659 Added E.showPrompt, E.showAlert for Bangle.js
Also start responding to button pressed on IRQ rather than polling
2019-10-31 15:34:54 +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
7c07e265d2 bigger menu font 2019-10-31 09:41:30 +00:00
Gordon Williams
21cc174052 nRF5x: Ensure gatt.connect silently succeeds if we're already connected to the device 2019-10-29 13:12:08 +00:00
Gordon Williams
e5c8a6bdf4 Now storage is faster and supports appends it makes sense to use more of our flash chip 2019-10-28 11:23:43 +00:00
Gordon Williams
e07effb00d Add argument check for heatshrink compress/decompress 2019-10-28 11:02:43 +00:00
Gordon Williams
10e966fca6 Significantly faster flash writes on Bangle.js 2019-10-25 15:35:36 +01:00
Gordon Williams
a1d2371016 Ensure a buttonpress goes to the menu right after the timeout, not just when released 2019-10-25 15:34:08 +01:00
Gordon Williams
dec24bdc4d Only store command history if commands <500 chars. Should help with memory usage/fragmentation during uploads 2019-10-25 15:19:39 +01:00
Gordon Williams
c2e04272b5 Add code for fast data transfer to LCD 2019-10-25 15:19:02 +01:00
Gordon Williams
46b8be07ba add charge event 2019-10-25 09:53:17 +01:00
Gordon Williams
a3b361c2a7 ensure device flags are volatile 2019-10-25 09:52:52 +01:00
Gordon Williams
ef02346814 Add a fast path for non-rotated non-scaled Graphics.drawImage 2019-10-25 09:52:35 +01:00
Gordon Williams
36baa8d898 Add XON/XOFF flow control to Bluetooth LE UART (on by default)
Lower thresholds for XON/XOFF to give more headroom with devices that are slow to respond
2019-10-24 14:52:40 +01:00
Gordon Williams
905e4335de Merge branch 'master' into bluetooth-flow-control 2019-10-24 13:48:41 +01:00
Gordon Williams
dee73b5fae abstract away custom battery percentage info, increase screen timeout to 30s 2019-10-24 11:55:46 +01:00
Gordon Williams
759f41ffa2 add fast path for scaled image blit 2019-10-23 18:10:09 +01:00
Gordon Williams
041827718b Allow drawString with a filled background, which allows flickerless writing on non-double-buffered screens
fillRect now takes a color
2019-10-23 17:02:29 +01:00
Gordon Williams
0dfc922100 Just use ints when passing coordinates around. Using short just added about 1k of extra code! 2019-10-23 16:24:39 +01:00
Gordon Williams
41d5593fb7 Can now get a data pointer even from a single JsVar string (it doesn't have to be flat)
Add option to specify a palette when drawing images with drawImage
2019-10-23 16:00:10 +01:00
Gordon Williams
52ba4833cb first go at flow control - doesn't seem to be working 2019-10-23 14:12:26 +01:00
Gordon Williams
039a20787b nRF52: Fix 'BLE task completed that wasn't scheduled' warning regression (peripheral disconnect) 2019-10-22 11:17:09 +01:00
Gordon Williams
e62b692661 reset LCD power timeout each time device restarts 2019-10-21 16:24:40 +01:00
Gordon Williams
0c0f103940 nRF5x: Add NRF.filterDevices to allow scanned devices to be easily filtered after scanning 2019-10-21 15:15:53 +01:00
Gordon Williams
11a9bd79c4 being an idiot again - fix regression in flash write on Bangle 2019-10-18 20:10:08 +01:00
Gordon Williams
85024575f6 If we're using paletted graphics with a 4 bit output then do a palette lookup for setColor.
Also avoid doing palette lookup if not rendering to 16 bit Graphics - offscreen rendering would have been killed otherwise.
2019-10-18 15:03:12 +01:00
Gordon Williams
dea624de49 tweak 2019-10-18 15:02:01 +01:00