595 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
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
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
45f9f26c15 Add DHE RSA key exchange for TLS/HTTPS (fix #1994) 2021-04-19 14:19:59 +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
iYaroslav
8432b75746 Fix Python 3.9 compatibility 2021-03-18 21:31:45 +05:00
Gordon Williams
7677d3c9ee update docs 2021-03-09 09:37:47 +00:00
Gordon Williams
1049974e35 merge in work on new device 2021-01-19 16:13:32 +00:00
Gordon Williams
90e17d1a41 fix provisioning for SDK15 to allow bootloader to compile 2020-11-24 08:36:17 +00:00
Gordon Williams
79117c93f2 Merge branch 'master' into NRF_SDK17 2020-10-29 16:33:45 +00:00
Gordon Williams
f6ca3b7fc4 Merge branch 'master' into SMAQ3 2020-10-19 10:43:57 +01:00
Gordon Williams
61b0c2bef6 Remove HYSTM32 builds as it's not being used much any more 2020-10-13 11:13:54 +01:00
Gordon Williams
dfe2f24943 Tweaks to enable micro:bit 1 and 2 builds 2020-10-13 10:50:34 +01:00
Gordon Williams
a87bce2b00 Original Espruino Board: remove E.FFT in network-enabled builds (freeing up flash memory) 2020-10-12 10:18:14 +01:00
Gordon Williams
de025fe0d2 Adding drawPolyAA 2020-09-30 11:35:51 +01:00
Gordon Williams
f30d6f60ba Add extra checks to ensure nRF52 sections don't intrude into saved code area
Remove SHA256 from Pixl.js build to free up a little extra space
2020-09-24 10:59:22 +01:00
Gordon Williams
2730f33988 Changes to make it easier to compile with unmodified newer SDKs - Nordic started messing with the usage of the NRF52 keyword in new SDKs and this should avoid having to patch them 2020-09-23 14:47:07 +01:00
Gordon Williams
bf5361da6c More time wasted due to Nordic's usual 'hey, let's randomly change EVERYTHING' approach to new SDK versions
Not even bothered testing - it won't work - but at least it builds now
2020-09-23 14:26:35 +01:00
Gordon Williams
bb99dd861b prep for release 2020-09-22 14:04:55 +01:00
Gordon Williams
cf76147a14 fix documentation formatting 2020-09-21 15:42:51 +01:00
Gordon Williams
753cffe2d1 Merge branch 'master' into SMAQ3 2020-09-03 14:22:04 +01:00
Gordon Williams
426ac06a62 Ensure software SPI/I2C/Serial don't leak a variable when initialised 2020-08-31 12:45:16 +01:00
Gordon Williams
8446a36fe9 improve board reference info 2020-08-20 16:07:49 +01:00
Gordon Williams
9cbbd301f6 Merge branch 'master' into SMAQ3 2020-08-06 10:59:45 +01:00
Gordon Williams
c2f9a929aa micro:bit: Re-added tab complete (enough space now)
micro:bit: Added a fake pin for LED/LED1 that uses the LED matrix
2020-08-05 12:13:07 +01:00
Gordon Williams
8eaa4278cb Add EXTCOMIN toggling - thanks @atc1441! 2020-07-24 08:28:26 +01:00
Gordon Williams
bf5472f796 Fix menu/alert/etc for SMAQ3 2020-07-17 14:41:28 +01:00
Gordon Williams
6ae8090140 Add fake BTN1..BTN3 using right hand side of screen 2020-07-17 13:31:26 +01:00
Gordon Williams
ae0472e510 Add SPI flash for storage, and touch support 2020-07-14 16:55:21 +01:00
Gordon Williams
c14f207c83 Merge branch 'master' into SMAQ3 2020-07-14 15:10:24 +01:00
Gordon Williams
f49f7fb444 Shrink new vector font sizes to allow multi-line use (fix #1873) 2020-07-13 11:17:24 +01:00
Gordon Williams
f47da1cd39 Don't build NFC functions into devices that can't do it, and also improve docs on them 2020-07-07 16:37:07 +01:00
Gordon Williams
b9122196be SMAQ3 runs with LCD, beep,buzz,button - no working accel/compass/etc yet 2020-07-03 13:51:51 +01:00
Gordon Williams
c64c1a45b4 distribution zip 2020-06-23 13:21:53 +01:00
Gordon Williams
e209ebe692 Remove extra gfx functions that don't fit in original ESPRUINOBOARD 2020-06-11 15:20:23 +01:00
Gordon Williams
b66a6e7d91 Merge branch 'RAK5010' 2020-06-10 19:44:16 +01:00
Gordon Williams
e2c5bdebfb one more 2020-06-10 13:45:25 +01:00
Gordon Williams
da0e4b415c more travis tweaking 2020-06-10 13:17:45 +01:00
Gordon Williams
668d529241 Try and fix travis build - faster downloads from GitHub and ensure dos2unix exists 2020-06-10 13:00:56 +01:00
Gordon Williams
f2bd214a02 Build zip of RAK5010 2020-06-10 11:49:47 +01:00
Gordon Williams
5715a1d6d8 fix patch application 2020-06-10 11:30:27 +01:00
Gordon Williams
9f9f3e0ef4 attempt to fix patch application in travis. Also apply USB errata to fix boot immediately after flashing 2020-06-10 10:41:12 +01:00
Ben Whittaker
21d8c727a7 Remove half-pixel offset from fillPoly
This makes the results of fillPoly align with those of drawPoly when
both are fed whole-pixel coordinates.

For applications where it makes a noticeable difference the offset can
be added manually before calling fillPoly, which is what the vector
font rendering code now does.
2020-06-09 19:12:39 -04:00
Ben Whittaker
960bf6a522 Add lowercase eth (ð) to vector font 2020-06-06 00:40:27 -04:00
Gordon Williams
da18d5bea5
Merge pull request #1848 from nebbishhacker/vector-font
Reduce size of vector font
2020-06-05 09:24:53 +01:00
Gordon Williams
15de460b31 Update showMenu docs to be more explicit, and remove duplicate entries in docs 2020-06-05 08:08:04 +01:00
Ben Whittaker
1152a7bfd2 Change how vector font is stored
Instead of storing everything in a single array delimited by magic
values, have separate arrays containing
- vertices for each polygon
- # of vertices for each polygon
- polygon indices for each char
- # of polygon indices for each char

This arrangement means that multiple char can use reference the same
polygons. build_vector_font.js takes advantage of this by
normalizing and deduplicated polygons where it can.

Shaves exactly one kilobyte from the final build.
2020-06-04 20:54:17 -04:00
Ben Whittaker
2f44530005 Include accented characters directly in fontmap 2020-06-01 19:52:01 -04:00
Ben Whittaker
49abcde91e Include chars 247-254 in vector_font.c 2020-06-01 00:56:29 -04:00