Skip to content

Commit

Permalink
move mcu files to dedicated folder
Browse files Browse the repository at this point in the history
  • Loading branch information
bkleiner committed Aug 11, 2024
1 parent 46ef17d commit 8020d0e
Show file tree
Hide file tree
Showing 51 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ extra_configs =

[common]
lib_archive = no
build_src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/> -<system/> -<driver/stm32> -<driver/at32> -<driver/native>
build_src_filter = +<*> -<.git/> -<.svn/> -<example/> -<examples/> -<test/> -<tests/> -<system/> -<driver/mcu/>
extra_scripts =
pre:script/pre_script.py
post:script/post_script.py
Expand All @@ -35,7 +35,7 @@ extends = common
board = SIMULATOR
platform = native
debug_tool = custom
build_src_filter = ${common.build_src_filter} +<driver/native> +<system/native>
build_src_filter = ${common.build_src_filter} +<driver/mcu/native> +<system/native>
build_flags =
${common.build_flags}
-lm
Expand All @@ -48,7 +48,7 @@ debug_tool = stlink
upload_protocol = dfu
platform = ststm32@~17.5.0
platform_packages = toolchain-gccarmnoneeabi@~1.120301.0
build_src_filter = ${common.build_src_filter} +<driver/stm32>
build_src_filter = ${common.build_src_filter} +<driver/mcu/stm32>
framework = stm32cube
board_build.stm32cube.custom_system_setup = yes

Expand Down Expand Up @@ -171,7 +171,7 @@ platform = https://github.com/ArteryTek/platform-arterytekat32.git#5729d36
platform_packages = toolchain-gccarmnoneeabi@~1.120301.0
framework = at32firmlib
board_build.at32firmlib.custom_system_setup = yes
build_src_filter = ${common.build_src_filter} +<driver/at32>
build_src_filter = ${common.build_src_filter} +<driver/mcu/at32>

[at32f435]
extends = at32
Expand Down
6 changes: 3 additions & 3 deletions src/core/project.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
#include "core/target.h"

#ifdef STM32
#include "driver/stm32/system.h"
#include "driver/mcu/stm32/system.h"
#endif

#ifdef AT32
#include "driver/at32/system.h"
#include "driver/mcu/at32/system.h"
#endif

#ifdef SIMULATOR
#include "driver/native/system.h"
#include "driver/mcu/native/system.h"
#endif

#ifdef USE_FAST_RAM
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8020d0e

Please sign in to comment.