Commit Graph

302 Commits

Author SHA1 Message Date
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
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
54c2c7db43 rename ses project 2018-08-08 16:03:49 +07:00
hathach
e4830b3c33 rename ses 2018-08-08 16:02:12 +07:00
hathach
bebee4bf3c ses is updated 2018-08-08 16:00:29 +07:00
hathach
59d6ce2b8e ses update 2018-08-08 15:33:42 +07:00
hathach
89076f85f4 update segger project 2018-08-08 15:21:08 +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
0bca8a2b1e add s132 v6 ld 2018-08-07 21:49:07 +07:00
hathach
bcd3431d26 update readme 2018-08-07 21:21:12 +07:00
hathach
c1baf25c69 move makefile to root 2018-08-07 17:36:21 +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
dfd5613a7e able to build with pca10056 & feather52832 2018-08-07 14:36:38 +07:00
hathach
a12239359c rename linker file 2018-08-07 13:39:03 +07:00
hathach
c1c43b3c83 nrfx power 2018-08-07 13:33:44 +07:00
hathach
2847b319f2 make update 2018-08-07 13:25:51 +07:00
hathach
83ec6bff4a add cmsis, moving away from sdk 2018-08-07 13:15:07 +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
hathach
797e30dfc7 adding s132 files 2018-08-06 20:05:01 +07:00
hathach
e5211a6377 more on makefile 2018-08-06 18:37:35 +07:00
hathach
cca69e333a more makefile clean up 2018-08-06 18:29:32 +07:00
hathach
ccd17ba0a1 complete makefile rework 2018-08-06 18:15:53 +07:00
hathach
aa040652ee enhance Makefile 2018-08-06 17:41:02 +07:00
hathach
aa577b4cdf fix #13 2018-08-01 10:30:36 +07:00
hathach
10c124315d update tinyusb 2018-07-31 13:53:55 +07:00
hathach
c273b82883 more tusb update 2018-07-26 16:58:50 +07:00
hathach
71f6899143 update tusb stack 2018-07-26 16:22:21 +07:00
hathach
98a1304881 update tusb 2018-07-15 00:02:44 +07:00
hathach
4299c7a74d remove custom class
use tusb auto desc
2018-07-10 00:38:00 +07:00
hathach
63fe2ffeac remove metro52 define, remove 1s forced DFU when startup 2018-07-05 13:40:40 +07:00
hathach
edfc490287 update 2018-07-04 15:01:16 +07:00
hathach
f8a593bb1b update 2018-07-04 14:40:30 +07:00
hathach
ab9a0aa9bf house keeping 2018-07-03 16:40:07 +07:00
hathach
5f1bf84941 upgrade tusb 2018-07-02 11:09:00 +07:00
hathach
3ab0e8f102 update pinmap for feather52840 2018-06-27 00:18:21 +07:00
hathach
0c96088b25 separate feather and pca10056 2018-06-26 15:30:07 +07:00
hathach
3432182d2b clean up 2018-06-26 15:22:10 +07:00
hathach
6139422e1e remove singble bank in binary name 2018-06-26 14:28:03 +07:00
hathach
b42df5f72b remove dual bank support, bootloader is only single bank now 2018-06-26 14:14:13 +07:00
hathach
6bafa2f5e2 update makefile and binary 2018-06-25 23:37:24 +07:00
hathach
98ba8b9b32 clean up 2018-06-25 17:02:34 +07:00
hathach
e3ef2aca34 clean up 2018-06-25 16:53:52 +07:00
hathach
b31eac0950 clean up 2018-06-25 16:36:50 +07:00
hathach
6e9ecad3c8 get uf2 writing works 2018-06-25 16:00:42 +07:00
hathach
3a2d350c88 clean up 2018-06-25 15:17:53 +07:00
hathach
c989d9c4ba improve uf2 get flash size 2018-06-24 16:43:13 +07:00
hathach
cef0d2a962 add uf2 actual application size 2018-06-24 01:28:02 +07:00
hathach
2872eb8993 clean up 2018-06-23 14:15:39 +07:00
hathach
e727bd215c disable CFG_TUD_CDC_FLUSH_ON_SOF to prevent usbd overflow 2018-06-23 13:24:21 +07:00
hathach
fb6c6eb0b7 update uf2 to application only 2018-06-21 20:53:24 +07:00
hathach
9847a37599 add bootloader to uf2 info file 2018-06-21 12:28:52 +07:00
hathach
56f126e715 use uf2 ghotsfat 2018-06-21 12:22:42 +07:00
hathach
85c08ee084 clean up 2018-06-21 11:29:24 +07:00
hathach
2ce43e643b clean up 2018-06-21 11:28:04 +07:00
hathach
19eb8652e7 function rename 2018-06-20 17:03:38 +07:00
hathach
dc3e204406 support read uf2 info & index contents 2018-06-20 16:44:11 +07:00
hathach
ebd79fc00d change volume to nrf52boot 2018-06-20 16:34:05 +07:00
hathach
84cbaf81a9 using ram for first 16 sectors of uf2 disk 2018-06-20 16:18:55 +07:00
hathach
5dec2e2aab rename msc_flash to msc_uf2 2018-06-20 15:28:30 +07:00
hathach
6d0b272858 support uf2 for msc 2018-06-20 15:24:49 +07:00
hathach
bc59c097c1 fat12 clean up 2018-06-20 14:54:50 +07:00
hathach
6d11aa018a add fat layout 2018-06-20 14:26:08 +07:00
hathach
56cf2b087f change head,track to 1, cluster size from 8 to 1 2018-06-20 14:04:04 +07:00
hathach
d1023de7bb clean up msc flash 2018-06-20 13:55:06 +07:00
hathach
dcb2bdd205 move uf2 into usb 2018-06-20 13:19:45 +07:00
hathach
4560d69010 clean up 2018-06-20 13:18:14 +07:00
hathach
3f8fba843c adding uf2 files 2018-06-19 22:12:01 +07:00
hathach
9927ff4d6f update bootloader bin 2018-06-19 15:23:28 +07:00
hathach
541d373045 move files around 2018-06-18 16:54:41 +07:00
hathach
45a0f24a31 enhance msc flash 2018-06-18 15:42:00 +07:00
hathach
9ddcff92a7 update 2018-06-18 14:09:04 +07:00
hathach
188af65201 solve #7 2018-06-16 17:16:31 +07:00
hathach
8b9c0f6fd2 add Custom Interface
change interface descriptor
2018-06-16 14:08:28 +07:00
hathach
5457eeb7e2 clean up 2018-06-04 17:32:56 +07:00
hathach
f5682831ec improve dfu ble 2018-05-25 21:33:47 +07:00
hathach
071748fc8c clean up 2018-05-15 13:18:08 +07:00
hathach
cb310027b6 clean up 2018-05-14 14:20:37 +07:00
hathach
e30392251a update makefile 2018-05-11 23:16:43 +07:00
hathach
a6a1c0b2ce clean up 2018-05-11 23:14:49 +07:00
hathach
b36662e4f2 correct msc flash with readme.txt self formatted 2018-05-11 23:14:21 +07:00
hathach
7beaca1325 fix fat table location
still has issue with root directory
2018-05-11 22:21:55 +07:00
hathach
98f5a624e2 add msc_flash self format with fat12 support 2018-05-11 20:34:17 +07:00
hathach
02d0236025 update makefile linker 2018-05-08 22:11:50 +07:00
hathach
a46959331b wrapping msc flash write 2018-04-25 15:57:31 +07:00
hathach
725679b679 minor update 2018-04-20 13:50:17 +07:00
hathach
24988d90c8 adding usb msc flash support 2018-04-20 13:42:51 +07:00
hathach
fce0a419c1 off led before jumping to application 2018-04-20 12:58:17 +07:00
hathach
0a1aa554bc adjust bootloader debug size 2018-04-19 20:14:22 +07:00
hathach
512f7a5fce update msc to match new API in tinyusb 2018-04-19 16:56:25 +07:00
hathach
29b6e9de61 enabled msc class 2018-04-17 22:14:09 +07:00
hathach
6127ca3b6d add Debug Size++ ses config for easy debugging 2018-04-17 22:12:31 +07:00
hathach
8281edab29 update gcc linker 2018-04-16 18:28:50 +07:00
hathach
53fbcc09d2 stop usb before jumping to application. Correct irq disable for nrf52840 2018-04-16 17:29:24 +07:00
hathach
dd0d9e8014 clean up 2018-04-16 14:03:44 +07:00
hathach
033c84033b clean up 2018-04-14 12:26:21 +07:00
hathach
dae80c7d61 update sd handler 2018-04-14 12:15:50 +07:00
hathach
c7ec0755ad minor clean up 2018-04-14 03:39:59 +07:00
hathach
a360bcc0b4 update tinyusb config 2018-04-12 18:11:45 +07:00
hathach
58c86bae1d clean up 2018-04-10 20:41:04 +07:00
hathach
a9267cd9ff working on migrate hci from uart to usb 2018-04-09 18:52:46 +07:00
hathach
bee4488811 update nrf errata 2018-04-08 13:46:39 +07:00
hathach
e8933c6fef add usb msc support 2018-04-05 18:35:47 +07:00
hathach
6bcfc6634f fix build error 2018-04-05 13:49:15 +07:00
hathach
276cfd5589 move softdevice to /lib #1 2018-04-05 00:40:51 +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
hathach
f18643ae10 cdc work with test code 2018-04-04 20:03:56 +07:00
hathach
a80e029ae1 clean up main.c 2018-04-04 17:39:26 +07:00
hathach
3c612f81f3 remove ble_srv_common.c dependency 2018-04-04 15:52:58 +07:00
hathach
3da08add42 remove ble_conn_params dependency 2018-04-04 15:35:36 +07:00
Kevin Townsend
66fc8f0931 Added missing CMSIS include path 2018-04-03 22:12:51 +02:00
hathach
cabadfd441 clean up 2018-04-04 00:42:30 +07:00
hathach
b45099aad2 clean up 2018-04-04 00:38:36 +07:00
hathach
0d1f0861d3 ses clean up 2018-04-03 23:54:27 +07:00
hathach
b8bf0c9eae remove dependency on legacy softdevice_handler
add ble and soc task hanlder to main.c
2018-04-03 23:53:38 +07:00
hathach
bf787c7364 close #5 2018-04-03 21:14:57 +07:00
hathach
62e474ac60 clean up make 2018-04-03 18:28:41 +07:00
hathach
3aa7651266 use optimize debug for ses 2018-04-03 17:57:07 +07:00
hathach
3e36f19ff8 able to run with ses 2018-04-03 17:52:37 +07:00
hathach
c01137fed6 adding segger studio support 2018-04-03 17:16:46 +07:00
hathach
d362ad1c53 adding tinyusb support 2018-04-02 13:11:21 +07:00
hathach
59915c9acb update bootloader 2018-02-15 16:27:51 +07:00
hathach
183cbd45e6 enable uart flow control for nrf52840pdk 2018-02-10 13:38:41 +07:00
hathach
33acd73f49 correct linker 2018-02-10 13:08:46 +07:00
hathach
342eaaee10 able to build 2018-02-09 23:06:27 +07:00
hathach
7de0b11529 porting to 52840 2018-02-08 17:34:27 +07:00
hathach
9b5c36b161 update makefile 2018-02-08 13:50:01 +07:00
hathach
9f1d9f321e add files from nrf52832 bootloader project 2018-02-07 23:32:49 +07:00