Commit Graph

20 Commits

Author SHA1 Message Date
Josh Stewart 011a2ed906 Remove warning about sprintf potential overflow 2023-11-15 08:24:58 +11:00
tx_haggis 977ffa3119
MISRA: clean up logger header (#1108)
* Move log header definitions inside sd_logger.ino
It's the only place they are used.

* Convert to CPP - fixes build error

* Encapsulate fsIntIndex

* MISRA fixes

* Convert logger.ino -> cpp

* Conditonal compile - reclaim memory
2023-10-06 15:07:12 +11:00
Josh Stewart ca4204234a Working SD logging on T4.1 2023-05-24 15:21:29 +10:00
Josh Stewart 65005c0019 Sync SD log with card at 4Hz interval 2023-05-02 13:13:19 +10:00
tx_haggis d1399a0f33
Enable Teensy 3.5 unit testing (#1038)
* Add missing forward declarations
Found while compiling teensy35 unit tests

* Unit test should not rely on EEPROM

* Fix bad lib_dep
Teensy35 #includes FlexCAN_4 headers

* Fix circular include
logger.h needs FPU_MAX_SIZE which is defined
in globals.h. Globals.h includes logger.h!

* Ambguity in integer typedefs
2023-04-26 15:54:15 +10:00
Daniel Tobias 7020705dbe
fix typos in code documentation (#816)
* fix typos in code documentation

* minor reverts

* fix typos in ini

Co-authored-by: Josh Stewart <josh@noisymime.org>
2022-04-11 10:49:58 +10:00
Pasi Kemppainen fb0a52bf6f
SD-Card logging for STM32 [EXPERIMENTAL] (#782)
* First test

* Update comments.
2022-02-05 09:15:58 +11:00
Josh Stewart 770158a5fe Show all log files on SD card, not just the first page 2021-12-24 15:30:37 +11:00
Josh Stewart 18f173f11b Add command to delete log file from SD 2021-12-10 14:29:01 +11:00
Josh Stewart e7a217fab7 Show correct SD card size 2021-11-30 14:40:01 +11:00
Josh Stewart c3805456b2 SD File copy to TunerStudio working 2021-11-25 13:19:54 +11:00
Josh Stewart 2841a9f648 Allow for manual SD logging start/stop 2021-11-24 16:14:31 +11:00
Josh Stewart 07bfc6025c Add file listing of SD card through to TS 2021-11-24 10:23:15 +11:00
Josh Stewart 2439883a69 Further SD compatibility work with new comms 2021-11-20 08:29:11 +11:00
Josh Stewart ef59fbabf0 First complete (Basic!) SD logging 2021-10-13 17:10:05 +11:00
Josh Stewart 793482a27b Big chunk of SD logging work. 2021-10-13 11:53:46 +11:00
Josh Stewart 93de5eecda Initial work on common SDFat library.
Implements much of the layout and settings from #543
2021-10-04 00:09:53 +11:00
Josh Stewart ca6eef2b31 Initial layout work on RTC and SD 2021-01-22 16:16:30 +11:00
Josh Stewart 06e5a4fdc3 Minor SD logging prep work 2020-09-18 10:48:08 +10:00
Josh Stewart b3a7ba8eac Some initial ground work for the SD logging 2019-12-19 17:31:02 +11:00