mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
46bec882f3
Modules for MCU peripherals. Previous subsystems or direct definition in firmware makefile are kept for now, until dependencies are properly handled.
21 lines
549 B
XML
21 lines
549 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="spi_master" dir="mcu_periph" task="mcu">
|
|
<doc>
|
|
<description>
|
|
General SPI driver (master mode)
|
|
To activate a specific SPI peripheral, define flag USE_SPIX where X is your SPI peripheral number
|
|
</description>
|
|
</doc>
|
|
<header>
|
|
<file name="spi.h" dir="mcu_periph"/>
|
|
</header>
|
|
<makefile>
|
|
<define name="USE_SPI"/>
|
|
<define name="SPI_MASTER"/>
|
|
<file name="spi.c" dir="mcu_periph"/>
|
|
<file_arch name="spi_arch.c" dir="mcu_periph"/>
|
|
</makefile>
|
|
</module>
|
|
|