Renaming of LLD files inclusions.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9207 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Giovanni Di Sirio 2016-04-02 08:08:40 +00:00
parent ba66be44c7
commit f905d498c8
24 changed files with 38 additions and 40 deletions

View File

@ -76,7 +76,7 @@ typedef enum {
ADC_ERROR = 5 /**< Conversion complete. */ ADC_ERROR = 5 /**< Conversion complete. */
} adcstate_t; } adcstate_t;
#include "adc_lld.h" #include "hal_adc_lld.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver macros. */ /* Driver macros. */

View File

@ -100,7 +100,7 @@ typedef enum {
CAN_SLEEP = 4 /**< Sleep state. */ CAN_SLEEP = 4 /**< Sleep state. */
} canstate_t; } canstate_t;
#include "can_lld.h" #include "hal_can_lld.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver macros. */ /* Driver macros. */

View File

@ -76,7 +76,7 @@ typedef enum {
DAC_ERROR = 5 /**< Error. */ DAC_ERROR = 5 /**< Error. */
} dacstate_t; } dacstate_t;
#include "dac_lld.h" #include "hal_dac_lld.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver macros. */ /* Driver macros. */

View File

@ -71,7 +71,7 @@ typedef enum {
*/ */
typedef struct EXTDriver EXTDriver; typedef struct EXTDriver EXTDriver;
#include "ext_lld.h" #include "hal_ext_lld.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver macros. */ /* Driver macros. */

View File

@ -66,7 +66,7 @@ typedef struct GPTDriver GPTDriver;
*/ */
typedef void (*gptcallback_t)(GPTDriver *gptp); typedef void (*gptcallback_t)(GPTDriver *gptp);
#include "gpt_lld.h" #include "hal_gpt_lld.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver macros. */ /* Driver macros. */

View File

@ -82,7 +82,7 @@ typedef enum {
I2C_LOCKED = 5 /**> Bus or driver locked. */ I2C_LOCKED = 5 /**> Bus or driver locked. */
} i2cstate_t; } i2cstate_t;
#include "i2c_lld.h" #include "hal_i2c_lld.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver macros. */ /* Driver macros. */

View File

@ -62,7 +62,7 @@ typedef enum {
I2S_COMPLETE = 4 /**< Transmission complete. */ I2S_COMPLETE = 4 /**< Transmission complete. */
} i2sstate_t; } i2sstate_t;
#include "i2s_lld.h" #include "hal_i2s_lld.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver macros. */ /* Driver macros. */

View File

@ -66,7 +66,7 @@ typedef struct ICUDriver ICUDriver;
*/ */
typedef void (*icucallback_t)(ICUDriver *icup); typedef void (*icucallback_t)(ICUDriver *icup);
#include "icu_lld.h" #include "hal_icu_lld.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver macros. */ /* Driver macros. */

View File

@ -26,8 +26,6 @@
#if (HAL_USE_MAC == TRUE) || defined(__DOXYGEN__) #if (HAL_USE_MAC == TRUE) || defined(__DOXYGEN__)
#include "mii.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver constants. */ /* Driver constants. */
/*===========================================================================*/ /*===========================================================================*/
@ -77,7 +75,7 @@ typedef enum {
*/ */
typedef struct MACDriver MACDriver; typedef struct MACDriver MACDriver;
#include "mac_lld.h" #include "hal_mac_lld.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver macros. */ /* Driver macros. */

View File

@ -15,7 +15,7 @@
*/ */
/** /**
* @file mii.h * @file hal_mii.h
* @brief MII macros and structures. * @brief MII macros and structures.
* *
* @addtogroup MII * @addtogroup MII

View File

@ -110,7 +110,7 @@
/* Driver data structures and types. */ /* Driver data structures and types. */
/*===========================================================================*/ /*===========================================================================*/
#include "pal_lld.h" #include "hal_pal_lld.h"
/** /**
* @brief I/O bus descriptor. * @brief I/O bus descriptor.

View File

@ -89,7 +89,7 @@ typedef struct PWMDriver PWMDriver;
*/ */
typedef void (*pwmcallback_t)(PWMDriver *pwmp); typedef void (*pwmcallback_t)(PWMDriver *pwmp);
#include "pwm_lld.h" #include "hal_pwm_lld.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver macros. */ /* Driver macros. */

View File

@ -101,7 +101,7 @@ typedef struct {
/*lint -restore*/ /*lint -restore*/
} RTCDateTime; } RTCDateTime;
#include "rtc_lld.h" #include "hal_rtc_lld.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver macros. */ /* Driver macros. */

View File

@ -119,7 +119,7 @@ typedef enum {
SDC_CLK_50MHz SDC_CLK_50MHz
} sdcbusclk_t; } sdcbusclk_t;
#include "sdc_lld.h" #include "hal_sdc_lld.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver macros. */ /* Driver macros. */

View File

