Gordon Williams
70e8f9e957
Fix Curio build after 'USB_CDC' build addition
2024-10-16 16:43:54 +01:00
Gordon Williams
831a568a2a
Tweaks to ensure the build still fits on these devices
2024-09-20 09:17:47 +01:00
Gordon Williams
6a47481bf6
Bangle.js1: Switch to space-optimised sin/atan/atan2 to save enough space to continue building
2024-08-29 16:56:13 +01:00
Gordon Williams
55fbab3847
Disable VDDH check for nRF52833/40 boards unless explicitly enabled
2024-03-19 09:35:18 +00:00
Gordon Williams
962560d338
For built-in symbols, pack string offset inside function pointer, saving 2 bytes/symbol if ESPR_PACKED_SYMPTR set ( fix #2405 )
2024-03-14 13:55:37 +00:00
Gordon Williams
f322090963
Add NO_BLOCKLY pinfunction, to allow us to hide pins from blockly to make it more user friendly
2024-03-08 15:20:38 +00:00
Gordon Williams
ff85199029
docs for #2459
2024-01-29 21:03:48 +00:00
Gordon Williams
f80bc1b925
Pull out pretokenisation on SAVE_ON_FLASH boards (pretokenised code can be executed, it's just not tokenised in Espruino - saves 1kb)
2024-01-26 17:02:40 +00:00
Gordon Williams
173dc294ff
Add built-in Stepper motor handling with the Stepper class (if enabled in build)
2024-01-24 11:42:49 +00:00
Gordon Williams
e98c1f697d
Add ESPR_DCDC_HV_ENABLE for better control of nRF52840 vreg
2023-12-04 15:30:13 +00:00
Gordon Williams
d9a56c2977
Adjust some ESPR_NO_X defines so that we can define SAVE_ON_FLASH but also ESPR_NO_PROMISES=0 to force promises to be included
2023-10-25 12:14:28 +01:00
Gordon Williams
7f4c7c49ef
Add ESPR_NO_BLUETOOTH_MESSAGES to not include text versions of Bluetooth error messages (just the error number)
2023-09-08 11:30:56 +01:00
Gordon Williams
c1826f612d
Added ESPR_NO_SOFTWARE_SERIAL, disable hardware I2C/SPI and re-enable JIT on Bangle.js 1
...
Based on da38facc65 (commitcomment-125064396)
2023-09-08 11:18:01 +01:00
Gordon Williams
802a3001f3
nRF52: Added CTS (Current Time Service) support to ANCS/AMS code
2023-07-14 16:27:28 +01:00
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