Files
paparazzi/conf/modules/tlsf.xml
T
Gautier Hattenberger 73e93b0956 [chibios] Add support for a full ChibiOS arch (#1699)
[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)
2016-06-07 09:44:38 +02:00

23 lines
743 B
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="tlsf">
<doc>
<description>
Dynamic memory allocator
Can be used as a replacement of malloc with a O(1) allocation time
</description>
<configure name="TLSF_MAX_FLI" value="16" description="limit buffer size to 2^TLSF_MAX_FLI (e.g. 64Ko for MAX_FLI of 16"/>
</doc>
<header>
<file name="tlsf_malloc.h" />
</header>
<init fun="tlsf_init_heaps()"/>
<makefile target="ap">
<configure name="TLSF_MAX_FLI" default="16"/>
<define name="MAX_FLI" value="$(TLSF_MAX_FLI)"/>
<file_arch name="tlsf_malloc_arch.c"/>
<include name="$(PAPARAZZI_SRC)/sw/ext/tlsf"/>
<file name="tlsf.c" dir="$(PAPARAZZI_SRC)/sw/ext/tlsf"/>
</makefile>
</module>