Commit Graph
724 Commits
Author SHA1 Message Date
hathach 5cd4c237eb fix reset to bootloader issue with busy SoftDevice 2023-03-23 22:05:08 +07:00
Iain Buchanan 339553343d use uint64_t for intermediate calculate of pdMS_TO_TICKS so stop integer overflow for long ms values 2021-12-08 17:00:40 +09:30
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
Linar Yusupov 2cfc196bdc the function name change upon request by the repo maintainer 2021-10-13 18:26:02 +00:00
Linar Yusupov 9722dda24a add an interface to read Reset reason 2021-10-13 09:38:47 +03:00
hathach abcd158e99 update changelog and bump up version for release 1.1.0 2021-09-24 21:00:08 +07:00
hathach 781f3ddb81 clean up malloc/free 2021-08-25 11:46:56 +07:00
hathach 660ca0724d implemnent thread-safe malloc/free using --wrap linker option 2021-08-25 11:31:14 +07:00
hathach 5688870eef add comment for uart transceiver power 2021-08-18 13:04:41 +07:00
hathach 798c390f66 gracefully end() uart, wait for TX & RX phy to power down before disable it
this save around 900uA of power consumption
2021-08-18 13:00:33 +07:00
ajs123 df356456c7 Add SAADC offset cal and read CPU temp 2021-08-05 19:11:22 -04:00
ajs123 6227526699 Add reading of CPU temp 2021-08-04 07:55:01 -04:00
ajs123 511573a5ce Add offset calibration 2021-08-04 07:54:48 -04:00
ajs123 f1d78e488e Added readCPUTemperature() 2021-08-03 20:09:34 -04:00
ajs123 401eb29ca5 Added SAADC offset calibration 2021-08-03 20:08:49 -04:00
ajs123 85ec69aec1 Restored #includes to the original 2021-07-31 08:07:09 -04:00
ajs123 f51faa71f8 Add the ability to change SAADC acquisition time
Provide the user with the ability to change the SAADC acquisition time to accommodate higher source resistance signals.
2021-07-30 07:15:05 -04:00
Steven James 6de0971199 In common_func, force C++ linkage of arrcount_fails_if_not_array in case it gets included
inside extern "C".
2021-07-12 15:43:24 -04:00
Ciarán Connor 1420397113 Add missing UART baud rates 2021-06-27 12:17:01 +01:00
hathach 10f8db8ff0 update tinyusb libary to 1.2
fix example warnings
bump release to 0.24.0
2021-06-25 19:42:17 +07:00
Ha Thach 16fb459d03 Merge pull request #658 from adafruit/motion-trainer
Port TensorFlow Lite Motion Kit project
2021-06-21 23:38:07 +07:00
hathach e29a324d79 add most of the ble char 2021-06-08 16:14:04 +07:00
hathach 97fad97400 bump nRFCrypto, log clean up 2021-06-08 12:00:47 +07:00
Pierre 4eea3c89bb Fix to atomic compiler errors 2021-06-04 22:30:00 -06:00
hathach fdb4048832 fix CRYPTOCELL_IRQn prevent go to sleep causing high power 2021-06-03 15:32:51 +07:00
hathach 9947b1e95b use cmsis 5.4 from tool package 2021-05-26 11:49:56 +07:00
hathach b9de0dd52d fix various warnings 2021-05-25 21:29:08 +07:00
Ha Thach 9ae33db665 Merge pull request #642 from jpconstantineau/linker-bss-fix-warning
updated linker script to fix recurring issue with .bss linker warning
2021-05-21 23:08:19 +07:00
Pierre c04492add3 updated linker script to fix recurring issue with .bss linker warning 2021-05-20 10:24:26 -06: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 7c6bf37f5e add libraries/Adafruit_TinyUSB_Arduino as submodule
include Adafruit_USBD_CDC.h from submodule
2021-05-08 00:58:38 +07:00
hathach 228a51fdef clean up 2021-05-07 17:29:52 +07:00
hathach c260dad229 update tinyusb header 2021-05-07 14:49:12 +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
AnthonyDiGirolamo df80616179 Update itoa.c for -std=c++17 compatibility
This change copies over itoa.h and itoa.c from https://github.com/adafruit/ArduinoCore-samd/tree/master/cores/arduino

This adds in the missing utoa and itoa functions when compiling using -std=c++17. This nRF52 core is currently using -std=gnu++11 in platform.txt so this isn't normally an issue.

Tested compiling a few example sketches successfully in the Arduino IDE with this change. Not tested on device, haven't ordered hardware yet.

I'm hoping to get this fixed to add support for building pigweed on top
of this core. See https://pigweed.dev/targets/arduino/target_docs.html if interested :-)
2020-12-12 11:35:45 -08:00
ogatatsu fdded9018c Add analogReadVDD() function 2020-10-08 20:34:43 +09:00
Ha Thach 9f0f4245a3 Merge pull request #587 from ogatatsu/uart
fix to not use mutex in ISR
2020-10-06 21:52:45 +07:00
ogatatsu 60a4c7784c optimize by deleting mutex 2020-10-06 21:20:12 +09:00
hathach 3984c86902 fix some warnings
remove beacon blocking wait for Serial connection
2020-10-05 19:48:10 +07:00
Ha Thach 4d703b6f38 Merge pull request #583 from ogatatsu/pinMode
Add pinMode type
2020-10-05 16:25:38 +07:00
ogatatsu 2e5ed87044 fix to not use mutex in ISR 2020-10-04 16:42:39 +09:00
ogatatsu 6c6e552279 Add pinMode type 2020-10-03 09:56:31 +09:00
Freja Nordsiek 778d122d6d Changed definitions of CFG_TUD_VENDOR_RX_BUFSIZE and CFG_TUD_VENDOR_TX_BUFSIZE in cores/nRF5/TinyUSB/tusb_config.h to check if they are already defined. 2020-09-17 12:31:02 +02:00
hathach 0614a4ae00 update tinyusb core
- update tinyusb core to commit e7b892095f2bb5d8bef6a748238369bdd268ed5e
- Get String Descriptor support for interface
- Get line conding API for cdc
2020-09-15 21:03:42 +07:00
hathach 072f842808 update tinyusb core to commit 2afb2320e03e26c765aaeb51d430325b8adcdbf9
which contain the endpoint race fix from upstream
2020-09-15 00:18:06 +07:00
Freja Nordsiek f3a70865d4 Changed definition of SERIAL_BUFFER_SIZE in cores/nRF5/RingBuffer.h to check if it is already defined. 2020-09-14 10:32:58 +02:00
Ha Thach dc2802a2b1 Merge pull request #466 from adafruit/develop
implement comprehensive LESC and Legacy pairing
2020-09-11 23:54:28 +07:00
hathach 6aabe01674 Merge branch 'master' into develop 2020-09-11 19:16:30 +07:00
Eugene Anikin 1a1eef6761 Add missing nrfx source files 2020-09-09 12:15:54 -07:00