add tos_slist.h, rename tos.h to tos_k.h
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "tos.h"
|
||||
#include "tos_k.h"
|
||||
#include "tos_hal.h"
|
||||
#include "n32g020xx_common.h"
|
||||
#include "n32g020xx.h"
|
||||
@@ -53,7 +53,7 @@ __API__ int tos_hal_uart_init(hal_uart_t *uart, hal_uart_port_t port)
|
||||
uart->private_uart = &huart2;
|
||||
huart0.channel = UART_CH2;
|
||||
uart->private_uart = &huart2;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#include "tos.h"
|
||||
#include "tos_k.h"
|
||||
#include "tos_hal.h"
|
||||
#include "stm32f1xx_hal.h"
|
||||
#include "usart.h"
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#include "tos.h"
|
||||
#include "tos_k.h"
|
||||
#include "tos_hal.h"
|
||||
#include "stm32f4xx_hal.h"
|
||||
#include "sdio.h"
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#include "tos.h"
|
||||
#include "tos_k.h"
|
||||
#include "tos_hal.h"
|
||||
#include "stm32f4xx_hal.h"
|
||||
#include "usart.h"
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#include "tos.h"
|
||||
#include "tos_k.h"
|
||||
#include "tos_hal.h"
|
||||
#include "stm32f7xx_hal.h"
|
||||
#include "sdmmc.h"
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#include "tos.h"
|
||||
#include "tos_k.h"
|
||||
#include "tos_hal.h"
|
||||
#include "stm32l0xx_hal.h"
|
||||
#include "usart.h"
|
||||
@@ -14,7 +14,7 @@ __API__ int tos_hal_uart_init(hal_uart_t *uart, hal_uart_port_t port)
|
||||
} else if (port == HAL_UART_PORT_2) {
|
||||
uart->private_uart = &huart2;
|
||||
MX_USART2_UART_Init();
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#include "tos.h"
|
||||
#include "tos_k.h"
|
||||
#include "tos_hal.h"
|
||||
#include "stm32l4xx_hal.h"
|
||||
#include "usart.h"
|
||||
|
@@ -60,7 +60,7 @@
|
||||
#include "system_hc32l136.h"
|
||||
#include "sysctrl.h"
|
||||
//#include "gpio.h"
|
||||
#include "tos.h"
|
||||
#include "tos_k.h"
|
||||
/* C binding of definitions if building with C++ compiler */
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
@@ -110,7 +110,7 @@ extern "C"
|
||||
******************************************************************************
|
||||
** \brief IRQ name definition for all type MCUs
|
||||
******************************************************************************/
|
||||
|
||||
|
||||
#define PORTA_IRQHandler(void) IRQ000_Handler(void)
|
||||
#define PORTB_IRQHandler(void) IRQ001_Handler(void)
|
||||
#define PORTC_IRQHandler(void) IRQ002_Handler(void)
|
||||
|
Reference in New Issue
Block a user