574 Commits

Author SHA1 Message Date
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
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
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
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
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
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