Commit Graph

36 Commits

Author SHA1 Message Date
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
f14aebba1d rename flash_ to flash_nrf5x_ 2018-09-28 23:45:27 +07:00
hathach
89c547f0cc fix build issue with non-optimization 2018-09-28 13:12:14 +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
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
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
586679278e clean up 2018-08-14 18:42:19 +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
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
648d50b893 clean up 2018-08-13 17:17:00 +07:00
hathach
e946aabd6d uf2 does not depend on softdevice 2018-08-11 11:43:57 +07:00
hathach
352c44c90d prevent dfu 832 bootloader on 840 and vice versa 2018-08-09 12:37:39 +07:00
hathach
25d3da0511 change dev-type for nrf52840
- add all-board, all-beta, all-release target
2018-08-09 11:35:05 +07:00
hathach
f41c039228 move boards.h to src 2018-08-08 15:19:02 +07:00
hathach
6f40f02537 more clean up 2018-08-08 00:41:41 +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
91c1ddde50 clean up 2018-08-07 21:44:38 +07:00
hathach
b1c6276a93 bootloader for nrf52832 seems to work well 2018-08-07 16:51:08 +07:00
hathach
dfd5613a7e able to build with pca10056 & feather52832 2018-08-07 14:36:38 +07:00
hathach
907272b68f supporting feather52832 2018-08-07 00:55:25 +07:00
hathach
98a1304881 update tusb 2018-07-15 00:02:44 +07:00
hathach
e727bd215c disable CFG_TUD_CDC_FLUSH_ON_SOF to prevent usbd overflow 2018-06-23 13:24:21 +07:00
hathach
3f8fba843c adding uf2 files 2018-06-19 22:12:01 +07:00
hathach
f5682831ec improve dfu ble 2018-05-25 21:33:47 +07:00
hathach
0a1aa554bc adjust bootloader debug size 2018-04-19 20:14:22 +07:00
hathach
6127ca3b6d add Debug Size++ ses config for easy debugging 2018-04-17 22:12:31 +07:00
hathach
f7c79d4c39 comment out sd_app_evt_wait() since it does affect response time of USB !! 2018-04-16 18:42:12 +07:00
hathach
1739f79d51 clean up 2018-04-16 18:15:17 +07:00
hathach
53fbcc09d2 stop usb before jumping to application. Correct irq disable for nrf52840 2018-04-16 17:29:24 +07:00
hathach
a9267cd9ff working on migrate hci from uart to usb 2018-04-09 18:52:46 +07:00
hathach
df71d3444d follow #1
seperate files from latest SDK (currently 14.2.0) from good old non-
secure bootloader sdk 11
2018-04-05 00:35:08 +07:00