Daniel Thompson
1d128f1311
Disable the APPDATA area
...
Currently wasp-os does not keep appdata in the nRF flash. It is offloaded
to spinor instead.
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-04 18:56:59 +00:00
Daniel Thompson
efa4942659
boards: Add a no button mode
...
Generally having no button is a bad idea because it makes it hard to
manage the watchdog. However if we haven't yet figured out how the
button works it is still useful to have a bootloader.
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-08-09 18:18:09 +01:00
Daniel Thompson
21bcf675a4
Ergonomic changes for PineTime
...
This involves a longer double reset delay aligned the button blackout
period. The result is that the <- Start will not appear until the button
is active. Finally we shorten the debounce window to make the button
press appear more repsonsive.
2020-05-27 21:41:10 +01:00
Daniel Thompson
1e7d8c327d
main: Tidy up splash screen delays.
...
Shorten the delay on the application boot path to make the boot feel
quicker. Add a delay to the bootloader path so the user gets to see the
splash screen ;-) .
2020-01-28 21:14:49 +00:00
Daniel Thompson
20f5764f64
boards: Extend the watchdog to cover the bootloader too
...
If the bootloader fails for any reason we'd like to be able to restart
it! This is approach is a bit of a cheat... we are feeding the dog from
a periodic interrupt and there are plenty of ways to the system to fail
that leave periodic interrupts still ticking. However since we test the
user button and reboot from the ISR then this is OK... either the SysTick
stops and we reboot or the SysTick is running and the reboot switch will
still work.
2020-01-23 22:20:06 +00:00
Daniel Thompson
cfe6b69534
boards/main: Enable the WDT and related entry modes
2020-01-23 22:20:04 +00:00
Daniel Thompson
27207cba4d
HACK: main: Increase time spent in UART DFU mode
...
This is useful for devices that cannot be reset from the UART control
signals... a one second interval is too hard to coordinate.
2020-01-23 22:17:50 +00:00
fanoush
b6857b85f0
Shrink the bootloader size for nrf52832
...
nrf52832 is short of flash and we can shave a little size of the
bootloader... let's do that.
From c4579ff251/micropython/Adafruit_nRF52_Bootloader-dsd6.diff
[daniel@redfelineninja.org.uk: Seperated out of the main DS-D6 patch]
2020-01-23 22:17:50 +00:00
fanoush
282fd12bba
Add support for single button and no LED boards
...
From c4579ff251/micropython/Adafruit_nRF52_Bootloader-dsd6.diff
[daniel@redfelineninja.org.uk: Seperate from raw board support patch]
2020-01-21 20:43:04 +00:00
hathach
e3449cd771
able to build with 52833
2019-11-29 01:02:05 +07:00
hathach
126115a2cb
update repo to work with latest tinyusb and nrfx module
2019-11-11 15:27:44 +07:00
hathach
d4cc11e132
change in file license term from BSD to MIT
2019-03-27 13:38:36 +07:00
hathach
c69ae13423
finished testing led pattern
2018-12-19 18:29:24 +07:00
Scott Shawcroft
1b35dbf643
Add build script and hook it into Travis
2018-12-04 15:18:49 -08:00
Scott Shawcroft
2ece2daf90
Rework LED flashing and add Particle's boards
2018-12-04 13:45:55 -08:00
hathach
4f48b8b51a
rename led blink fast name
2018-11-23 11:46:21 +07:00
hathach
3de5afc067
Use RC as LF source for all board compatible
2018-10-30 15:24:57 +07:00
hathach
cb1ae6d947
add need_erase for flash_nrf5x. Only uf2 erase when flush, dfu serial (uart and cdc) will prepare erase in advance.
2018-10-02 20:41:53 +07:00
hathach
59999d30d2
clean up
2018-09-30 23:42:40 +07:00
hathach
232bc3ab19
clean up
2018-09-30 23:01:20 +07:00
hathach
d8fb8bdbe1
add #26 double reset to DFU, only work with nrf52840 (won't work with nrf52832)
2018-08-31 02:25:47 +07:00
hathach
633885aa51
fix OTA blinky pattern
2018-08-22 16:00:42 +07:00
hathach
8b30c417f8
fix adv issue with SD 6.1.0. Add binaries for 6.1.0r0
2018-08-22 13:28:29 +07:00
hathach
3209ff4471
fix build error with nrf52832
2018-08-16 19:29:42 +07:00
hathach
0b3f49f4a1
change to dynamic descriptor for serial only mode
2018-08-16 18:17:42 +07:00
hathach
e585ffc26c
clean up
2018-08-16 03:50:11 +07:00
hathach
ab8d24f935
OTA cannot start with SD v6.1.0, but start without issue with 6.0.0
...
force ota for testing.
2018-08-14 18:54:49 +07:00
hathach
85ad6e6b65
add boards.c , remove msc_uf2.h lots of clean up and refactor
2018-08-14 15:56:24 +07:00
hathach
e4716816c2
clean up
2018-08-14 14:16:09 +07:00
hathach
4eee219b5a
use PWM0 & PWM1 for led blinky fix #14
2018-08-14 00:56:51 +07:00
hathach
1c2911a63c
close #18 , close #19
...
softdevice is only enabled with OTA mode
2018-08-13 21:50:55 +07:00
hathach
e946aabd6d
uf2 does not depend on softdevice
2018-08-11 11:43:57 +07:00
hathach
25671db338
solve #9 , disable softdevice when upgrading with uf2 file
2018-08-08 18:01:09 +07:00
hathach
69ff86ffd2
clean up
2018-08-08 17:14:58 +07:00
hathach
4d39caa0f7
fix #15
...
disable softdevice after DFU
2018-08-08 16:55:57 +07:00
hathach
f41c039228
move boards.h to src
2018-08-08 15:19:02 +07:00
hathach
de7ab6d00d
more clean up
2018-08-08 01:03:33 +07:00
hathach
6f40f02537
more clean up
2018-08-08 00:41:41 +07:00
hathach
108e47438e
use systick for led blink
...
clean up
2018-08-08 00:34:48 +07:00
hathach
0d301a23e2
clean up bsp
2018-08-07 22:23:33 +07:00
hathach
8c33712848
move a file
2018-08-07 22:19:57 +07:00
hathach
0e9d4f4341
clean up blue led blink
2018-08-07 22:09:51 +07:00
hathach
8786955225
clean up bsp
2018-08-07 22:00:35 +07:00
hathach
3f70fb9ec9
clean up
2018-08-07 17:00:33 +07:00
hathach
b1c6276a93
bootloader for nrf52832 seems to work well
2018-08-07 16:51:08 +07:00
hathach
c1c43b3c83
nrfx power
2018-08-07 13:33:44 +07:00
hathach
176bfbad63
moving to nrfx
2018-08-07 12:55:42 +07:00
hathach
907272b68f
supporting feather52832
2018-08-07 00:55:25 +07:00
hathach
64d39e3672
refactor usb code
2018-08-06 20:53:14 +07:00
hathach
ae1cc22d72
update bootloader main
2018-08-06 20:28:20 +07:00