mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-10 06:59:54 +08:00
4ac6279aa9
* [fix] fix some bugs small errors from compilation tests * Attempt to fix the detection of failing tests Side effect: the file issues.md is not produced anymore, but still available in stdout, so needs a manual copy if needed
29 lines
906 B
XML
29 lines
906 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="can" dir="mcu_periph" task="mcu">
|
|
<doc>
|
|
<description>
|
|
General CAN driver
|
|
To activate a specific CAN peripheral, define flag USE_CANx where x is your CAN peripheral number
|
|
</description>
|
|
<configure name="USE_CANFD" value="TRUE" description="Use CANFD or just CAN"/>
|
|
<define name="USE_CANx" value="FALSE" description="Enable the CANx port"/>
|
|
</doc>
|
|
<dep>
|
|
<depends>mcu,threads</depends>
|
|
</dep>
|
|
<header>
|
|
<file name="can.h" dir="mcu_periph"/>
|
|
</header>
|
|
<!-- <event fun="can_event()" cond="ifeq ($(ARCH), stm32)"/> -->
|
|
<makefile>
|
|
<configure name="USE_CANFD" default="FALSE"/>
|
|
<define name="USE_CANFD" value="$(USE_CANFD)"/>
|
|
<file name="can.c" dir="mcu_periph"/>
|
|
<file_arch name="can_arch.c" dir="mcu_periph"/>
|
|
<test>
|
|
<define name="USE_CAN1"/>
|
|
</test>
|
|
</makefile>
|
|
</module>
|