32 Commits

Author SHA1 Message Date
Gordon Williams
10dce25c8d Making pebble fonts defineable with ESPR_PBF_FONTS, add to ChangeLog 2023-06-06 16:49:23 +01:00
Gordon Williams
8cbcbefdca Ensured unicode support is hidden behind ESPR_UNICODE_SUPPORT 2023-06-06 16:22:22 +01:00
Gordon Williams
7651847c3b Attempting to improve BLE advertising situation on ESP32. Fixed issue with BLE advertising data for name being 2 too long 2023-05-03 20:17:25 +01:00
Gordon Williams
750b7d6365 oops - actually 32 was the sweet spot. 64 is as slow as 16 2022-11-18 16:05:37 +00:00
Gordon Williams
b4b083813c Bangle.js2: Increase flash buffer size from 32->64 bytes (5% performance increase) 2022-11-18 16:00:26 +00:00
Gordon Williams
02bca1fe02 Enable dual output fast read external flash mode for Bangle.js 2 2022-11-18 14:32:22 +00:00
Gordon Williams
fdee733788 Add ESPR_NO_PROMISES to allow promises to be left out of builds (specifically micro:bit 1). Adjust ifdefs so if no central mode, we're not including functionality we don't want 2022-10-28 13:55:22 +01:00
Marius Gundersen
27e1703fc9 Implemented property shorthand
As wished for in https://github.com/espruino/Espruino/issues/1302#issuecomment-389628601
2022-05-25 07:35:39 +02:00
Gordon Williams
72cfe260a0 Remove un-needed type checks (https://github.com/espruino/Espruino/pull/2202#issuecomment-1135961591)
Remove Line Numbers from 'save on flash' builds
Also tidying up switchable functionality - still more to go!
2022-05-24 17:01:18 +01:00
Gordon Williams
03d147ae1f If executing from storage, work out line numbers and print filename for Errors
Bangle.js: Don't store line numbers in functions - no need when execing from flash
2021-10-25 12:52:06 +01:00
Gordon Williams
29c2dd812b Including first untested unistroke conversion to C 2021-10-20 16:09:25 +01:00
Gordon Williams
8cf17c7fdf more merging 2021-10-19 10:04:16 +01:00
Gordon Williams
eca061f452 Add JSVAR_FORCE_INLINE, and don't force lock/unlock/getters to be inlined.
Compiler has improved enough we save 10% code space and get marginally faster
2021-08-10 14:55:01 +01:00
Gordon Williams
56accde1d6 Merge experimental_compact_vars branch to reduce var sixe from 16 to 13 bytes in most cases.
Add JSVAR_FORCE_16_BYTE to allow experimental_compact_vars changes to be removed
Also tweak for <500 var platforms to ensure doubles can still be stored ok
2021-08-10 10:18:03 +01:00
Gordon Williams
547c8590e9 * ESPR_DCDC_ENABLE - On NRF52 use the built-in DCDC converter (requires external hardware)
* `ESPR_LSE_ENABLE` - On NRF52 use an external 32kHz Low Speed External crystal on D0/D1
2020-11-11 14:31:17 +00:00
Gordon Williams
9bb75a121b Bangle.js: increase default advertising interval from 375 to 200ms to ease connections 2020-10-23 09:13:09 +01:00
MaBecker
a02d4406a8 add information about boardname 2020-07-27 23:15:50 +02:00
MaBecker
2b79edcf50 add information about custom board 2020-07-27 17:10:45 +02: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
bcab8a2089 Added Graphics.getFont/setFont/getFonts
Added Graphics.getFontHeight
            Added option to compile in 6x8 fixed-width fonts
2019-08-29 12:46:22 +01:00
Gordon Williams
0476b9ef61 add NO_VECTOR_FONT to allow builds without vector font in them 2019-05-01 09:47:14 +01:00
Gordon Williams
e3f0341932 Remove HASH/hashlib from all builds as it was confusingly in some and not others. Now use 'crypto'
require('crypto').SHA1 is now JS in Espruino Original to cut down on the flash required
2018-09-27 16:31:53 +01:00
Gordon Williams
6ddb231172 minor refactoring to allow differing JsVar sizes to be used at boot 2018-06-01 14:35:32 +01:00
Gordon Williams
3aeb8ecb90 Pixl.js: add Pixl.menu function for easy menus, build in graphical_menu.js 2018-04-17 11:04:10 +01:00
Gordon Williams
96dbd29d51 Thingy52,Pixl.js: add default NFC URL of the Espruino IDE 2018-04-09 15:52:58 +01:00
Gordon Williams
ca79479901 Thingy52: Don't report contents of 'Thingy' in 'dump()', auto-initialise accelerometer/etc on boot if they were used 2018-03-09 10:12:03 +00:00
Gordon Williams
328238769b docs 2017-03-08 15:39:30 +00:00
Gordon Williams
1be23f5da3 slightly mad refactor, ready for multiple board designs in one BOARD.py 2015-11-09 09:24:49 +00:00
Gordon Williams
32a66b2a1c docs 2015-09-25 16:22:02 +01:00
Gordon Williams (u36)
ee6737f1df incl linker 2015-09-24 10:32:27 +01:00
Gordon Williams (u36)
6b0bd6d9ad tweak 2015-09-24 10:24:48 +01:00
Gordon Williams (u36)
22ca767f43 mammothe documentation changes 2015-09-24 10:22:51 +01:00