Gordon Williams
|
cfa834e1c1
|
Graphics: added stringMetrics to get height as well as width
Graphics: drawString now correctly middle-aligns multi-line strings
|
2021-10-06 14:33:48 +01:00 |
|
Gordon Williams
|
fdb4db347c
|
Graphics: drawString now accepts images in-line (fix #2063)
|
2021-10-06 13:45:57 +01:00 |
|
Gordon Williams
|
3f23e98c20
|
Bangle.js2 VC31 improvements
|
2021-10-05 17:03:50 +01:00 |
|
Gordon Williams
|
5a6b4c941d
|
add factory reset for emulator
|
2021-10-05 17:03:35 +01:00 |
|
Gordon Williams
|
e601885015
|
Support for Bangle.js 2 emulator
|
2021-10-04 21:14:20 +01:00 |
|
Gordon Williams
|
4b7182eb3b
|
Storage test on boot only tests storage fully if the first record is empty
|
2021-10-04 15:01:51 +01:00 |
|
Gordon Williams
|
dfc51d9e75
|
new storage contents
|
2021-10-04 14:50:28 +01:00 |
|
Gordon Williams
|
a4476ec6ec
|
Merge branch 'master' of github.com:espruino/Espruino
|
2021-10-04 14:49:24 +01:00 |
|
Gordon Williams
|
4f6af13a28
|
ensure we create fw builds
|
2021-10-04 11:06:26 +01:00 |
|
Gordon Williams
|
d74f76ff30
|
Bangle.js: Fix powerSave regression (should default to 'on', but didn't since 2v10)
|
2021-10-04 10:54:47 +01:00 |
|
Gordon Williams
|
29703632d2
|
nRF52: Send XON/XOFF when buffer is less full - reduce likelihood of FIFO_FULL with big MTUs
|
2021-10-01 10:52:17 +01:00 |
|
Gordon Williams
|
c23289e6c1
|
nRF52840: Fix 900uA UART power draw when shut down.
Bangle.js2 now at 0.25mA, 0.13mA when not moved
|
2021-09-29 10:54:18 +01:00 |
|
Gordon Williams
|
7fe129b92e
|
Merge branch 'master' of github.com:espruino/Espruino
|
2021-09-29 10:19:20 +01:00 |
|
Gordon Williams
|
86fa8babae
|
Bangle.js: Fix color palette when rendering 3bpp -> 16bpp
|
2021-09-29 09:35:27 +01:00 |
|
Gordon Williams
|
d7d8f5c95d
|
Merge pull request #2059 from fanoush/f-nrf51-irqonoff-no-balancing
nrf51 - do not care for proper irq on/off call nesting
|
2021-09-29 09:07:11 +01:00 |
|
fanoush
|
dfb40730b7
|
do not care for proper irq on/off call balancing to keep previous semantics
with previous code callling twice jshInterruptOff and then twice jshInterruptOn would left interrupts disabled as the region variable would stay at 1
|
2021-09-28 22:27:31 +02:00 |
|
Gordon Williams
|
eea6677d25
|
Merge branch 'master' of github.com:espruino/Espruino
|
2021-09-28 16:26:53 +01:00 |
|
Gordon Williams
|
cd1f1da465
|
Bangle.js 2: Increase reported bit depth from 3->16 and perform bayer dithering when rendering
Makes icons/old apps way more usable (plus provides an easy way to get >3bpp)
|
2021-09-28 16:26:29 +01:00 |
|
Gordon Williams
|
46534a39f6
|
comments
|
2021-09-28 14:53:18 +01:00 |
|
Gordon Williams
|
c16714f5f8
|
Bangle.js 2: Idle power consumption down from 1.3mA to 0.9mA (pullups on HRM disabled when off)
|
2021-09-28 14:28:22 +01:00 |
|
Gordon Williams
|
6c478c399c
|
Merge pull request #2058 from fanoush/f-microbit1-nostartfiles
use -nostartfiles for microbit1 to save some more RAM
|
2021-09-28 13:31:37 +01:00 |
|
fanoush
|
3f00d6f7b1
|
use -nostartfiles for microbit1
saves 0x60 bytes of ram by removing impure_data array
also bump storage up to 4 pages as recent nrf51 changes made code smaller
|
2021-09-28 14:09:06 +02:00 |
|
Gordon Williams
|
6fbe9ab59a
|
Graphics: switch RGB order for palette in asBMP for 4/8 bit images
|
2021-09-28 13:07:25 +01:00 |
|
Gordon Williams
|
3ee6b0657f
|
Merge pull request #2056 from fanoush/f-allow-zero-i2c
allow no HW i2c for nrf5x
|
2021-09-28 09:26:13 +01:00 |
|
fanoush
|
0fd4426049
|
allow no HW i2c
not acually sure about i2c slave case
|
2021-09-27 16:17:45 +02:00 |
|
Gordon Williams
|
86eba79a20
|
Merge pull request #2054 from fanoush/f-allow-zero-uarts
allow zero usarts in board file
|
2021-09-27 13:58:42 +01:00 |
|
Gordon Williams
|
880ea3e4b0
|
Merge pull request #2053 from fanoush/f-exportPtrs-to-flash
move exportPtrs to flash
|
2021-09-27 13:54:56 +01:00 |
|
fanoush
|
d5f7122603
|
allow zero usarts in board file
jsiHandleIOEventForUSART renamed and kept in as it is not USART specific
|
2021-09-27 13:06:00 +02:00 |
|
fanoush
|
9d2b432ade
|
move to flash, saves 0x48 bytes of RAM
this stuff is supposed to be read only
|
2021-09-27 12:23:43 +02:00 |
|
Gordon Williams
|
0397b7d35b
|
Merge pull request #2052 from fanoush/f-nrf51-fixes
nrf51 fixes
|
2021-09-27 10:13:03 +01:00 |
|
Gordon Williams
|
ba897baa07
|
Merge branch 'master' of github.com:espruino/Espruino
|
2021-09-27 09:46:12 +01:00 |
|
Gordon Williams
|
f6f29ac68e
|
add tensorflow to build
|
2021-09-27 09:46:09 +01:00 |
|
Gordon Williams
|
161b51ea54
|
Merge pull request #2051 from fanoush/f-uint32array-saveonflash
fix Uint32Array/Uint24Array when SAVE_ON_FLASH is enabled
|
2021-09-27 09:35:40 +01:00 |
|
fanoush
|
0ab52eab2c
|
__disable_irq() with softdevice enabled triggers softdevice assert with heavy traffic
seen to be triggered from jsvFreePtrInternal when doing NRF.setScan
use sd_nvic_critical_region as per https://devzone.nordicsemi.com/f/nordic-q-a/627/what-is-the-easiest-way-to-disable-all-interrupts , maybe nrf52 could use it too?
|
2021-09-26 23:32:45 +02:00 |
|
fanoush
|
7e135320d1
|
FDS and FSTORAGE needed only for PEER_MANAGER
gets disabled for nrf51 -> saves both flash and ram
|
2021-09-26 23:19:48 +02:00 |
|
fanoush
|
de8c000c96
|
avoid unaligned hardfault on nrf51/Cortex M0
|
2021-09-26 22:54:35 +02:00 |
|
fanoush
|
49914bdf0e
|
fix Uint32Array when SAVE_ON_FLASH
|
2021-09-25 23:59:18 +02:00 |
|
Gordon Williams
|
ca6a713d1d
|
Merge pull request #2050 from fanoush/f-buffersizetx-256
increase TX buffer to 256 for boards with RAM > 128KB
|
2021-09-25 19:39:25 +01:00 |
|
fanoush
|
af7d8f9b85
|
increase TX buffer to 256 for boards with RAM > 128KB
|
2021-09-25 18:25:55 +02:00 |
|
Gordon Williams
|
042dbffdd5
|
docs
|
2021-09-23 12:17:39 +01:00 |
|
Gordon Williams
|
7036741de5
|
Graphics: Fix .asBMP for 4 bit images
|
2021-09-23 12:17:34 +01:00 |
|
Gordon Williams
|
872ba947ce
|
handle case where 'undefined' is passed as an argument to FS.write
|
2021-09-23 11:58:47 +01:00 |
|
Gordon Williams
|
737b2b1f51
|
new default storage
|
2021-09-20 16:17:13 +01:00 |
|
Gordon Williams
|
6187ce9c2a
|
oops
|
2021-09-20 16:10:46 +01:00 |
|
Gordon Williams
|
82fc4e831c
|
try and fix travis build, broken by google's update to protobuf-3.18.0 which breaks python 2.7
|
2021-09-20 16:08:12 +01:00 |
|
Gordon Williams
|
7326232fb3
|
fix build issues after last commit
|
2021-09-20 14:39:42 +01:00 |
|
Gordon Williams
|
ad961bdf79
|
Allow setFont("FontName:1x2") for scaling in 2 directions (fix #2044)
|
2021-09-20 11:51:23 +01:00 |
|
Gordon Williams
|
21f55a697b
|
now building
|
2021-09-20 10:06:36 +01:00 |
|
Gordon Williams
|
98f2ba2e80
|
first commit of fonts scaleable in x and y
|
2021-09-20 09:55:50 +01:00 |
|
Gordon Williams
|
a4a38ec17d
|
Fix issue where ({a:0}).a in the console would create a ReferenceError (works in code)
|
2021-09-17 10:18:07 +01:00 |
|