Clan up the structure

This commit is contained in:
Attila Body 2025-05-31 17:45:15 +02:00
parent 340f0329fa
commit 45141798d8
Signed by: abody
GPG key ID: BD0C6214E68FB5CF
42 changed files with 134 additions and 452 deletions

View file

@ -0,0 +1,13 @@
cmake_minimum_required(VERSION 3.22)
add_library(platform INTERFACE)
# Enable CMake support for ASM and C languages
enable_language(C CXX ASM)
target_include_directories(platform INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(platform INTERFACE)

View file

@ -0,0 +1,6 @@
#ifndef __PLATFORM_CRC_LL_H_INCLUDED
#define __PLATFORM_CRC_LL_H_INCLUDED
#include "crc.h"
#endif // __PLATFORM_CRC_LL_H_INCLUDED

View file

@ -0,0 +1,6 @@
#ifndef __PLATFORM_DMA_LL_H_INCLUDED
#define __PLATFORM_DMA_LL_H_INCLUDED
#include "stm32f1xx_ll_dma.h"
#endif // __PLATFORM_DMA_LL_H_INCLUDED

View file

@ -0,0 +1,6 @@
#ifndef __PLATFORM_USART_LL_H_INCLUDED
#define __PLATFORM_USART_LL_H_INCLUDED
#include <stm32f1xx_ll_gpio.h>
#endif // __PLATFORM_USART_LL_H_INCLUDED

View file

@ -0,0 +1,6 @@
#ifndef __PLATFORM_USART_LL_H_INCLUDED
#define __PLATFORM_USART_LL_H_INCLUDED
#include <stm32f1xx_ll_usart.h>
#endif // __PLATFORM_USART_LL_H_INCLUDED

View file

@ -0,0 +1,6 @@
#ifndef __PLATFORM_USART_LL_H_INCLUDED
#define __PLATFORM_USART_LL_H_INCLUDED
#include <stm32f1xx_ll_utils.h>
#endif // __PLATFORM_USART_LL_H_INCLUDED