Commit Graph

188 Commits

Author SHA1 Message Date
hathach
4f48b8b51a
rename led blink fast name 2018-11-23 11:46:21 +07:00
hathach
94e23a928c feed wdt in bootloader if enabled. Since it is impossible to disable wdt 2018-11-19 17:01:45 +07:00
hathach
37690823ac update segger project for SD 6.1.1 2018-11-09 22:29:59 +07:00
hathach
3925ef5872 add stop LF clock in board_init()
just in case we jump from application without reset
2018-11-08 20:17:36 +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
51411ff85d finally fix #31 using erasing in advance and skip erase on the fly for nrf52832.
Note A small amount of delay (10 ms) is also added by adafruit-nrfutil
after each 4KB to be safe.
2018-10-02 16:55:55 +07:00
hathach
f83e47c83b more clean up 2018-10-01 13:08:14 +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
104a4713d0 clean up 2018-09-28 23:58:43 +07:00
hathach
f14aebba1d rename flash_ to flash_nrf5x_ 2018-09-28 23:45:27 +07:00
hathach
f9532acaf8 figure the line causing timeout issue 2018-09-28 23:43:27 +07:00
hathach
d5dcd3a564 rename flash to flash_nrf5x 2018-09-28 23:41:46 +07:00
hathach
50dec0e77a move uf2 led blink fast to ghostfat 2018-09-28 13:37:01 +07:00
hathach
7cbf14c5e9 add ses nrf52832 mem layout 2018-09-28 12:13:13 +07:00
hathach
2925c60a47 update ses for nrf52832 2018-09-28 12:06:56 +07:00
hathach
d4e616ff56 clean up 2018-09-28 11:02:46 +07:00
Dan Halbert
646838261c add pca10059 2018-09-06 13:46:11 -04:00
hathach
bb4891debc add build date to INFO_UF2.TXT 2018-08-31 02:35:59 +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
4924e6787f remove "Adafruit" in model with pca10056 board 2018-08-29 16:30:03 +07:00
hathach
d9209fdcdf usb serial string = device ID 2018-08-29 12:44:18 +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
daa1b83144 implement #19 serial descriptor based on deviceid 2018-08-21 15:07:17 +07:00
hathach
6feea4e069 fix issue with dfu startup on nrf52832, change to adafruit-nrfutil
clean up dfu startup
2018-08-21 14:14:23 +07:00
hathach
3209ff4471 fix build error with nrf52832 2018-08-16 19:29:42 +07:00
hathach
8c66a55511 add CDC mode only for use with Arduino touch 1200
fix issue with reading current.uf2 size when flashed with jlink
2018-08-16 19:27:27 +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
600925740f clean up 2018-08-14 17:20:06 +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
fe712fb588 resolve #18, dfu serial able to run without SD 2018-08-13 18:11:47 +07:00
hathach
e946aabd6d uf2 does not depend on softdevice 2018-08-11 11:43:57 +07:00
hathach
b47927f95c clean up 2018-08-11 10:50:40 +07:00
hathach
971619aa7e rename boards
feather52832 to feather_nrf52832
feather52840 to feather_nrf52840
2018-08-11 10:50:21 +07:00
hathach
4846bde987 clean up 2018-08-11 00:39:23 +07:00
hathach
433523b28a update ses 2018-08-11 00:19:09 +07:00
hathach
e06a35ce74 add family flag and value to read uf2 file 2018-08-11 00:19:01 +07:00
hathach
94a17d720c move flash_write and flush to seperate files for other usage 2018-08-11 00:09:17 +07:00
hathach
bbee654e1c clean up 2018-08-10 22:29:35 +07:00
hathach
352c44c90d prevent dfu 832 bootloader on 840 and vice versa 2018-08-09 12:37:39 +07:00
hathach
c176894075 implemennt uf2 family option #10 2018-08-08 19:52:51 +07:00
hathach
31e5f77af8 ses 2018-08-08 18:20:48 +07:00
hathach
25671db338 solve #9, disable softdevice when upgrading with uf2 file 2018-08-08 18:01:09 +07:00