748 Commits
Author SHA1 Message Date
tthandClaude Opus 5.5 780820646f freertos: a tick count ahead of the RTC no longer adds 2^24 ticks
Build / build (feather_nrf52840_sense_tft) (push) Failing after 12s
Build / build (itsybitsy52840) (push) Failing after 14s
Build / build (ledglasses_nrf52840) (push) Failing after 11s
Build / build (cplaynrf52840) (push) Failing after 28s
Build / build (feather52840sense) (push) Failing after 29s
Build / build (feather52832) (push) Failing after 29s
Build / build (feather52840) (push) Failing after 30s
Build / build (cluenrf52840) (push) Failing after 30s
xPortSysTickHandler catches up with diff = (RTC - tick count) & 0xFFFFFF.
With the tick count even one tick ahead, diff wrapped to ~2^24 and the loop
added 16,777,215 ticks: millis() jumped 16384 s (4.55 h). Seen on MeshCore
repeaters (nRF52840 + BLE) as uptime, airtime and the clock jumping ahead,
several times within minutes. A difference above half the counter range is
now taken as 'ahead' and skipped; the RTC catches up in a tick or two.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 11:01:42 +01:00
hathach 33d98c01d8 add Print:flush() 2025-05-30 15:09:12 +07:00
Ha Thach 4dcfa3b796 Merge pull request #826 from mattallen37/master
Add support for VDDHDIV5
2024-07-18 17:31:02 +07:00
Chad Attermann cb212d0c3f Making new/delete operators overridable
Added `__attribute__((weak))` weak linking annotation to new and delete operator
overrides to allow for user-defined overrides.
2024-07-12 12:59:46 -06:00
Matthew Richardson d48767476d Add support for VDDHDIV5
Allow reading the VDDHDIV5 ADC source on devices that support it, such as nRF52840. For designs where the VDDH pin is connected to a battery, this is a great way to measure battery voltage without any additional external components.
2024-06-14 10:48:34 -04:00
hathach 03bb265434 Merge branch 'refs/heads/master' into add-feather-833
bootloader/circuitplayground_nrf52840/circuitplayground_nrf52840_bootloader-0.6.2_s140_6.1.1.hex
bootloader/circuitplayground_nrf52840/circuitplayground_nrf52840_bootloader-0.6.2_s140_6.1.1.zip
bootloader/circuitplayground_nrf52840/circuitplayground_nrf52840_bootloader-0.7.0_s140_6.1.1.hex
bootloader/circuitplayground_nrf52840/circuitplayground_nrf52840_bootloader-0.7.0_s140_6.1.1.zip
bootloader/circuitplayground_nrf52840/circuitplayground_nrf52840_bootloader-0.9.0_s140_6.1.1.zip
bootloader/clue_nrf52840/clue_nrf52840_bootloader-0.6.2_s140_6.1.1.hex
bootloader/clue_nrf52840/clue_nrf52840_bootloader-0.6.2_s140_6.1.1.zip
bootloader/clue_nrf52840/clue_nrf52840_bootloader-0.7.0_s140_6.1.1.hex
bootloader/clue_nrf52840/clue_nrf52840_bootloader-0.7.0_s140_6.1.1.zip
bootloader/clue_nrf52840/clue_nrf52840_bootloader-0.9.0_s140_6.1.1.hex
bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.6.2_s132_6.1.1.hex
bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.6.2_s132_6.1.1.zip
bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.7.0_s132_6.1.1.hex
bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.7.0_s132_6.1.1.zip
bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.9.0_s132_6.1.1.hex
bootloader/feather_nrf52832/feather_nrf52832_bootloader-0.9.0_s132_6.1.1.zip
bootloader/feather_nrf52840_express/feather_nrf52840_express_bootloader-0.7.0_s140_6.1.1.hex
bootloader/feather_nrf52840_express/feather_nrf52840_express_bootloader-0.7.0_s140_6.1.1.zip
bootloader/feather_nrf52840_express/feather_nrf52840_express_bootloader-0.9.0_s140_6.1.1.hex
bootloader/feather_nrf52840_sense/feather_nrf52840_sense_bootloader-0.7.0_s140_6.1.1.hex
bootloader/feather_nrf52840_sense/feather_nrf52840_sense_bootloader-0.7.0_s140_6.1.1.zip
bootloader/feather_nrf52840_sense/feather_nrf52840_sense_bootloader-0.9.0_s140_6.1.1.hex
bootloader/feather_nrf52840_sense/feather_nrf52840_sense_bootloader-0.9.0_s140_6.1.1.zip
bootloader/itsybitsy_nrf52840_express/itsybitsy_nrf52840_express_bootloader-0.6.2_s140_6.1.1.hex
bootloader/itsybitsy_nrf52840_express/itsybitsy_nrf52840_express_bootloader-0.6.2_s140_6.1.1.zip
bootloader/itsybitsy_nrf52840_express/itsybitsy_nrf52840_express_bootloader-0.7.0_s140_6.1.1.hex
bootloader/itsybitsy_nrf52840_express/itsybitsy_nrf52840_express_bootloader-0.7.0_s140_6.1.1.zip
bootloader/itsybitsy_nrf52840_express/itsybitsy_nrf52840_express_bootloader-0.9.0_s140_6.1.1.hex
bootloader/itsybitsy_nrf52840_express/itsybitsy_nrf52840_express_bootloader-0.9.0_s140_6.1.1.zip
bootloader/ledglasses_nrf52840/ledglasses_nrf52840_bootloader-0.6.2_s140_6.1.1.zip
bootloader/ledglasses_nrf52840/ledglasses_nrf52840_bootloader-0.9.0_s140_6.1.1.hex
bootloader/ledglasses_nrf52840/ledglasses_nrf52840_bootloader-0.9.0_s140_6.1.1.zip
bootloader/metro_nrf52840_express/metro_nrf52840_express_bootloader-0.7.0_s140_6.1.1.hex
bootloader/metro_nrf52840_express/metro_nrf52840_express_bootloader-0.7.0_s140_6.1.1.zip
bootloader/metro_nrf52840_express/metro_nrf52840_express_bootloader-0.9.0_s140_6.1.1.zip
bootloader/particle_xenon/particle_xenon_bootloader-0.6.2_s140_6.1.1.hex
bootloader/particle_xenon/particle_xenon_bootloader-0.6.2_s140_6.1.1.zip
bootloader/particle_xenon/particle_xenon_bootloader-0.7.0_s140_6.1.1.hex
bootloader/particle_xenon/particle_xenon_bootloader-0.9.0_s140_6.1.1.hex
bootloader/raytac_mdbt50q_rx/raytac_mdbt50q_rx_bootloader-0.6.2_s140_6.1.1.hex
bootloader/raytac_mdbt50q_rx/raytac_mdbt50q_rx_bootloader-0.6.2_s140_6.1.1.zip
bootloader/raytac_mdbt50q_rx/raytac_mdbt50q_rx_bootloader-0.7.0_s140_6.1.1.zip
bootloader/raytac_mdbt50q_rx/raytac_mdbt50q_rx_bootloader-0.9.0_s140_6.1.1.hex
bootloader/raytac_mdbt50q_rx/raytac_mdbt50q_rx_bootloader-0.9.0_s140_6.1.1.zip
2024-06-05 16:31:16 +07:00
Ha Thach 6cc7213fe5 Merge pull request #747 from neotje/master
nrfx_temp implemented
2023-11-30 16:52:20 +07:00
Ha Thach cdfed5ad0a Merge pull request #744 from smartmeio/threadsafe_realloc-calloc
Implemented thread-safe realloc and calloc
2023-11-30 16:50:32 +07:00
hathach a71a669343 Merge branch 'master' into temp 2023-11-30 16:12:19 +07:00
hathach 124758ade2 add availableForWrite() for uart 2023-11-30 16:04:02 +07:00
Ha Thach fb4eb5211a Merge pull request #760 from jgartrel/master
Add helper functions to HwPWM Instance
2023-06-27 18:03:16 +07:00
James Gartrell 27b0c34f80 Remove baseAddr() since that could cause inconsistency when configured externally 2023-06-23 07:51:16 -07:00
jgartrel b6a4fa3fa4 Merge branch 'adafruit:master' into master 2023-04-24 18:24:29 -07:00
Vasily Nosov (DR) 78af883aa7 Update nrfx_config.h for SPIS 2023-04-05 11:49:01 -05:00
Vasily Nosov (DR) a1ad3e010f SPI Slave driver
Add missing SPIS driver
2023-04-04 23:00:34 -05:00
hathach 5cd4c237eb fix reset to bootloader issue with busy SoftDevice 2023-03-23 22:05:08 +07:00
James Gartrell a95d23e03a Add removeAllPins to HwPWM instance
Given that no function exists to enumerate added pins, this allows for the HwPWM instance to be completely reset.
2023-02-16 09:30:49 -08:00
James Gartrell 0ea975e6e3 Add baseAddr function to HwPWM instance
This allows for PWM configuration when direct register access is required.
2023-02-16 09:24:42 -08:00
neotje 68a1443840 All the socs supported by this bsp have the TEMP peripheral 2022-10-23 12:25:37 +02:00
neotje 1ecc92f012 TEMP only enabled for nRF52840 2022-10-22 23:19:00 +02:00
neotje 9f40270e88 nrfx_temp 2022-10-22 19:25:06 +02:00
Dario Gogliandolo b4427ae100 Implemented thread-safe realloc and calloc 2022-10-04 11:40:07 +02:00
hathach cc29a8c156 correct linker, add fill pattern for startup 2022-07-14 12:39:23 +07:00
hathach a373b2cece get most of the sketches compiled with 833 except though with external flash since 833 does not have qspi 2022-07-13 20:07:13 +07:00
hathach c73245a635 add initial support for feather 52833
- add linker and startup for 833
- add s140 7.3.0 header API
- add build.uf2_family, update platform.txt
- update makeboards.py to generate 833
- add 833 variant based on 840
2022-07-13 19:33:44 +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