6483 Commits

Author SHA1 Message Date
Gordon Williams
94c3311062 fix linux build 2020-05-15 10:15:48 +01:00
Gordon Williams
56d1918f8d Pixl.js: fix self-test/terminal print - write to screen immediately after newline unless in IRQ 2020-05-15 10:14:26 +01:00
Gordon Williams
58c200314a nRF52: Speed up bootloader, remove pauses on Pixl.js 2020-05-15 10:13:53 +01:00
Gordon Williams
9d6370cbbf enable vibrate and beep even if there are no settings 2020-05-14 21:46:02 +01:00
Gordon Williams
e78f33f030 report errors properly
# Conflicts:
#	libs/tensorflow/tensorflow.cc
#	make/misc/tensorflow.make
2020-05-14 15:04:33 +01:00
Gordon Williams
0519629241 Tensorflow: remove some as-yet unused operators to free space 2020-05-14 14:23:20 +01:00
Gordon Williams
526c6871f8 allow bootloader to use all the space 2020-05-14 13:14:55 +01:00
Gordon Williams
8eb58192cb Bangle.js: read setting.json at init and modify Bangle.beep/buzz behaviour accordingly 2020-05-14 11:41:31 +01:00
Gordon Williams
0717a9b29e Now report [ERASED] rather than ?[255] if we hit char code 255 while evaluating 2020-05-14 11:00:54 +01:00
Gordon Williams
22c5531354 nRF52: If passkey or oob is set in setSecurity, ensure that the UART connection requires encryption (fix #1705) 2020-05-13 13:52:51 +01:00
Gordon Williams
5d66c3c336 Fix micro:bit build issue 2020-05-13 09:43:34 +01:00
Gordon Williams
946ef1260b
Merge pull request #1822 from fanoush/f-multiple-boardfiles
use overriden board name from board.info.boardname also for -D$(BOARD) macro definition
2020-05-13 09:39:15 +01:00
fanoush
d4ed9311de use overriden board name from board.info.boardname also for -D$(BOARD) macro definition 2020-05-12 16:12:25 +02:00
Gordon Williams
9517bef63a Fix very recent regression in rotated drawImage alignment 2020-05-12 14:15:32 +01:00
Gordon Williams
5caf0c78c0 Add storage system test 2020-05-12 13:34:22 +01:00
Gordon Williams
f140b7f33a Fix 2v05 regression that stopped process.uncaughtException from working (had been moved to E.uncaughtException) 2020-05-12 13:33:55 +01:00
Gordon Williams
04fe9f2d1b Remove tests for removed functionality 2020-05-12 13:29:18 +01:00
Gordon Williams
57c966b9bc Renaming tests we know fail so it's easier to find regressions 2020-05-12 13:28:13 +01:00
Gordon Williams
4f47cdc9bc Merge jsvStringIteratorGetChar + jsvStringIteratorNext into jsvStringIteratorGetCharAndNext (fix #1816) 2020-05-12 13:16:03 +01:00
Gordon Williams
4070a6acb1 Force font functions not to be inlined to save some space 2020-05-12 11:36:39 +01:00
Gordon Williams
4a391cbbe2 dump() is now aware of pretokenised code (fix #1821) 2020-05-12 11:36:06 +01:00
Gordon Williams
156d2e5ae9 Add ability to tile/repeat images drawn with drawImages 2020-05-11 21:38:43 +01:00
Gordon Williams
86ec5390c4 misc binary size tweaks 2020-05-11 16:58:33 +01:00
Gordon Williams
5500a35b2d remove tensorflow define - not needed 2020-05-11 15:00:05 +01:00
Gordon Williams
4c5dfc4e07 Merge branch 'master' of github.com:espruino/Espruino 2020-05-11 11:47:20 +01:00
Gordon Williams
f551168b75 Storage.writeJSON (fix memory leak) 2020-05-11 11:47:09 +01:00
Gordon Williams
4ae8a6c19f Remove E.interpolate/2D (not used much, just using flash)
Bangle.js: use double math FFT to save a few bytes of flash
2020-05-11 11:46:36 +01:00
Gordon Williams
4a54cadefe padding 2020-05-11 11:46:07 +01:00
Gordon Williams
3466f08ee4
Merge pull request #1817 from fanoush/f-multiple-boardfiles
allow different board name than board filename
2020-05-11 09:10:59 +01:00
Gordon Williams
c3c406b517 Graphics: added drawImages to allow layers of rotated/scaled images to be composited 2020-05-07 22:05:48 +01:00
Gordon Williams
df2ec60b5c tweak for 16 bit write 2020-05-07 21:36:00 +01:00
Gordon Williams
c020dc37de Merge branch 'master' into drawImages 2020-05-07 21:30:20 +01:00
Gordon Williams
801f68296b Graphics: fix lock leak in g.reset()/g.clear(1) 2020-05-07 21:29:57 +01:00
Gordon Williams
a25b766e92 Add rotate/scale, fix 2 bit image draw issue (left over from before) 2020-05-07 21:27:40 +01:00
fanoush
101b6bb3f0 allow different board name than filename
this allows multiple board files for same board with different build options (like e.g. different SDK version or build options)
2020-05-07 20:50:46 +02:00
Gordon Williams
c73fcc989a Fix drawImage 2020-05-07 17:01:57 +01:00
Gordon Williams
98bb9029a7 refactor to share code and add drawImages - drawImages works, drawImage now broken 2020-05-07 16:33:10 +01:00
Gordon Williams
463e4f1662 more refactoring 2020-05-07 14:45:44 +01:00
Gordon Williams
2646e125f1 Big refactor - extract common image parsing code 2020-05-07 14:37:56 +01:00
Gordon Williams
a2e37c390c STM32: Fix 2v05 regression in hardware SPI.write (RX timeout) 2020-05-07 13:29:53 +01:00
Gordon Williams
b50ad45753 Graphics.createArrayBuffer now honors msb:true if bpp>8
Graphics.asImage: handle >8bpp correctly (fix #1797)
            Graphics.asImage: Allow 'string' output type, reference Graphics buffer if possible
2020-05-07 11:20:23 +01:00
Gordon Williams
9e31e74722 Third (no-network) zip option for original Espruino 2020-05-07 10:27:13 +01:00
Gordon Williams
26cb781949 Bangle.js: fix 'speed' units for built-in locale 2020-05-07 08:22:32 +01:00
Gordon Williams
58d52a1a9a Update espruinoboard docs 2020-05-06 15:30:02 +01:00
Gordon Williams
c6d011c7aa Bangle.js: fix 'short' time for built-in locale 2020-05-06 08:45:14 +01:00
Gordon Williams
d54373100c Allow rendering direct from flash memory and other image types (slightly hurts performance for big memory areas) 2020-05-05 16:10:01 +01:00
Gordon Williams
99328bdbd2 Bangle.js: Remove dumping of hardware state - saves some flash memory
microbit: Remove dumping of hardware state - saves some flash memory
2020-05-05 16:08:47 +01:00
Gordon Williams
2916dff9d6 disable quad bezier for now. Uses 700 bytes of flash which is enough to get Bangle firmware building again 2020-05-05 15:01:34 +01:00
Gordon Williams
23990334fc Graphics.drawImage: Allow 8 bit palettes to be specified 2020-05-05 14:47:19 +01:00
Gordon Williams
756f06efa8 Fix issue where it was possible to get an address of a non-memory-mapped FlashString 2020-05-05 11:57:16 +01:00