Commit Graph

302 Commits

Author SHA1 Message Date
hathach
19c3721151
clean up 2018-12-19 23:20:35 +07:00
hathach
c69ae13423 finished testing led pattern 2018-12-19 18:29:24 +07:00
hathach
87a0124cd9 add product link to feather nrf52840 2018-12-19 17:21:10 +07:00
hathach
64f2f671f6 fixed the incosnsitent led pattern by using systick to call led_tick() 2018-12-19 17:08:23 +07:00
hathach
90cf2e53cb clean up 2018-12-19 16:54:24 +07:00
Scott Shawcroft
73a9d50236
Review comments 2018-12-04 22:54:45 -08:00
Scott Shawcroft
42e1a0639c
Fix argon LED 2018-12-04 16:33:24 -08:00
Scott Shawcroft
f2b9422127
Use python2 2018-12-04 16:30:02 -08:00
Scott Shawcroft
57345c9928
Fix Particle and refine build names 2018-12-04 16:03:33 -08: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
f30199f503
change neopixel color 2018-11-24 01:27:37 +07:00
hathach
5e0195ddb4
update tinyusb, correct neopixel for usb enumeration
added binary for feather nrf52840
2018-11-23 15:54:02 +07:00
hathach
12d68f592c
add neopixel support 2018-11-23 15:00:59 +07:00
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
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