Commit Graph
418 Commits
Author SHA1 Message Date
hathach e5d69d7b9a update tinyusb 2018-08-29 15:38:55 +07:00
hathach 2b1f24524e use wait_for_upload_port for nrf52840 2018-08-29 15:27:26 +07:00
hathach 050a5f465a DTR = false is counted as disconnected for touch1200 2018-08-29 15:07:33 +07:00
hathach 1277d79657 add missing file 2018-08-27 10:37:07 +07:00
hathach adc6182e81 add touch1200 for uploading 2018-08-24 18:47:29 +07:00
hathach 4cbcf9b351 add tinyusb stack to core folder 2018-08-24 18:30:57 +07:00
hathach 043aa57f43 clean up 2018-08-24 00:31:42 +07:00
hathach 5a994af8f4 move cmsis folder 2018-08-23 23:51:42 +07:00
hathach 57721bdaa3 remove files from sdk 2018-08-23 23:49:47 +07:00
hathach 91cb77ee34 add asm files 2018-08-23 22:25:49 +07:00
hathach 18e2fb9d58 re-add rtos_realloc() since it is used by nffs 2018-08-23 22:06:46 +07:00
hathach 44996ab09b use __WFE() instead of sd_app_evt_wait when sleep with freeRTOS 2018-08-23 21:54:32 +07:00
hathach 6171cbf046 update freeRTOS port 2018-08-23 21:51:04 +07:00
hathach a0176478ab arduino core build OK with tinyusb 2018-08-23 21:07:53 +07:00
hathach 3d462274a8 add nrfx to core 2018-08-23 21:06:41 +07:00
hathach 65a803bfb5 clean up freertos config, add static API support (required by tusb) 2018-08-23 20:40:42 +07:00
hathach 4c7841d55f add freeRTOS v10.0.1 2018-08-23 20:33:33 +07:00
hathach 24ab14d101 remove freeRTOS v8 2018-08-23 20:31:32 +07:00
hathach 33abdc4adc move sd folder 2018-08-23 15:16:59 +07:00
hathach 8581f28304 remove SD v6.0.0 files 2018-08-22 13:40:19 +07:00
Ben Artin 02c79ffe1f It’s the offset, not the data, that adusts to size 2018-08-20 21:44:28 -04:00
Ben Artin 23f88ea19b Fixed dbgDumpMemory for buffers > 255 bytes 2018-08-20 21:23:50 -04:00
hathach 011c351462 revert to SD 6.0.0, enable touch 1200 for uploading.
add enterUf2Dfu()
2018-08-16 19:16:26 +07:00
hathach 7a6592faab re-add SD v6.0.0 2018-08-16 19:11:54 +07:00
hathach 5e2256b21a enhance getBootloaderVersion() 2018-08-09 12:54:44 +07:00
hathach b6379c644b update bootloader + SD to 6.1.0 2018-08-09 12:46:54 +07:00
hathach 67106d5284 rename getFirmwareVersion() to getBootloaderVersion() 2018-08-07 16:50:30 +07:00
hathach 6ea7e84a0a Merge branch 'master' into develop and rename linker file 2018-08-07 16:20:19 +07:00
hathach 4640481d02 update Copyright year to 2018 2018-07-27 16:20:36 +07:00
hathach 5adabb9c6a Merge branch 'master' into develop 2018-07-12 21:36:36 +07:00
hathach e6c4b0ff7e support serialEvent() 2018-07-12 16:51:28 +07:00
hathach 1977aea69e correct update digitalPinToPort/portOutputRegister 2018-07-12 16:19:27 +07:00
hathach 456cb4a628 fix PWM max_value type cause incorrect servo behavior (640Hz instead of 50hz) 2018-07-12 15:58:01 +07:00
hathach ab7adf419f update digitalPinToPort/portOutputRegister etc... to support P1 for nrf52840 2018-06-27 00:57:16 +07:00
hathach e8dc344996 remove dual bank bootloader support 2018-06-26 14:40:24 +07:00
hathach 9bcccc5524 clean up data callback 2018-06-14 14:43:14 +07:00
hathach 6d1019b77e add decription for ada_callback 2018-06-14 14:40:00 +07:00
ChristofR 0c0026029f Bug Fix: UART IRQ Freezing
It was found that receiving UART data too rapidly would completely brick the UART peripheral (no further UART IRQs would be generated).

To brick the peripheral all of the following needs to be true.
1. A BLE connection is active
2. Serial speed is set fast enough (>= 115,200)
3. A continuous stream of Serial data needs to be received

Since interrupt timing is no longer guaranteed when the SoftDevice has an active BLE connection it is much more likely for UART data to be received when inside the UART IRQ. Clearing nrfUart->EVENTS_RXDRDY at the end of the IRQ increases the likelyhood of the system setting a pending IRQ before the current IRQ loop has cleared nrfUart->EVENTS_RXDRDY. If this occurs then the UART IRQ will be called again, but nrfUart->EVENTS_RXDRDY will be 0. Since nrfUart->RXD is no longer being cleared overruns start occuring and for some unknown reason the UART IRQ stops trigerring.
2018-06-07 15:51:57 +02:00
ChristofR 47ae6e88fd Bug Fix: UART IRQ Freezing
It was found that receiving UART data too rapidly would completely brick the UART peripheral (no further UART IRQs would be generated).

To brick the peripheral all of the following needs to be true.
1. A BLE connection is active
2. Serial speed is set fast enough (>= 115,200)
3. A continuous stream of Serial data needs to be received

Since interrupt timing is no longer guaranteed when the SoftDevice has an active BLE connection it is much more likely for UART data to be received when inside the UART IRQ. Clearing nrfUart->EVENTS_RXDRDY at the end of the IRQ increases the likelyhood of the system setting a pending IRQ before the current IRQ loop has cleared nrfUart->EVENTS_RXDRDY. If this occurs then the UART IRQ will be called again, but nrfUart->EVENTS_RXDRDY will be 0. Since nrfUart->RXD is no longer being cleared overruns start occuring and for some unknown reason the UART IRQ stops trigerring.
2018-06-07 15:49:54 +02:00
hathach 168502e180 rename linker script 2018-06-07 17:05:20 +07:00
hathach 694e48f8ca fix build error, add error of SD v6 2018-05-21 17:43:56 +07:00
hathach 57852c2a6e update SD lookup 2018-05-21 16:11:34 +07:00
hathach 6aad3b94c2 update linker for S132 v6 2018-05-21 16:00:45 +07:00
hathach 608a73a62f add s132 v6 headers 2018-05-21 15:36:54 +07:00
hathach d87d3939fa update sd table 2018-04-17 20:23:17 +07:00
hathach 313705e15c add nrf52 series common macros NRF52_SERIES 2018-04-17 17:20:22 +07:00
hathach 5f066373cb add system and startup for nrf52840 2018-04-16 17:38:32 +07:00
hathach 91074cccc4 start adding support for feather nrf52840 2018-04-09 15:03:12 +07:00
hathach 620470d5dc fix #142 add destructor for SoftwareTimer 2018-04-08 13:43:26 +07:00
hathach 2938ca0a6c Merge branch 'master' into develop 2018-04-05 13:39:25 +07:00