bcm #1

Merged
Kaonnull merged 8 commits from bcm into master 2022-03-03 18:31:07 +01:00
3 changed files with 6 additions and 46 deletions
Showing only changes of commit a9bdbca571 - Show all commits

47
.gitignore vendored
View File

@@ -32,48 +32,5 @@
*.out
*.app
build/.ninja_deps
build/.ninja_log
build/build.ninja
build/cmake_install.cmake
build/CMakeCache.txt
build/compile_commands.json
build/.cmake/api/v1/query/client-vscode/query.json
build/.cmake/api/v1/reply/cache-v2-8e3d784e6607879cd18c.json
build/.cmake/api/v1/reply/codemodel-v2-97bfd906ef366d86b34b.json
build/.cmake/api/v1/reply/index-2022-02-11T18-35-30-0824.json
build/.cmake/api/v1/reply/target-frame-Debug-7d0b6524a58d8e907a2f.json
build/.cmake/api/v1/reply/toolchains-v1-65972111b21e4388dc41.json
build/CMakeFiles/cmake.check_cache
build/CMakeFiles/CMakeOutput.log
build/CMakeFiles/rules.ninja
build/CMakeFiles/TargetDirectories.txt
build/CMakeFiles/3.20.21032501-MSVC_2/CMakeCCompiler.cmake
build/CMakeFiles/3.20.21032501-MSVC_2/CMakeCXXCompiler.cmake
build/CMakeFiles/3.20.21032501-MSVC_2/CMakeDetermineCompilerABI_C.bin
build/CMakeFiles/3.20.21032501-MSVC_2/CMakeDetermineCompilerABI_CXX.bin
build/CMakeFiles/3.20.21032501-MSVC_2/CMakeRCCompiler.cmake
build/CMakeFiles/3.20.21032501-MSVC_2/CMakeSystem.cmake
build/CMakeFiles/3.20.21032501-MSVC_2/CompilerIdC/CMakeCCompilerId.c
build/CMakeFiles/3.20.21032501-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.cpp
build/CMakeFiles/ShowIncludes/foo.h
build/CMakeFiles/ShowIncludes/main.c
build/frame/cmake_install.cmake
build/frame/frame.ilk
build/frame/frame.pdb
build/frame/CMakeFiles/frame.dir/embed.manifest
build/frame/CMakeFiles/frame.dir/intermediate.manifest
build/frame/CMakeFiles/frame.dir/manifest.rc
build/frame/CMakeFiles/frame.dir/manifest.res
build/frame/CMakeFiles/frame.dir/vc140.pdb
build/.cmake/api/v1/reply/cache-v2-dd95df14d5968b8bc03c.json
build/.cmake/api/v1/reply/index-2022-02-12T19-46-35-0149.json
.vscode/settings.json
build/.cmake/api/v1/reply/cache-v2-b08d9ee268491a48090a.json
build/.cmake/api/v1/reply/codemodel-v2-1315d454ed7a6fd4530a.json
build/.cmake/api/v1/reply/index-2022-02-12T20-17-15-0123.json
build/.cmake/api/v1/reply/target-bcm2835-Debug-370fe998a1b6bb8b7242.json
build/.cmake/api/v1/reply/target-frame-Debug-bbe37aa3d79fa8b439c0.json
build/.cmake/api/v1/reply/target-waveshare-Debug-223ca8c705d057f21abf.json
build/bcm2835/cmake_install.cmake
build/waveshare/cmake_install.cmake
build/*
.vscode/*

View File

@@ -10,4 +10,4 @@ set(src
add_library(${target} STATIC ${src})
target_include_directories(${target} PUBLIC include/)
target_link_libraries(${target} PRIVATE bcm2835)
target_link_libraries(${target} PUBLIC bcm2835)

View File

@@ -48,6 +48,9 @@
#ifndef _DEV_CONFIG_H_
#define _DEV_CONFIG_H_
#define RPI
#define USE_BCM2835_LIB
#include <stdint.h>
#include <stdio.h>
#include <unistd.h>