Reorganize HAL (#14832)
This commit is contained in:
parent
cdd5056aba
commit
75efa3cdac
142 changed files with 547 additions and 422 deletions
|
|
@ -257,11 +257,11 @@ monitor_speed = 250000
|
|||
#
|
||||
# STM32F103RE
|
||||
#
|
||||
[env:STM32F1]
|
||||
[env:STM32F103R]
|
||||
platform = ststm32
|
||||
framework = arduino
|
||||
board = genericSTM32F103RE
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
||||
${common.build_flags} -std=gnu++14
|
||||
-DDEBUG_LEVEL=0
|
||||
build_unflags = -std=gnu++11
|
||||
|
|
@ -271,16 +271,16 @@ src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
|||
monitor_speed = 250000
|
||||
|
||||
#
|
||||
# fysetc_STM32F1
|
||||
# STM32F103R_fysetc
|
||||
#
|
||||
[env:fysetc_STM32F1]
|
||||
[env:STM32F103R_fysetc]
|
||||
platform = ststm32
|
||||
framework = arduino
|
||||
board = genericSTM32F103RC
|
||||
#board_build.core = maple
|
||||
platform_packages = tool-stm32duino
|
||||
extra_scripts = buildroot/share/PlatformIO/scripts/fysetc_STM32F1.py
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
|
||||
extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103R_fysetc.py
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
||||
${common.build_flags} -std=gnu++14
|
||||
-DDEBUG_LEVEL=0 -DHAVE_SW_SERIAL
|
||||
build_unflags = -std=gnu++11
|
||||
|
|
@ -296,13 +296,13 @@ upload_protocol = serial
|
|||
#
|
||||
# BigTree SKR Mini V1.1 / SKR mini E3 / SKR E3 DIP (STM32F103RCT6 ARM Cortex-M3)
|
||||
#
|
||||
[env:BIGTREE_SKR_MINI]
|
||||
[env:STM32F103R_bigtree]
|
||||
platform = ststm32
|
||||
framework = arduino
|
||||
board = genericSTM32F103RC
|
||||
platform_packages = tool-stm32duino
|
||||
extra_scripts = buildroot/share/PlatformIO/scripts/STM32F1_SKR_MINI.py
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
||||
${common.build_flags} -std=gnu++14
|
||||
-DDEBUG_LEVEL=0
|
||||
build_unflags = -std=gnu++11
|
||||
|
|
@ -355,13 +355,13 @@ monitor_speed = 250000
|
|||
#
|
||||
# Longer 3D board in Alfawise U20 (STM32F103VET6)
|
||||
#
|
||||
[env:alfawise_U20]
|
||||
[env:STM32F103V_longer]
|
||||
platform = ststm32
|
||||
framework = arduino
|
||||
board = genericSTM32F103VE
|
||||
monitor_speed = 250000
|
||||
extra_scripts = buildroot/share/PlatformIO/scripts/alfawise_Ux0.py
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
|
||||
extra_scripts = buildroot/share/PlatformIO/scripts/longer_STM32.py
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
||||
${common.build_flags} -std=gnu++14
|
||||
-DSTM32F1xx -DU20 -DTS_V12
|
||||
build_unflags = -std=gnu++11 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
|
||||
|
|
@ -377,7 +377,7 @@ platform = ststm32
|
|||
framework = arduino
|
||||
board = genericSTM32F103ZE
|
||||
extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin.py
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
||||
${common.build_flags} -std=gnu++14
|
||||
build_unflags = -std=gnu++11
|
||||
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
||||
|
|
@ -392,7 +392,7 @@ platform = ststm32
|
|||
framework = arduino
|
||||
board = genericSTM32F103RC
|
||||
extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_lite.py
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
||||
${common.build_flags} -std=gnu++14
|
||||
build_unflags = -std=gnu++11
|
||||
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
||||
|
|
@ -407,7 +407,7 @@ platform = ststm32
|
|||
framework = arduino
|
||||
board = genericSTM32F103VE
|
||||
extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_mini.py
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
||||
${common.build_flags} -std=gnu++14
|
||||
build_unflags = -std=gnu++11
|
||||
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
||||
|
|
@ -422,7 +422,7 @@ platform = ststm32
|
|||
framework = arduino
|
||||
board = genericSTM32F103VE
|
||||
extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_nano.py
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
||||
${common.build_flags} -std=gnu++14
|
||||
build_unflags = -std=gnu++11
|
||||
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
||||
|
|
@ -437,7 +437,7 @@ platform = ststm32
|
|||
framework = arduino
|
||||
board = genericSTM32F103ZE
|
||||
extra_scripts = buildroot/share/PlatformIO/scripts/jgaurora_a5s_a1_with_bootloader.py
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
||||
${common.build_flags} -DSTM32F1xx -std=gnu++14
|
||||
build_unflags = -std=gnu++11
|
||||
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
||||
|
|
@ -450,7 +450,7 @@ monitor_speed = 250000
|
|||
# 'Black' STM32F407VET6 board - http://wiki.stm32duino.com/index.php?title=STM32F407
|
||||
# Shield - https://github.com/jmz52/Hardware
|
||||
#
|
||||
[env:black_stm32f407ve]
|
||||
[env:STM32F407VE_black]
|
||||
platform = ststm32@5.4.3
|
||||
framework = arduino
|
||||
board = blackSTM32F407VET6
|
||||
|
|
@ -533,7 +533,7 @@ monitor_speed = 250000
|
|||
platform = ststm32
|
||||
framework = arduino
|
||||
board = malyanM200
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py -DMCU_STM32F103CB -D __STM32F1__=1 -std=c++1y -D MOTHERBOARD="BOARD_MALYAN_M200" -DSERIAL_USB -ffunction-sections -fdata-sections -Wl,--gc-sections
|
||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py -DMCU_STM32F103CB -D __STM32F1__=1 -std=c++1y -D MOTHERBOARD="BOARD_MALYAN_M200" -DSERIAL_USB -ffunction-sections -fdata-sections -Wl,--gc-sections
|
||||
-DDEBUG_LEVEL=0
|
||||
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
||||
#-<frameworks>
|
||||
|
|
@ -586,7 +586,7 @@ src_filter = ${common.default_src_filter} +<src/HAL/HAL_LINUX>
|
|||
#
|
||||
# Adafruit Grand Central M4 (Atmel SAMD51P20A ARM Cortex-M4)
|
||||
#
|
||||
[env:adafruit_grandcentral_m4]
|
||||
[env:SAMD51_grandcentral_m4]
|
||||
platform = atmelsam
|
||||
board = adafruit_grandcentral_m4
|
||||
framework = arduino
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue