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
hathach
fe148b78d7
add Uart _begun, fix potetial hard fault with Debug level ON but Serial.begin() is not called
2017-03-17 13:36:26 +07:00
hathach
5fd39b1e28
loop() call yield() instead of vTaskDelay(1)
2017-03-15 12:57:06 +07:00
hathach
592f4a67cd
print version if DEBUG level is 1+
2017-03-07 17:03:34 +07:00
hathach
fd85800d88
clean up
2017-03-04 02:19:32 +07:00
hathach
c30b7f13ac
print meminfo every 10 seconds when Debug level = 2
2017-03-03 15:43:42 +07:00
hathach
ecdc351087
update central to support up to 4 conn with 1 shared secure connection
...
- adjust SRAM for bluefruit & loop task
- adjust BLE_GATTS_ATTR_TABLE_SIZE from 0x1000 down to 0x0B00
2017-02-18 01:41:07 +07:00
hathach
26a58c25f9
use RTOS get tick() API for millis() and micros() function.
2017-01-10 16:13:38 +07:00