Commit Graph

67 Commits

Author SHA1 Message Date
hathach
d79fcb2ea5 fix #37
- dfu cdc write exact bytes of firmware which is not a muliplier of 256.
This cause incorrect section index with uf2 drive. Solution is round up
current flash size to 256
- also fix incorrect block number causing it is impossible to use old
current.uf2 to update
2018-12-21 12:17:14 +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
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
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
f14aebba1d rename flash_ to flash_nrf5x_ 2018-09-28 23:45: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
bb4891debc add build date to INFO_UF2.TXT 2018-08-31 02:35:59 +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
daa1b83144 implement #19 serial descriptor based on deviceid 2018-08-21 15:07:17 +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
85ad6e6b65 add boards.c , remove msc_uf2.h lots of clean up and refactor 2018-08-14 15:56:24 +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
b47927f95c clean up 2018-08-11 10:50:40 +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
c176894075 implemennt uf2 family option #10 2018-08-08 19:52:51 +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
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
c1c43b3c83 nrfx power 2018-08-07 13:33:44 +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
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
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
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