Support for MEEB 3DP board (#18138)

This commit is contained in:
cccc 2020-06-02 07:25:13 +08:00 committed by GitHub
parent 48d9a5367b
commit 2bf63e29c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 1864 additions and 9 deletions

View file

@ -45,15 +45,7 @@ src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
lib_ignore =
Adafruit NeoPixel
SPI
lib_deps =
LiquidCrystal
TMCStepper@>=0.6.2
U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip
Adafruit MAX31865 library@>=1.1,<1.2
LiquidTWI2=https://github.com/lincomatic/LiquidTWI2/archive/master.zip
Arduino-L6470=https://github.com/ameyer/Arduino-L6470/archive/0.8.0.zip
SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
SlowSoftI2CMaster=https://github.com/mikeshub/SlowSoftI2CMaster/archive/master.zip
lib_deps = ${common.lib_deps}
SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
[common_avr8]
@ -287,6 +279,31 @@ board = genericSTM32F103RC
platform_packages = tool-stm32duino
monitor_speed = 115200
#
# MEEB_3DP (STM32F103RCT6 with 512K)
#
[env:STM32F103RC_cc_meeb_3dp]
platform = ${common_stm32f1.platform}
extends = common_stm32f1
board = MEEB_3DP
platform_packages = tool-stm32duino
build_flags = ${common_stm32f1.build_flags}
-DDEBUG_LEVEL=0
-DSS_TIMER=4
-DSTM32_FLASH_SIZE=512
-DHSE_VALUE=12000000U
-DUSE_USB_COMPOSITE
-DVECT_TAB_OFFSET=0x2000
-DGENERIC_BOOTLOADER
extra_scripts = pre:buildroot/share/PlatformIO/scripts/STM32F103RC_MEEB_3DP_create_variant.py
buildroot/share/PlatformIO/scripts/STM32F103RC_MEEB_3DP.py
lib_deps = ${common.lib_deps}
USBComposite for STM32F1@==0.91
Adafruit NeoPixel=https://github.com/ccccmagicboy/Adafruit_NeoPixel#meeb_3dp_use
lib_ignore = SPI, LiquidCrystal
debug_tool = stlink
upload_protocol = dfu
#
# STM32F103RC_fysetc
#