Convert the project to CMake

revamp f4ll
move f4ll upstream to codeberg
This commit is contained in:
Attila Body 2025-06-08 23:15:46 +02:00
parent bc01b1f0e8
commit b1c676c394
Signed by: abody
GPG key ID: BD0C6214E68FB5CF
244 changed files with 159826 additions and 189336 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 "stm32f4xx_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 "usart.h"
#endif // __PLATFORM_USART_LL_H_INCLUDED