Commit Graph
564 Commits
Author SHA1 Message Date
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
Henry Gabryjelski c91bed1448 Fix #458
Update HwPWM3 when it exists
2020-03-20 10:34:47 -07:00
hathach 045f4f8cca partial revert PRITNF in lfs_util.h due to compilation error 2020-03-20 11:32:42 +07:00
Henry Gabryjelski 03805f3c33 Define PRINTF macro regardless of debug level. 2020-03-11 15:25:40 -07:00
Henry Gabryjelski 4565d0cd7d Use uppercase PRINTF.
This is a step in preparation for the ability to
change the default handler for printf(), such as
when advanced debug output capabilities make it
more performant to output via an alternative route.
2020-03-11 15:25:39 -07:00
Henry Gabryjelski 64b05d33aa Fix stack trace debug level check 2020-03-11 15:25:39 -07:00
Limor "Ladyada" Fried 70ff084b16 Merge pull request #452 from adafruit/add-sound-service
Add more sensor services
2020-03-11 13:31:48 -04: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
Ha Thach 569b9b21e6 Merge pull request #437 from henrygab/Segger_RTT_3
Update Segger SysView files to v3.10
2020-03-06 16:27:22 +07:00
hathach df6a459a10 remove requestPHY() from 1MB to 2MB, old Mac may not support 2MB. Leave it to central to switch
also add hci str debug
2020-03-02 22:11:30 +07:00
hathach a97d2454e3 finish quaternion service 2020-02-25 23:37:53 +07:00
Henry Gabryjelski 7c990c498c Fix compilation warning.
size_t is unsigned; the #defined constant was treated as an integer,
which caused the following warning:

In file included from cores\nRF5\Uart.cpp:21:0:
cores\nRF5\Arduino.h: In instantiation of
```C++
  decltype ( ((b < a) ? b :  a) )
   min(const T&, const L&)
   [with
    T = unsigned int;
    L = int;
    decltype (((b < a) ? b :  a)) = unsigned int
   ]:
```

cores\nRF5\Uart.cpp:228:54: required from here
cores\nRF5\Arduino.h:92:15: warning:
comparison between signed and unsigned integer expressions [-Wsign-compare]
     return (b < a) ? b : a;
2020-02-11 14:33:58 -08:00
Henry Gabryjelski 1cb51ff4a4 Remove contents when SysView is not enabled. 2020-02-11 14:24:27 -08:00
Henry Gabryjelski 5ed66d27d1 Apply FreeRTOSV10_Core.patch
Of course, had to apply them manually, as the patch file
did not apply directly.  This is because some files were
renamed / moved relative to the original distribution,
while others were deleted because they did not apply.
2020-02-11 14:03:16 -08:00
Henry Gabryjelski beb5c1bae4 Avoid link error from using ASM
When linking, get errors about undefined references
to `SEGGER_RTT_ASM_WriteSkipNoLock`
2020-02-11 14:02:25 -08:00
Henry Gabryjelski 84b65a88c0 Update SystemView to v3.10
Note: This does not compile, which is expected.
Need to apply patch file for RTOS v10 and restore
existing configuration modifications.
2020-02-11 13:22:11 -08:00
hathach a00eb4fa70 remove SERIAL_INTERFACES_COUNT macro
nrf52832 keep PIN_SERIAL_RX/TX
2020-01-31 22:09:46 +07:00
hathach 923974f6c4 support SerialEvent1/2 2020-01-31 21:28:28 +07:00
hathach 306b10dc7f follow up to #315
- Add SERIAL_INTERFACES_COUNT to all variants
- Rename PIN_SERIAL_RX/TX & PIN_SERIAL1_RX/TX
2020-01-31 21:27:54 +07:00
Ha Thach c84538a4f6 Merge branch 'master' into Serial2 2020-01-31 17:47:49 +07:00
hathach 5053710151 Merge branch 'master' into develop 2020-01-31 12:33:53 +07:00
Ha Thach 70d59dca4c Merge pull request #369 from prjh/SERIAL_8E1
Uart: support even parity SERIAL_8E1
2020-01-31 12:33:31 +07:00
hathach a724c718f6 Merge branch 'master' into develop 2020-01-31 11:08:53 +07:00
hathach 25232734f9 add SoftwareTimer setID/getID 2020-01-22 17:18:06 +07:00
Pierre 1358a1bc73 adding sense functions and sleep example 2020-01-19 17:08:34 -06:00
bluera1n 979a68dbd2 Fix wrong expression of device ID in getMcuUniqueID() 2020-01-17 00:40:55 +09:00
hathach 9bd542e3e9 increase SD ram for nrf52832
- from 0x3400 to 0x3600, fix #412
2020-01-15 12:42:29 +07:00
Henry Gabryjelski 80e1b12dc6 Remove unused variable. 2020-01-08 18:03:38 -08:00
Henry Gabryjelski c57a1853c8 unused variable (Integration of @hathach changes) 2020-01-06 08:25:52 -08:00
Henry Gabryjelski 42ad38b9ce update Scheduler.startLoop() for prio and name 2020-01-06 08:25:51 -08:00
Henry Gabryjelski 62e766d05d Match type in printf 2020-01-06 08:25:51 -08:00
Henry Gabryjelski a1826008e0 use function for VERIFY_MESS() to get parameter type checking 2020-01-06 08:25:50 -08:00
hathach 1163cc225a availableForWrite() return int 2019-12-31 11:46:58 +07:00
Ha Thach 5973ba1ec4 Merge pull request #399 from adafruit/develop
Cplayground bluefruit service
2019-12-27 13:46:17 +07:00
hathach 4a8253be33 sync tinyusb core 2019-12-27 11:19:13 +07:00
hathach ec0967fe05 include stdarg 2019-12-27 10:56:19 +07:00
hathach 29ffb38c0b Merge branch 'master' into develop 2019-12-25 11:30:16 +07:00
hathach 38e4262c7b update tinyusb core 2019-12-25 11:12:35 +07:00
hathach 23cdd536fe Merge branch 'master' into develop 2019-12-25 11:11:40 +07:00
hathach 8a7b1ee39f update tinyusb, add --recurse-submodules to readme get code 2019-12-24 21:53:53 +07:00
hathach 99f5348ada clean up 2019-12-20 13:15:16 +07:00
hathach 0dd74984a9 update tinyusb core 2019-12-20 13:07:09 +07:00
hathach 22be1e0385 rename to Adafruit_TinyUSB_nRF, add USBD detach/attach 2019-12-20 00:25:48 +07:00
hathach b18880362c move tinyusb core to submodule 2019-12-19 14:50:43 +07:00
hathach 583ad02a7d increase sd attribute table size from 0x800 to 0xC00, increase linker memory for SD 840 from 3400 to 6000 2019-11-18 20:12:34 +07:00
hathach 33857e9ed3 add timer ID support to software timer 2019-11-13 16:56:44 +07:00
hathach 54c87e8f29 refactor Software Timer, auto detect if in ISR mode 2019-11-13 16:29:58 +07:00