Commit Graph
61 Commits
Author SHA1 Message Date
hathach c37c682621 add menu debug out option to select output meessage via Serial, Serial1 or Segger RTT 2021-11-24 14:15:32 +07:00
hathach 5ec8598ea9 update tinyusb lib to 1.0.0 2021-05-18 17:32:13 +07:00
hathach f91c517d27 sync with tinyusb lib latest 2021-05-10 12:56:17 +07:00
hathach 6a2dcbc3bf remove tinyusb core submodule, move tinyusb src to its own library to reduce dependency 2021-05-07 01:27:54 +07:00
Ha Thach 3d7ead802a Merge pull request #496 from henrygab/PWM_Conflicts
Opt-in PWM conflict avoidance
2020-08-24 15:25:49 +07:00
Kevin Frei 0a656410be No need for the separate ISR routine: just check 2020-08-17 09:47:54 -07:00
Kevin Frei e51b6f4808 Added resumeLoop functionality 2020-08-14 12:45:51 -07:00
Henry Gabryjelski db5e0d66ef Merge branch 'master' into PWM_Conflicts 2020-08-07 08:44:36 -07:00
Henry Gabryjelski 29843dacb0 Redefine tone() without ISR
Other minor changes include:
* Enable RTT option for output
  (requires platform.local.txt or boards.local.txt)
* Allow setting compiler optimization
  (requires platform.local.txt or boards.local.txt)
2020-08-03 01:43:25 -07:00
hathach 5bb5b132e5 fix power usbready not handled if bluefruit begin() is called fast enough 2020-08-01 21:47:38 +07:00
hathach cb6d216c9c move usb hardware init and tud_init into usb device thread
help to prevent USB IRQ when scheduler is not started yet
2020-07-23 07:45:09 +07:00
hathach 9a2f1384ad move Adafruit_TinyUSB_Core_init() inside loop() task 2020-07-22 22:25:20 +07:00
hathach 81a78d74ed update TinyUSB core to commit 11d669b4d2a40eb2fc5e51b2a9707a6de9d42363
Note: due to osal_freertos changes https://github.com/hathach/tinyusb/pull/468 the Adafruit_TinyUSB_Core_init() should be near the task scheduler (or better inside loop task) to prevent calling portYIELD_FROM_ISR() when scheduler not started
2020-07-22 21:54:55 +07:00
Ha Thach d727583ad1 Merge pull request #481 from adafruit/dev2
remove the force Serial connected when debug is eanbled.
2020-04-13 15:02:47 +07:00
hathach fde823a322 remove the force Serial connected when debug is eanbled. 2020-04-13 14:24:07 +07:00
Henry Gabryjelski 20b080f9a2 Control SysView by CFG_SYSVIEW
Of course, this commit ensures the following:

* Zero change to BSP defaults
* Zero change to compiled code
* Zero change to UI / menu options
2020-03-25 16:20:33 -07:00
hathach 8a402ab6e0 added gesture sensor, however attr memory is overflow 2020-03-11 21:40:33 +07:00
hathach a557014d95 skip wait for Serial in bleuart sketch 2020-03-07 17:19:56 +07:00
hathach 2a4185573b reduce task stack size
- ble      task from 512*3 -> 256*5
- loop     task from 512*3 -> 256*4
- callback task from 512*2 -> 256*3
- usbd     task from 150   -> 200
2019-09-19 16:42:36 +07:00
hathach d2fb5785dd clean up 2019-09-18 11:57:49 +07:00
hathach f5aeb3820d move tud cdc write flush to yield(), add yield() to Stream timeRead(), timePeek() 2019-05-28 18:24:33 +07:00
hathach f1012eaa31 use USE_TINYUSB instead of USBCON for consistency, USBCON still defined to be compatible with 3rd party lib 2019-05-09 23:56:52 +07:00
hathach dce9c93928 use USBCON macro to detect usb 2019-04-29 23:43:20 +07:00
hathach 290b3b7a7c rename usb core file 2019-04-29 21:03:14 +07:00
hathach 318dbc3cc6 clean up and rename usb file 2019-04-29 21:00:18 +07:00
hathach 8cbebd9563 add usb setID() 2019-04-27 14:55:34 +07:00
hathach f50715c5c0 renaming usb class 2019-04-25 08:42:53 +07:00
hathach 202ee59d5c move USB VID & PID to variant.h 2019-04-25 01:05:13 +07:00
hathach a18a1f53b9 fix build issue 2019-04-19 21:45:23 +07:00
hathach 1e36d50517 rename Adafruit_USBDev_Interface 2019-04-12 20:52:57 +07:00
hathach 55b4d3cfc2 added Adafruit_USBDevice based on tinyusb
- added Adafruit_USBInterface
- remove setLoopStacksize
- move usb code around
2019-04-12 00:12:24 +07:00
Brian Johnson 8238a84607 Fix _write return value in main.cpp 2019-03-10 20:34:50 -04:00
hathach a91215fca4 add qspi device printf for testing 2018-11-27 14:54:11 +07:00
hathach 8045b1ec74 rtos clean up, remove yield at the end of loop() 2018-10-31 17:01:53 +07:00
hathach 5476d0729a clean up 2018-10-29 21:46:04 +07:00
hathach 49691adb81 remove Serial.started(), make it safe to call Serial.begin() multiple times 2018-10-18 14:38:43 +07:00
hathach 057cba9a93 redirect Serial to USBSerial for nrf52840 2018-08-30 15:40:16 +07:00
hathach e6c4b0ff7e support serialEvent() 2018-07-12 16:51:28 +07:00
hathach 9cf9035434 clean up 2017-10-09 23:05:30 +07:00
hathach e84fd54027 added suspendLoop for low power 2017-09-27 15:48:15 +07:00
hathach b2e49f2fc9 Adacallback support fromISR call
- change Prioprity for loop() to LOW
- defer interrupt for both hw and sw encoder to ada callback
2017-09-15 17:56:24 +07:00
hathach 509d55f9a5 Add Adacallback as part of the repo and initial task 2017-09-15 16:40:14 +07:00
hathach e72a414f2b clean up 2017-09-01 11:08:58 +07:00
hathach b80c5a89bf test systemOff without freeRTOS 2017-08-31 18:15:38 +07:00
hathach 2528b45480 clean up 2017-07-27 00:11:26 +07:00
hathach cd2da96afb added bond debug when at level 2 2017-07-20 13:55:57 +07:00
hathach 673f1821ac add GAP getAddr and setAddr
add Bluefruit.printInfo()
2017-07-18 14:26:22 +07:00
hathach 55a922b3c1 close #30 add sysview realtrace support 2017-07-06 12:39:26 +07:00
hathach f42bea8d8f move bootloader retrieval to common init() 2017-06-29 14:44:02 +07:00
hathach 5751d6f651 increase memoryinfo for DEBUG LEVEL 2 to 60 seconds 2017-03-22 21:56:53 +07:00