diff options
Diffstat (limited to 'os/hal/ports/AVR/MEGA/platform.mk')
-rw-r--r-- | os/hal/ports/AVR/MEGA/platform.mk | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/os/hal/ports/AVR/MEGA/platform.mk b/os/hal/ports/AVR/MEGA/platform.mk index d7c355d54..0e47351ce 100644 --- a/os/hal/ports/AVR/MEGA/platform.mk +++ b/os/hal/ports/AVR/MEGA/platform.mk @@ -1,16 +1,15 @@ # List of all the AVR platform files.
PLATFORMSRC = ${CHIBIOS}/os/hal/ports/AVR/MEGA/hal_lld.c \
- ${CHIBIOS}/os/hal/ports/AVR/MEGA/hal_pal_lld.c \
- ${CHIBIOS}/os/hal/ports/AVR/MEGA/hal_serial_lld.c \
- ${CHIBIOS}/os/hal/ports/AVR/MEGA/hal_adc_lld.c \
- ${CHIBIOS}/os/hal/ports/AVR/MEGA/hal_ext_lld.c \
- ${CHIBIOS}/os/hal/ports/AVR/MEGA/hal_i2c_lld.c \
- ${CHIBIOS}/os/hal/ports/AVR/MEGA/hal_spi_lld.c \
- ${CHIBIOS}/os/hal/ports/AVR/MEGA/hal_gpt_lld.c \
- ${CHIBIOS}/os/hal/ports/AVR/MEGA/hal_pwm_lld.c \
- ${CHIBIOS}/os/hal/ports/AVR/MEGA/hal_icu_lld.c \
- ${CHIBIOS}/os/hal/ports/AVR/MEGA/hal_usb_lld.c \
- ${CHIBIOS}/os/hal/ports/AVR/MEGA/hal_st_lld.c
# Required include directories
PLATFORMINC = ${CHIBIOS}/os/hal/ports/AVR/MEGA
+
+# Drivers compatible with the platform.
+include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ADCv1/driver.mk
+include $(CHIBIOS)/os/hal/ports/AVR/MEGA/EXTv1/driver.mk
+include $(CHIBIOS)/os/hal/ports/AVR/MEGA/GPIOv1/driver.mk
+include $(CHIBIOS)/os/hal/ports/AVR/MEGA/I2Cv1/driver.mk
+include $(CHIBIOS)/os/hal/ports/AVR/MEGA/SPIv1/driver.mk
+include $(CHIBIOS)/os/hal/ports/AVR/MEGA/TIMv1/driver.mk
+include $(CHIBIOS)/os/hal/ports/AVR/MEGA/USARTv1/driver.mk
+include $(CHIBIOS)/os/hal/ports/AVR/MEGA/USBv1/driver.mk
|