mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-22 12:28:03 +08:00
73e93b0956
[chibios] Add support for a full ChibiOS arch This is replacing the previous mix chibios/libopencm3: - all drivers are ported to the new arch - it was hard to go forward and take advantages of the RTOS, now it is much easier - switch to v3 of ChibiOS - for now, it is functionaly the same than before - the previous variable length array mechanism used internaly by the sdlog is replaced by a more efficient library called TLSF (allow constant time malloc/free)
33 lines
1.2 KiB
XML
33 lines
1.2 KiB
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="logger_sd_chibios" dir="loggers">
|
|
<doc>
|
|
<description>
|
|
Log on a SD card, either text or binary data.
|
|
Based on ChibiOS HAL and Threads.
|
|
If board allows it (ex: Apogee), the log file is automatically closed on power down.
|
|
Files are written on a FAT file system using the FatFS library and can be accessed
|
|
by using the autopilot as a mass storage (plug USB while the board is running).
|
|
</description>
|
|
</doc>
|
|
<depends>tlsf</depends>
|
|
<header>
|
|
<file name="sdlog_chibios.h" />
|
|
</header>
|
|
<init fun="sdlog_chibios_init()"/>
|
|
<makefile target="ap">
|
|
<file name="sdlog_chibios.c"/>
|
|
<file name="sdlog_chibios/sdLog.c"/>
|
|
<file name="sdlog_chibios/msg_queue.c"/>
|
|
<file name="sdlog_chibios/sdLog.c"/>
|
|
<file name="sdlog_chibios/printf.c"/>
|
|
<file name="sdlog_chibios/usb_msd.c"/>
|
|
<file name="sdlog_chibios/usbStorage.c"/>
|
|
<file_arch name="sdio_arch.c" dir="mcu_periph"/>
|
|
<configure name="USE_FATFS" value="TRUE"/>
|
|
<define name="HAL_USE_RTC" value="TRUE"/>
|
|
<define name="HAL_USE_SDC" value="TRUE"/>
|
|
<define name="HAL_USE_USB" value="TRUE"/>
|
|
</makefile>
|
|
</module>
|