Gordon Williams
4a54cadefe
padding
2020-05-11 11:46:07 +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
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
Gordon Williams
b514195d28
Graphics.drawImage docs improvements ( fix #1812 )
2020-05-05 11:06:12 +01:00
Gordon Williams
6e7d5b780d
Bangle.js: drawImage - add fast path for non-transparent 1 or 8bpp image blit ( fix #1794 )
2020-05-05 11:00:45 +01:00
Gordon Williams
14c5de8a15
oops - fixes trex game
2020-05-04 17:04:09 +01:00
Gordon Williams
d29a7cdf09
Enable Graphics arraybuffer optimisations on all but low-end devices
...
Add specific Graphics optimisations for 1 and 8 bit rendering
2020-05-04 16:59:46 +01:00
Gordon Williams
278abac468
Bangle.js: Big speed improvements for 120x120 and 80x80 gfx modes
2020-05-04 16:20:03 +01:00
Gordon Williams
189cd31b52
fix linux build issue
2020-04-30 10:27:38 +01:00
Gordon Williams
46da35ab25
Puck.js v1: Fix regression that stopped Puck.IR(data) working - Puck.IR(data,D26,D25) required
...
Puck.js v2: Ensure FET is used for IR output, fix selfTest errors for IR and Blue LED
2020-04-30 10:09:17 +01:00
Gordon Williams
2c256b77a3
Merge pull request #1808 from fanoush/patch-1
...
calculate free flash space also for SPI flash and for code both in internal and external flash
2020-04-30 09:57:34 +01:00
fanoush
265ab03203
calculate free flash space also for SPI flash and for code both in internal and external flash
...
- fix bug that with SPIFLASH enabled and code in external flash reported free flash size is very large and wrong
- add both internal and external flash as separate parts, handle also saved code in the middle of SPI flash
2020-04-29 19:05:51 +02:00
Gordon Williams
41028995b2
Pixl.js: Fix E.showMessage
2020-04-29 11:17:48 +01:00
Gordon Williams
5935b3bd52
Bangle.js: allow custom splash screen with .splash file
2020-04-29 08:26:43 +01:00
Gordon Williams
0109c4a0de
nRF52: Fix issue with fast Notifications causing Notification data to be duplicated
...
http://forum.espruino.com/conversations/345949
2020-04-28 16:13:10 +01:00
Gordon Williams
9b9b4fa76b
Bangle.js: Make SPI flash memory map address configurable, and check end bounds ( #1807 )
...
Bangle.js: More SPI flash memory map address to 0x60000000 to avoid ARM/nRF52 registers
2020-04-27 15:09:03 +01:00
Gordon Williams
c104311726
Fix 1-byte overflow when using UDP ( #1799 )
...
Remove 1-byte padding in Graphics lib
2020-04-27 13:44:05 +01:00
Gordon Williams
40a863e39d
Don't store line numbers for pretokenised functions
2020-04-23 16:41:28 +01:00
Gordon Williams
35bbfefae8
Well that was easy. Allow "ram" keyword at the top of a function to allow it to be pretokenised and loaded to RAM
2020-04-23 14:40:56 +01:00
Gordon Williams
003a336152
tweak
2020-04-21 16:41:50 +01:00
Gordon Williams
084dd0b6fa
Merge branch 'master' of github.com:espruino/Espruino
2020-04-20 10:10:51 +01:00
Gordon Williams
4930c124b7
docs fix #1695
2020-04-20 10:10:29 +01:00
Gordon Williams
c998d8b6f9
Merge pull request #1802 from fanoush/patch-1
...
fix NRF.restart() on SDK14 and up
2020-04-20 09:03:11 +01:00
fanoush
6719250b94
fix NRF.restart() on SDK14 (and up?)
...
fix for
>NRF.restart()
NRF ERROR 0x8 at targets/nrf5x/bluetooth.c:2219
REBOOTING.
2020-04-19 14:45:21 +02:00
Gordon Williams
6c927e23c7
tweak changelog
2020-04-17 16:10:35 +01:00
Gordon Williams
990dac3503
Espruino Original: Removed Debugger, Tab complete, AT command networking from WIZnet networking build to free enough Flash
...
Espruino Pico: Added a normal build that doesn't contain CC3000 or WIZnet support
Espruino Pico: Removed Debugger and Vector font from WIZnet/CC3000 networking versions to free enough Flash
RELEASE_2V05
2020-04-17 14:51:02 +01:00
Gordon Williams
daec4c2ece
Bangle.js: fix magnetometer self-calibration
2020-04-17 08:48:58 +01:00
Gordon Williams
b96a7abef8
Bangle.js: fix post-kickstarter issue adding widgets in bottom of screen ( #1790 )
2020-04-17 08:39:30 +01:00
Gordon Williams
96248cbb14
Fix Storage.write duplicate file issue in some rare cases ( fix #1801 )
2020-04-16 17:08:37 +01:00
Gordon Williams
bc8d75ba60
Fix array sort when compare fn returns floats <1 ( fix #1798 )
2020-04-15 09:09:42 +01:00
Gordon Williams
9eb7bcf631
Fix restriction on StorageFile filename length (8 to 28)
...
Improve Storage docs
2020-04-08 13:26:20 +01:00
Gordon Williams
e54588521b
move storage check - it seems doing it too early on Bangle.js can cause 0 to be read, which makes it think storage is invalid and erases everything
2020-04-07 11:00:24 +01:00