6161 Commits

Author SHA1 Message Date
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
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
Gordon Williams
f9293c6f6f Andreas' tensorflow tweaks to allow quantiszed input 2019-10-18 14:37:45 +01:00
Gordon Williams
0576558e5f updating F5 firmware 2019-10-18 13:57:52 +01:00
Gordon Williams
d208ffd756 More work on tap detect - nothing yet 2019-10-17 17:25:52 +01:00
Gordon Williams
23b824206c Pixl.js: Removed AES functionality - unfortunately we're running low on space for it
Original Espruino Board: Removed Vector font and don't add rotated drawImage to save flash
2019-10-17 16:33:27 +01:00
Gordon Williams
27034d01dc Merge branch 'StorageFile' 2019-10-17 16:10:30 +01:00
Gordon Williams
738a9a9e74 require("Flash").write operations no longer need to be aligned
require("Storage").open added - for appendable files
2019-10-17 16:10:24 +01:00
Gordon Williams
5d5d3fc628 improve auto-on functionality 2019-10-17 12:11:09 +01:00
Gordon Williams
06fad00716 improve auto-on functionality 2019-10-17 12:05:40 +01:00
Gordon Williams
6fc2aa5cab first try with StorageFile implementation 2019-10-16 17:30:23 +01:00
Gordon Williams
86bff64e39 fix stringification of \xff on desktop 2019-10-16 17:29:26 +01:00
Gordon Williams
c6930d8930 fix graphical bootloader regression 2019-10-16 14:54:36 +01:00
Gordon Williams
6d52308886 Add .beep and buzz 2019-10-16 14:54:22 +01:00
Gordon Williams
883d77e984 fix mistake in sendmany filler 2019-10-16 14:38:17 +01:00
Gordon Williams
6a19652cf0 Add gesture recording into firmware 2019-10-16 11:32:49 +01:00
Gordon Williams
8e777dd169 tweak 2019-10-15 17:19:15 +01:00
Gordon Williams
da888985f2 better tf support 2019-10-15 14:15:04 +01:00
Gordon Williams
fd41f130a9 idiot 2019-10-15 14:13:38 +01:00
Gordon Williams
e207ac91a3 Merge branch 'nonflat_heatshrink' 2019-10-14 14:22:18 +01:00
Gordon Williams
9e23da4d95 faster loads - read and buffer FlashRead data.
Fix last commit's handling of large data to compress
2019-10-14 14:21:43 +01:00
Gordon Williams
611ba55411 support more tensor types 2019-10-14 12:16:12 +01:00
Gordon Williams
4f87b41cc5 tf2 2019-10-14 11:44:14 +01:00
Gordon Williams
57df928895 Allow heatshrink compress/decompress to work even if flat buffers can't be allocated - storage read may need work 2019-10-14 11:33:53 +01:00
Gordon Williams
e4a306e364 bring old f5 more in line with the new watch 2019-10-11 15:23:36 +01:00
Gordon Williams
75bc0132c0 re-add f5 variant 2019-10-11 14:56:58 +01:00
Gordon Williams
5fa9c7d770 fix GPS time's timezone 2019-10-11 14:29:02 +01:00
Gordon Williams
ec2230f700
Merge pull request #1697 from AkosLukacs/patch-3
Does this fix the Puck build?
2019-10-11 13:44:12 +01:00
Ákos Lukács
90b565f808
Does this fix the Puck build?
Don't over bangle yourself Gordon :)
2019-10-10 22:23:07 +02:00
Gordon Williams
42be59b3eb fix regression that made DFU packages stop working 2019-10-10 14:32:29 +01:00
Gordon Williams
1b8ce18cea Allow a configurable poll interval, and lower accelerometer output rate to 25Hz 2019-10-10 13:46:35 +01:00
Gordon Williams
7e6661cdde Add gps fix/satellites count and fix reporting when no fix
Reduce btn1->load timeout to 1.5s
make counters based on ms (to allow different poll frequencies)
magnetometer reports NaN if magnetometer doesn't seem calibrated
2019-10-10 12:24:41 +01:00
Gordon Williams
2306783bbf Banglification 2019-10-09 16:47:46 +01:00
Gordon Williams
68f45f0455 Merge branch 'HACKSTRAP_F18' into HackStrap 2019-10-09 14:03:51 +01:00
Gordon Williams
d995cf1db3 update docs 2019-10-08 10:12:26 +01:00
Gordon Williams
af8fbf547c nRF52: Fix alignment issue with Nordic's SDK12 code that stopped passkey pairing from working sometimes 2019-10-08 09:54:06 +01:00
Gordon Williams
1a4f2864e3 Pixl.js: Move SCK pin used during Neopixel writes to ensure it doesn't interfere with BTN3 2019-10-07 12:40:05 +01:00
Gordon Williams
defc5ba094 fix ESP32 build 2019-10-07 10:57:11 +01:00
Gordon Williams
535e8725c1 nRF5x: Support connection to devices with RANDOM_PRIVATE_RESOLVABLE and RANDOM_PRIVATE_NON_RESOLVABLE addresses 2019-10-07 10:46:42 +01:00
Gordon Williams
a47907deb2 for testing 2019-10-07 10:24:51 +01:00
Gordon Williams
83c32c5f61 squishing bootloader again 2019-10-07 10:23:27 +01:00