Commit Graph

169 Commits

Author SHA1 Message Date
montea a980696dd0 Changed the default max MTU size within the DFU transport to 23, which is the required size for the legacy bootloader to perform a successful OTA with the latest Nordic-DFU-Library. 2023-02-12 18:51:21 +00:00
hathach c42dce080c add debug linker when building with DEBUG=1
extend bootloader start to reserved app for debug build
2022-07-14 12:28:02 +07:00
hathach b60ef5c3f7 use s140 7.3.0 for feather 833 2022-07-13 17:30:18 +07:00
Ha Thach 8d4e89fdde Merge pull request #250 from jpconstantineau/V7-SD-FROM-KBLADEWHT
add 833 support for v7 Softdevice (while not including new boards)
2021-12-22 12:45:00 +07:00
hathach f9c032fbd7 add converted softdevice uf2 for easy recovery 2021-12-14 21:27:24 +07:00
Pierre Constantineau 084dbc5ae0 Merge https://github.com/kbladewht/Adafruit_nRF52_Bootloader into V7-SD-FROM-KBLADEWHT 2021-12-09 22:01:27 -06:00
hathach d099cda94c update tinyusb to commit https://github.com/hathach/tinyusb/commit/9775e76910d569ec73b8dd946f3fa5fe5414acdb 2021-11-30 13:05:35 +07:00
kbladewht b2f81775fc for api 2021-11-13 22:44:53 +08:00
kbladewht 95926c6024 add for v7 2021-11-13 20:39:26 +08:00
hathach 0889a68a7a comment out ble event string due to lack of flash 2021-09-17 21:18:44 +07:00
hathach 1a6d8eae97 clean up 2021-08-04 19:05:30 +07:00
hathach 9e188d7370 update tinyusb 2021-08-04 16:39:05 +07:00
hathach dedbb74562 increase app reserved size to 40KB to match circuitpython for 840
along with other clean up
2021-08-04 16:35:42 +07:00
hathach eae198000c clean up
- mostly whitespace
- use ceil div
2021-08-03 23:17:57 +07:00
dumam b1e0d2fd72 GCC 11 Fixes 2021-06-26 16:53:59 +02:00
hathach 13118196d8 update tinyusb to fix control race condition 2021-06-19 14:26:35 +07:00
Ha Thach 4f74d41871 Merge pull request #160 from KK1423/fix-paired-ota
Resolve OTA failure with bond shared from application
2021-04-04 15:09:01 +07:00
hathach a4b5aa4ad1 update tinyusb to include nrf usb driver race fix 2021-03-19 16:22:13 +07:00
hathach 84e843ac86 update tinyusb to 0.9.0 2021-03-16 23:17:32 +07:00
hathach 5f39316cd9 fix side-effect prevent dfu when disable timeout 2020-09-04 18:20:07 +07:00
hathach bf4e000e93 remove dfu timeout 2020-09-04 15:13:42 +07:00
Karthik Karyamapudi 8ba551c07e Fix ota failure when paired 2020-08-17 17:26:16 -04:00
Michal Moskal 6642747a2d Disable timeout in OTA mode; add comments 2020-07-09 11:03:06 -07:00
Michal Moskal 6b4cf21ba2 Reset into app, if no USB connection in 3s
(only applies in SINGLE_TAP_RESET mode (MakeCode))
2020-07-08 13:49:53 -07:00
hathach 26e02484f3 remove submodule intelhex, use copied hexmerge.py instead 2020-05-13 13:22:34 +07:00
hathach f841a4593d update tinyusb for dcd nrf detect SD dynamically. 2020-05-12 14:36:42 +07:00
hathach 013458ad97 makefile to generate bootloader-nosd.uf2
everything seems working
2020-05-12 14:33:56 +07:00
hathach d594cbc1a4 add intelhex submodule
clean up
2020-05-12 13:25:52 +07:00
hathach afeb645a87 correct the DFU_BL_IMAGE_MAX_SIZE
skip populate MBR_BOOTLOADER_ADDR/MBR_PARAM_PAGE_ADDR
2020-05-12 00:48:06 +07:00
hathach 348f268113 app is invalid if both of its 2 first words are empty mask 2020-05-08 12:17:47 +07:00
hathach 6adf9810a6 read back full app size for simplicity 2020-05-08 11:23:11 +07:00
hathach 609473760a mark app as invalid when updating Softdevice only as application in uf2 mode
able to flash combine SD + cpy as single uf2. still has issue writing
back CURRENT.UF2
2020-05-08 00:45:01 +07:00
hathach 447207b875 add failed safe mbr forward address 2020-05-07 12:18:58 +07:00
hathach 570bd5b664 more clean up, everything look good
usb example work without SD, which means ISR forwarding is working.
2020-05-06 23:45:17 +07:00
hathach dad8e10f6c bootloader_app_start() correct set
- use sd vector table set if existed
- otherwise use mbr to set to application (0x1000)
2020-05-06 23:12:07 +07:00
hathach bce102e34a remove address from checking app valid function
either use address after SD or MBR
2020-05-06 16:25:50 +07:00
hathach 74c650851e more update 2020-05-06 15:53:31 +07:00
hathach af105128f3 populate bootloader address and mbr param if not available in MBR
check SD MAGIC before using sd API when init usb
2020-05-06 00:11:29 +07:00
hathach 0b84f428d2 added mbr 2.4.1 2020-05-05 21:47:20 +07:00
Ha Thach 3426778a27 Merge branch 'self-uf2' into master 2020-05-05 12:55:22 +07:00
hathach 3ca3b92e2a update tinyusb to commit 101f234 2020-05-04 16:51:58 +07:00
hathach 1c1104e989 added RTT printf for debugging 2020-05-04 16:50:56 +07:00
hathach 3bf0635676 updating wip 2020-04-23 13:42:30 +07:00
hathach 630a271372 update tinyusb 2020-04-19 14:36:13 +07:00
hathach d142418b0f update tinyusb submodule to 0.6.0 2020-03-30 16:23:56 +07:00
hathach b062026606 fix potential issue with interrupts_disable
also clean up
2020-03-27 11:59:37 +07:00
hathach 56c6378c39 comment out unused code in ble_dis 2020-03-27 11:58:24 +07:00
hathach e92937e9d5 still clean up 2020-03-26 16:32:41 +07:00
hathach 8e85c9aa8a add uf2 as submodule 2020-03-26 15:12:13 +07:00
hathach c467875ca3 clean up 2020-03-26 13:06:44 +07:00