Clan up the structure
This commit is contained in:
parent
340f0329fa
commit
45141798d8
42 changed files with 134 additions and 452 deletions
16
components/app/src/app.cpp
Normal file
16
components/app/src/app.cpp
Normal file
|
@ -0,0 +1,16 @@
|
|||
#include <app.h>
|
||||
|
||||
#include <main.h>
|
||||
|
||||
#include <f1ll/console_handler.h>
|
||||
|
||||
void app_main()
|
||||
{
|
||||
f1ll::console_handler::init(USART1, DMA1, LL_DMA_CHANNEL_5, LL_DMA_CHANNEL_4);
|
||||
|
||||
while (true) {
|
||||
f1ll::console_handler::instance().print("->> Hello <<-\r\n");
|
||||
LL_GPIO_TogglePin(LED_GPIO_Port, LED_Pin);
|
||||
LL_mDelay(500);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue