47 Commits

Author SHA1 Message Date
Gordon Williams
dee73b5fae abstract away custom battery percentage info, increase screen timeout to 30s 2019-10-24 11:55:46 +01:00
Ákos Lukács
90b565f808
Does this fix the Puck build?
Don't over bangle yourself Gordon :)
2019-10-10 22:23:07 +02:00
Gordon Williams
1a4f2864e3 Pixl.js: Move SCK pin used during Neopixel writes to ensure it doesn't interfere with BTN3 2019-10-07 12:40:05 +01:00
Gordon Williams
5504ae72b5 Reduce available hardware SPI/I2C instances to 1 on nRF52 (since this is all we implement atm) 2018-11-16 13:49:13 +00: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
73fa6969bd update name 2018-05-23 12:52:19 +01:00
Gordon Williams
27d9572ce2 make SHA256/512 switchable 2018-04-26 09:14:30 +01:00
Gordon Williams
14e216186f Add crypto.AES to Puck.js and other nRF52 Espruino devices 2018-04-24 09:32:55 +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
673ad033d3 Increase code storage space to 40kB since we have loads of flash free on nRF52 2018-02-19 10:05:06 +00:00
Gordon Williams
cc1ccb0609 move reset pin option 2018-02-06 15:47:35 +00:00
Gordon Williams
d0228465f2 nRF52: Make slightly more space available for stack 2018-01-23 09:00:39 +00:00
Gordon Williams
943eb5e103 Makefile tidying 2017-12-06 17:38:44 +00:00
Gordon Williams
bdace05cf1 fix doc typo 2017-12-01 10:02:27 +00:00
Gordon Williams
afec9617cb Move device-specific ifdefs to a preprocessor define 2017-10-19 10:43:28 +01:00
Gordon Williams
59a1fa7009 Bump nRF52-based boards variable count from 2000 to 2500 (fix #1215) 2017-10-11 16:31:01 +01:00
Gordon Williams
26bdea61c0 Puck.js: Fix WS2811 output library that would output bad data after neopixel waveform (fix #1154) 2017-05-26 16:13:23 +01:00
Gordon Williams
8c954930c2 Puck.js: Fix increased battery drain after NFC usage (fix #1171) 2017-05-26 09:43:01 +01:00
Gordon Williams
2bf0616ec6 fix accidental commit 2017-04-11 12:42:33 +01:00
Gordon Williams
c3866e67e3 nRF52: Fix upgrade from older firmwares if saved code is in flash, reduce virtual pages to 2 2017-04-07 15:53:45 +01:00
Gordon Williams
7a22bfe3f0 tweak saved code addresses to cope with FS actually using 3 pages of data! 2017-03-29 11:32:04 +01:00
Gordon Williams
bf7c2067e4 fix build for peer manager & bootloader cases 2017-03-29 09:37:46 +01:00
Gordon Williams
53d15d25ad switch compilation to '-Os' for pucks 2017-03-15 14:12:52 +00:00
Gordon Williams
3caac49069 fix bootloader for ruuvi 2017-03-09 11:16:13 +00:00
Gordon Williams
c592487d42 Merge branch 'feature-port-ruuvitag' of https://github.com/ojousima/Espruino into ojousima-feature-port-ruuvitag
Also tweaking to make adding the port require less specific #defines in the code
2017-03-09 10:14:36 +00:00
Gordon Williams
430f8029df more build fixes. It seems for some reason I've been unable to set the HeapSize variable I did previously - which breaks the free vars check 2017-03-08 17:20:27 +00:00
Gordon Williams
4963d72190 fix heap size issues 2017-03-08 16:23:37 +00:00
Gordon Williams
7a42e05333 fix accidental commit 2017-03-08 15:50:30 +00:00
Gordon Williams
328238769b docs 2017-03-08 15:39:30 +00:00
Gordon Williams
fe15d14d14 ESP8266 and ESP32 builds now working 2017-03-07 14:12:46 +00:00
Gordon Williams
6d6105b1b0 oops 2017-03-07 13:29:01 +00:00
Gordon Williams
1cd844e3a2 possible new build system? this (and other things) should really help tidy the build up 2017-03-07 12:34:59 +00:00
Gordon Williams
567fee8447 update pin tolerance 2017-02-14 10:11:10 +00:00
Gordon Williams
5018128bac Fix jstExecuteTaskChecker bug, and allow jstExecuteFn to take a userdata argument
Puck.js: Reduce IR LED to 10% duty cycle
            Puck.js: Allow Puck.IR to take pins for external IR LED (fix #927)
2017-01-25 15:14:07 +00:00
Gordon Williams
f39dd3b756 board docs 2016-12-19 18:52:27 +00:00
Gordon Williams
9f4347b13c link 2016-11-10 11:21:56 +00:00
Gordon Williams
3746c6a89f 1v88 release
Had to remove 'dump()' on devices with very little flash memory (Olimexino/Micro:bit)
2016-11-10 10:54:45 +00:00
Gordon Williams
c7c77e17f2 More reliability tweaks for nRF52 2016-11-07 13:11:54 +00:00
Gordon Williams
0cdbf28a36 Update bootloader. Need to leave much more space now for some reason (my GCC version?). Now allow a long (3 sec) press to drop through to Espruino but without loading saved code 2016-09-09 15:15:39 +01:00
Gordon Williams
e791616c16 fix saving with bootloader 2016-09-09 14:50:21 +01:00
Gordon Williams
a1e4a3f027 give capsense a timeout, add it to Puck object, and fix Ctrl-C behaviour on nRF52 2016-08-26 12:17:02 +01:00
Gordon Williams
9425d1f898 update docs 2016-08-22 16:24:53 +01:00
Gordon Williams
c8f5c2eaf9 puck tweaks for bootloader and NFC 2016-08-16 12:35:44 +01:00
Gordon Williams
32712e8b00 Add built in IR send function (tidier than pulling in JS code) 2016-08-02 14:16:13 +01:00
Gordon Williams
d1dcc781c0 puck magnetometer test 2016-07-27 16:22:14 +01:00
Gordon Williams
2073ac7991 hacky attempt at allowing bootloader and non-bl based nRF5x stuff to coexist 2016-06-20 14:47:38 +01:00
Gordon Williams
9413ea9d4e renaming 2016-06-06 13:21:33 +01:00