Files
tthandClaude Opus 5.5 780820646f
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
freertos: a tick count ahead of the RTC no longer adds 2^24 ticks
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
..
2021-08-25 11:46:56 +07:00
2018-08-23 20:33:33 +07:00
2017-01-06 13:32:21 +07:00

Implementations detail.



No changes to original FreeRTOS code was made.

Directories was reorganized to move all changed or optional items outside the original, copied code.

That way just copying new version of FreeRTOS should give functional code.



Folders:

- source:  Original Source directory from FreeRTOS. Deleted all port files from portable subdirectory.

           In portable subdirectory only MemMang was left.

- license: Original License directory from FreeRTOS.

- config:  Base (clean) FreeRTOS configuration file.

- portable: Port files created for nrf5x microcontroller.