342 Commits

Author SHA1 Message Date
Gordon Williams (u36)
b75c45e815 revert part of 1ac6966c22912dc0de1d28e5238bee61305c8b0a - might mess up deep sleep but for some reason what was there breaks the Espruino 1r3 board 2013-12-26 19:23:34 +00:00
Gordon Williams
5aba1c92fc Add fallbacks for F3 and F4 - they have insane calendars on the RTC 2013-12-20 18:11:47 +00:00
Gordon Williams
c793eadcc3 whoops - forgot to save 2013-12-20 17:31:04 +00:00
Gordon Williams
e7ce76cab5 Using RTC for system time and deep sleep wakeup 2013-12-20 16:55:35 +00:00
Gordon Williams
c85b6ee0f6 save deep sleep state 2013-12-20 14:43:18 +00:00
Gordon Williams
f81a182101 no longer light LED1 on overflow - it's annoying 2013-12-20 12:12:07 +00:00
Gordon Williams
5ef72cdb0d casting 2013-12-20 11:05:23 +00:00
Gordon Williams
1ac6966c22 deep sleep now works, and will wake up and re-appear on USB. Still no auto-wakeup when USB plugged in though 2013-12-20 11:05:02 +00:00
Gordon Williams
7c40fbd7a6 make sure we reset watchedPins. deep sleep wake from USB now works (although USB TX seems broken) 2013-12-19 16:26:29 +00:00
Gordon Williams
8ef60c4172 tidying 2013-12-19 15:22:07 +00:00
Gordon Williams
76e20fbc47 oops. newbie mistake 2013-12-19 14:37:11 +00:00
Gordon Williams
4cceeb666d fix type on boards 2013-12-19 14:26:59 +00:00
Gordon Williams
03d56fe5ba tried to share more code between platforms 2013-12-19 13:58:33 +00:00
Gordon Williams
db60b06852 fix warnings 2013-12-19 13:57:17 +00:00
Gordon Williams
21ab711d85 fix build onm hy boards 2013-12-19 12:49:24 +00:00
Gordon Williams
b207e387df Change 'Pin' datatype to be an unsigned char - makes tests easier 2013-12-19 12:36:43 +00:00
Gordon Williams
8f43da8191 fix warning 2013-12-19 12:05:18 +00:00
Gordon Williams
2f1671dab7 fix warning 2013-12-19 12:00:38 +00:00
Gordon Williams
b071522b84 ensure that if no condition, we assume it is true 2013-12-19 11:57:39 +00:00
Gordon Williams
99859910c8 fix warnings 2013-12-19 11:54:19 +00:00
Gordon Williams
a79cff3fcd Move pin defs into auto-generated header file - allows us to optimise a bit better 2013-12-19 11:31:15 +00:00
Gordon Williams
30327a9f99 fix warnings 2013-12-19 11:26:01 +00:00
Gordon Williams
815e772ff0 fix warnings 2013-12-19 11:23:53 +00:00
Gordon Williams
7411dd18d0 Run initialisation code before setWatch, to make sure pullup/down is set beforehand 2013-12-19 08:54:51 +00:00
Gordon Williams
68f061a125 fix bug in zip creation 2013-12-18 18:16:00 +00:00
Gordon Williams
2c3e2518f9 fix JSON formatting 2013-12-18 18:12:57 +00:00
Gordon Williams
183fda885b reordering stuff 2013-12-18 18:05:36 +00:00
Gordon Williams
9353d16f77 change order of hardware init in bootloader 2013-12-18 18:00:50 +00:00
Gordon Williams
fa29fc5d92 General hardware tidy in prep for more intelligent device management 2013-12-18 18:00:24 +00:00
Gordon Williams
1dd707a3be (untested) general hardware init function (a step towards #142) 2013-12-18 14:10:17 +00:00
Gordon Williams
8daf98ca26 update state 2013-12-18 10:59:27 +00:00
Gordon Williams
e0ce54ca73 make CAN have a different colour to 'devices' 2013-12-18 09:01:58 +00:00
Gordon Williams
7000a41cfb more nasty PWM changes - fix for F1 parts 2013-12-17 19:38:43 +00:00
Gordon Williams
8dd55d0ae6 fix depressing pin function cockup 2013-12-17 18:17:15 +00:00
Gordon Williams
eaa303fe3b Merge branch 'master' of github.com:espruino/Espruino 2013-12-17 14:21:14 +00:00
Gordon Williams
dc64cb65fa more JSON 2013-12-17 14:21:11 +00:00
Gordon Williams
93edb4c8a0 Fix PWM output on all STM32 boards. 2013-12-17 14:20:49 +00:00
Gordon Williams
c0a465fe97 Merge pull request #141 from gzip/master
Generate JS stubs
2013-12-17 00:50:23 -08:00
Gamaiel Zavala
8bf3de7a9f Write stubs 2013-12-16 22:38:30 -08:00
Gamaiel Zavala
ff7479a400 Optionally free up args for other functions 2013-12-16 22:37:59 -08:00
Gamaiel Zavala
4f493af120 Handle modules differently and add type 2013-12-16 14:32:12 -08:00
Gordon Williams
ea0dab2192 docs 2013-12-16 17:19:22 +00:00
Gordon Williams
70bb721c41 Merge branch 'master' of github.com:espruino/Espruino 2013-12-16 12:29:36 +00:00
Gordon Williams
0b629ab2ad Fix flash write on most 10XxB boards 2013-12-16 12:29:32 +00:00
Gordon Williams
d7b1afaa4c Merge pull request #140 from gzip/master
Foundational work for generating JS stubs
2013-12-16 01:31:46 -08:00
Gamaiel Zavala
3398979405 Add description 2013-12-14 11:31:44 -08:00
Gamaiel Zavala
688f4be6bf Handle remaining types and move function to common 2013-12-14 11:22:37 -08:00
Gamaiel Zavala
885244b13d WIP for JS stubs 2013-12-13 21:51:12 -08:00
Gordon Williams
f14bae411c Detect unfinished block comments in console (fix #138) 2013-12-13 10:56:26 +00:00
Gordon Williams
514e32cf53 Now disable interrupts during 4 bit SPI send - it's just too much otherwise 2013-12-12 18:47:55 +00:00