568 Commits

Author SHA1 Message Date
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
Ben Whittaker
7b84690744 Reduce number of polygons in vector font
Now that https://github.com/espruino/Espruino/issues/1796 is fixed, a
lot of polygons can be merged together. Should save about 300 bytes.
2020-06-01 00:53:49 -04:00
Gordon Williams
808f7afae9 Added updated font map with more symbols 2020-05-23 14:12:49 +01:00
Gordon Williams
feb45fe737 Fix new vector font - accidentally committed one with too few points
Graphics.fillPoly now uses 4 bit fixed point internally
2020-05-21 09:06:17 +01:00
Gordon Williams
8ff3977586 Minor font tweaks, add changelog 2020-05-20 13:48:55 +01:00
Gordon Williams
fdc1b81cbc Vector font with many ISO 8859-1 characters now included 2020-05-20 10:44:18 +01:00
Gordon Williams
826c093b73 First commit of new vector font - still need to fix the size scaling 2020-05-19 16:30:05 +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
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
9e31e74722 Third (no-network) zip option for original Espruino 2020-05-07 10:27:13 +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
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
2020-04-17 14:51:02 +01:00
Gordon Williams
78f421b37e Puck.js: v2 Support: Accelerometer/Gyro/temp
Puck.js: Self test now sets Puck.js BLE name if there's an error
2020-03-27 21:06:12 +00:00
Gordon Williams
4eacb7823b First commit of untried Puck.js code 2020-03-13 21:22:21 +00:00
Gordon Williams
5d2a373673 Add more info about flash memory to process.env/process.memory 2020-02-12 14:46:55 +00:00
Gordon Williams
c923bbc06d Bangle.js: Added heart rate autocorrelation, setHRMPower and 'HRM' event 2019-11-27 16:40:08 +00:00
Gordon Williams
e69770722a Added ability to compile Espruino to JavaScript with Emscripten 2019-11-25 12:16:30 +00:00
Gordon Williams
3b7417458e semi-working emscripten compile 2019-11-24 15:59:34 +00:00
Gordon Williams
e230148625 improve docs making 2019-11-07 16:12:27 +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
dea624de49 tweak 2019-10-18 15:02:01 +01:00
Gordon Williams
6d52308886 Add .beep and buzz 2019-10-16 14:54:22 +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
6837f53ce5 Compass, GPS decode, 2x touch pins 2019-10-01 13:48:08 +01:00
Gordon Williams
d334d0a92a Reliable LCD on F18 2019-10-01 10:29:45 +01:00
Gordon Williams
cca2eb0360 fix RAK builds 2019-09-23 19:33:33 +01:00
Gordon Williams
d61f9f5bcb New palette, ability to define code to execute on Serial events, GPS data line handling 2019-09-19 17:56:09 +01:00
Gordon Williams
696209f100 dump size for easy debug 2019-09-16 14:49:45 +01:00