Use AzureRTOS ThreadX
This commit is contained in:
13
Core/Src/app.c
Normal file
13
Core/Src/app.c
Normal file
@ -0,0 +1,13 @@
|
||||
#include "app.h"
|
||||
|
||||
#include "stm32h7xx_hal.h"
|
||||
#include "tx_api.h"
|
||||
|
||||
#include "main.h"
|
||||
|
||||
void app_thread_entry(ULONG _) {
|
||||
while (1) {
|
||||
HAL_GPIO_TogglePin(STATUS1_GPIO_Port, STATUS1_Pin);
|
||||
tx_thread_sleep(50);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user