@ -93,7 +93,7 @@ typedef enum {
*/ */
typedef struct SerialDriver SerialDriver; typedef struct SerialDriver SerialDriver;
#include "serial_lld.h" #include "hal_serial_lld.h"
/** /**
* @brief @p SerialDriver specific methods. * @brief @p SerialDriver specific methods.

View File

@ -27,7 +27,7 @@
#if (HAL_USE_SERIAL_USB == TRUE) || defined(__DOXYGEN__) #if (HAL_USE_SERIAL_USB == TRUE) || defined(__DOXYGEN__)
#include "usb_cdc.h" #include "hal_usb_cdc.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver constants. */ /* Driver constants. */

View File

@ -75,7 +75,7 @@ typedef enum {
SPI_COMPLETE = 4 /**< Asynchronous operation complete. */ SPI_COMPLETE = 4 /**< Asynchronous operation complete. */
} spistate_t; } spistate_t;
#include "spi_lld.h" #include "hal_spi_lld.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver macros. */ /* Driver macros. */

View File

@ -43,7 +43,7 @@
/* Driver data structures and types. */ /* Driver data structures and types. */
/*===========================================================================*/ /*===========================================================================*/
#include "st_lld.h" #include "hal_st_lld.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver macros. */ /* Driver macros. */

View File

@ -103,7 +103,7 @@ typedef enum {
UART_RX_COMPLETE = 2 /**< Buffer complete. */ UART_RX_COMPLETE = 2 /**< Buffer complete. */
} uartrxstate_t; } uartrxstate_t;
#include "uart_lld.h" #include "hal_uart_lld.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver macros. */ /* Driver macros. */

View File

@ -366,7 +366,7 @@ typedef const USBDescriptor * (*usbgetdescriptor_t)(USBDriver *usbp,
uint8_t dindex, uint8_t dindex,
uint16_t lang); uint16_t lang);
#include "usb_lld.h" #include "hal_usb_lld.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver macros. */ /* Driver macros. */

View File

@ -15,7 +15,7 @@
*/ */
/** /**
* @file usb_cdc.h * @file hal_usb_cdc.h
* @brief USB CDC macros and structures. * @brief USB CDC macros and structures.
* *
* @addtogroup USB_CDC * @addtogroup USB_CDC

View File

@ -52,7 +52,7 @@ typedef enum {
WDG_READY = 2 /**< Ready. */ WDG_READY = 2 /**< Ready. */
} wdgstate_t; } wdgstate_t;
#include "wdg_lld.h" #include "hal_wdg_lld.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver macros. */ /* Driver macros. */

View File

@ -28,7 +28,7 @@
#if (HAL_USE_MAC == TRUE) || defined(__DOXYGEN__) #if (HAL_USE_MAC == TRUE) || defined(__DOXYGEN__)
#include "mii.h" #include "hal_mii.h"
/*===========================================================================*/ /*===========================================================================*/
/* Driver local definitions. */ /* Driver local definitions. */

View File

@ -1,20 +1,20 @@
# List of all the template platform files. # List of all the template platform files.
PLATFORMSRC = ${CHIBIOS}/os/hal/templates/hal_lld.c \ PLATFORMSRC = ${CHIBIOS}/os/hal/templates/hal_lld.c \
${CHIBIOS}/os/hal/templates/adc_lld.c \ ${CHIBIOS}/os/hal/templates/hal_adc_lld.c \
${CHIBIOS}/os/hal/templates/can_lld.c \ ${CHIBIOS}/os/hal/templates/hal_can_lld.c \
${CHIBIOS}/os/hal/templates/dac_lld.c \ ${CHIBIOS}/os/hal/templates/hal_dac_lld.c \
${CHIBIOS}/os/hal/templates/ext_lld.c \ ${CHIBIOS}/os/hal/templates/hal_ext_lld.c \
${CHIBIOS}/os/hal/templates/gpt_lld.c \ ${CHIBIOS}/os/hal/templates/hal_gpt_lld.c \
${CHIBIOS}/os/hal/templates/i2c_lld.c \ ${CHIBIOS}/os/hal/templates/hal_i2c_lld.c \
${CHIBIOS}/os/hal/templates/icu_lld.c \ ${CHIBIOS}/os/hal/templates/hal_icu_lld.c \
${CHIBIOS}/os/hal/templates/mac_lld.c \ ${CHIBIOS}/os/hal/templates/hal_mac_lld.c \
${CHIBIOS}/os/hal/templates/pal_lld.c \ ${CHIBIOS}/os/hal/templates/hal_pal_lld.c \
${CHIBIOS}/os/hal/templates/pwm_lld.c \ ${CHIBIOS}/os/hal/templates/hal_pwm_lld.c \
${CHIBIOS}/os/hal/templates/sdc_lld.c \ ${CHIBIOS}/os/hal/templates/hal_sdc_lld.c \
${CHIBIOS}/os/hal/templates/serial_lld.c \ ${CHIBIOS}/os/hal/templates/hal_serial_lld.c \
${CHIBIOS}/os/hal/templates/spi_lld.c \ ${CHIBIOS}/os/hal/templates/hal_spi_lld.c \
${CHIBIOS}/os/hal/templates/uart_lld.c \ ${CHIBIOS}/os/hal/templates/hal_uart_lld.c \
${CHIBIOS}/os/hal/templates/usb_lld.c ${CHIBIOS}/os/hal/templates/hal_usb_lld.c
# Required include directories # Required include directories
PLATFORMINC = ${CHIBIOS}/os/hal/templates PLATFORMINC = ${CHIBIOS}/os/hal/templates