impl printf
This commit is contained in:
parent
375ab76a2e
commit
7f4f50f9b7
5 changed files with 429 additions and 0 deletions
25
vendor/my_printf/inc/my_printf.h
vendored
Normal file
25
vendor/my_printf/inc/my_printf.h
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#ifndef MY_PRINTF_H
|
||||
#define MY_PRINTF_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include "stm32g0xx_ll_rcc.h"
|
||||
#include "stm32g0xx_ll_bus.h"
|
||||
#include "stm32g0xx_ll_crs.h"
|
||||
#include "stm32g0xx_ll_system.h"
|
||||
#include "stm32g0xx_ll_exti.h"
|
||||
#include "stm32g0xx_ll_cortex.h"
|
||||
#include "stm32g0xx_ll_utils.h"
|
||||
#include "stm32g0xx_ll_pwr.h"
|
||||
#include "stm32g0xx_ll_dma.h"
|
||||
#include "stm32g0xx_ll_gpio.h"
|
||||
#include "stm32g0xx_ll_usart.h"
|
||||
|
||||
|
||||
|
||||
void my_printf_config(uint32_t baudRate);
|
||||
|
||||
void my_uart_txchar(char ch);
|
||||
void my_uart_txstring(char *str);
|
||||
|
||||
|
||||
#endif /* MY_PRINTF_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue