Make it work
This commit is contained in:
parent
8e9b69b87a
commit
4e1f01c4d4
25 changed files with 772 additions and 180 deletions
26
components/app/src/app.cpp
Normal file
26
components/app/src/app.cpp
Normal file
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* ll_testbed.cpp
|
||||
*
|
||||
* Created on: Oct 28, 2019
|
||||
* Author: abody
|
||||
*/
|
||||
#include "stm32f4xx_hal.h"
|
||||
#include "stm32f4xx_ll_gpio.h"
|
||||
#include <main.h>
|
||||
|
||||
#include <f4ll/console_handler.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <app.h>
|
||||
|
||||
void app_main()
|
||||
{
|
||||
f4ll::console_handler &con = f4ll::console_handler::init(USART2, DMA1, LL_DMA_STREAM_5, LL_DMA_STREAM_6);
|
||||
while (true) {
|
||||
con.print("Hello woooooooooooooooooooooooooooooooorld!\n");
|
||||
HAL_Delay(500);
|
||||
LL_GPIO_TogglePin(LD2_GPIO_Port, LD2_Pin);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue