3080 Commits

Author SHA1 Message Date
Gordon Williams
334a822a53 store that all buttons are negated 2016-07-08 18:37:53 +01:00
Gordon Williams
c1b17f5b59 Reduce amount of flash available for saved code on Original Espruino (until we can get code size down) RELEASE_1V86 2016-07-08 12:12:50 +01:00
Gordon Williams
7450cab7e6 Ensure all pins set to AIN on startup
Fix regression where setWatch would remove pulldown from button if called after reser()
2016-07-06 14:20:46 +01:00
Gordon Williams
fb40bcacac attempt to fix travis build 2016-07-06 08:46:53 +01:00
Gordon Williams
790b65d9cd minor tweaks that probably should have got into 1v86! 2016-07-05 17:23:41 +01:00
Gordon Williams
3f3e42a4b3 fix doc build 2016-07-05 13:03:29 +01:00
Gordon Williams
19aa46bfe2 bump for release 2016-07-05 12:30:13 +01:00
Gordon Williams
35e33374c3 Added to allow you to keep your JavaScript running - not just the interpreter (fix #859) 2016-07-05 10:59:34 +01:00
Gordon Williams
61e03ec478 Fix glitches in PWM output when updating Software PWM quickly (fix #865) 2016-07-05 10:39:36 +01:00
Gordon Williams
c13891f021 Merge pull request #868 from MaBecker/patch-9
replace jsError() with jsExceptionHere()
2016-06-23 12:35:31 +01:00
MaBecker
799f60c525 replace jsError() with jsExceptionHere()
enable try { }  and catch(err) { } for read and write to I2C devices
2016-06-23 12:59:05 +02:00
Gordon Williams
d1aeb8f9f8 Fixed makefile issues for original&pico 2016-06-22 08:55:56 +01:00
Gordon Williams
8b24aabc1a Re-enable bootloader for nRF52DK 2016-06-20 14:50:21 +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
976b0fca60 Merge branch 'master' into PuckJS 2016-06-20 13:49:39 +01:00
Gordon Williams
b31de1171e Remove non-useless build flag, Don't include Promises on devices where flash memory of Scarce (fix Olimexino compile) 2016-06-20 11:40:03 +01:00
Gordon Williams
f6a47f8116 Only inline the very basic variable iterator functions (save enough space to allow Espruino board build again) 2016-06-20 11:08:37 +01:00
Gordon Williams (u36)
b9d129512c Merge branch 'master' of github.com:espruino/Espruino 2016-06-20 10:31:47 +01:00
Gordon Williams
a0ca3e4088 refactoring to squish a few warnings 2016-06-20 10:04:58 +01:00
Gordon Williams
ea71fc8886 remove inlines - not needed as we don't care about speed when initialising these structs 2016-06-20 09:58:15 +01:00
Gordon Williams
11278cb416 Ensure that Pico can properly enter deep sleep even if USB is never used 2016-06-20 09:48:48 +01:00
Gordon Williams
32368ebe0f maybe there isn't enough flash after all... 2016-06-18 17:56:51 +01:00
Gordon Williams
eab3a11156 oops - remove leftover line 2016-06-18 17:53:59 +01:00
Gordon Williams
3082053ddb Merge branch 'master' into PuckJS 2016-06-18 17:52:21 +01:00
Gordon Williams
ac6f7749f6 compile in more stuff 2016-06-18 17:52:17 +01:00
Gordon Williams
5cd9646d97 Fix assert fail when using SPI on Linux 2016-06-17 10:50:01 +01:00
Gordon Williams
0223fee1fa fix build regression 2016-06-17 10:49:06 +01:00
Gordon Williams
710a3452c1 Merge pull request #867 from jumjum123/master
Add options for make process
2016-06-17 11:47:09 +02:00
Juergen Marsch
210797cedf Add options for make process
Adds customizing options, see description in makefile.
Idea is to support userdefined make of firmware
- GENDIR
- SETDEFINES
- UNSUPPORTEDMAKE
- PROJECTNAME
- BLACKLIST
- VARIABLES
2016-06-17 11:36:59 +02:00
Gordon Williams
b33759077b fix regression in setWatch when using it with 'falling' 2016-06-17 09:51:01 +01:00
Gordon Williams
292bb16784 trying to fix some of the sleep problems 2016-06-15 16:56:47 +01:00
Gordon Williams
3f733c67a4 Fix micro:bit compass problems (fix #864) 2016-06-15 14:55:54 +01:00
Gordon Williams
a6bce4e14a fix nRF51 compile error 2016-06-15 14:49:13 +01:00
Gordon Williams (u36)
a68ceb58b7 Revert "now link for 0x00000000 rather than 0x08000000. Supposedly (F401 ref, 7.2.1) this means the instruction cachge gets used when it may not have been before"
Reverted because ST Nucleo bootloader rejects binaries with 0-based addresses in vector table

This reverts commit dba2eb8fbbfee9c907e72115a4b741d30a3f8d9d.
2016-06-08 16:13:30 +01:00
Gordon Williams
0e47c972a4 fix voltage reference calculation 2016-06-06 13:23:01 +01:00
Gordon Williams
9413ea9d4e renaming 2016-06-06 13:21:33 +01:00
Gordon Williams
caa1511f3d Fix ADC inputs on PuckJS 2016-06-06 13:19:21 +01:00
Gordon Williams
a7e0e59f54 Merge branch 'master' into makerbean 2016-06-06 13:17:30 +01:00
Gordon Williams
c4e0138434 Fix ADC on nRF52 boards 2016-06-06 13:16:42 +01:00
Gordon Williams
9562d189af Merge branch 'master' into makerbean
Conflicts:
	libs/bluetooth/jswrap_bluetooth.c
2016-06-06 13:01:19 +01:00
Gordon Williams
572519552c Fix ADC 2016-06-06 13:00:20 +01:00
Gordon Williams
6a8723d5a9 tweaks to make connection process faster on BLE devices 2016-06-06 10:45:41 +01:00
Gordon Williams
f170079ee4 Allow faster connection interval, and force slowest to be as fast as iOS will go 2016-06-06 10:39:19 +01:00
Gordon Williams
5f0bb738ba Add 'force' to 'Serial.setConsole' - you can force the console to stay in one place 2016-06-02 11:12:43 +01:00
Gordon Williams
6f7e9699fd support for vendor-specific UUIDs - just not when scanning 2016-06-01 16:50:27 +01:00
Gordon Williams
9b9c24f67e add TODO with info about BLE UUIDs 2016-06-01 10:46:13 +01:00
Gordon Williams
90141ab5b6 Enable F4Discovery button pull-down. Newer boards don't seem to have one fitted 2016-05-31 17:02:29 +01:00
Gordon Williams
6e552d28ea BLE service/characteristic discovery and writing 2016-05-27 12:59:02 +01:00
Gordon Williams
a0e2ba5321 start of the ability to write characteristics 2016-05-27 12:35:50 +01:00
Gordon Williams
acad0fe199 Fix '.on' with long event names 2016-05-27 12:19:45 +01:00