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"
|
||||
|
Reference in New Issue
Block a user