Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # Marlin Firmware
- # PlatformIO Configuration File
- #
- # For detailed documentation with EXAMPLES:
- #
- # http://docs.platformio.org/en/latest/projectconf.html
- #
- # Automatic targets - enable auto-uploading
- # targets = upload
- #
- # By default platformio build will abort after 5 errors.
- # Remove '-fmax-errors=5' from build_flags below to see all.
- #
- [platformio]
- src_dir = Marlin
- boards_dir = buildroot/share/PlatformIO/boards
- default_envs = BIGTREE_SKR_PRO
- [common]
- default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
- build_flags = -fmax-errors=5
- -g
- -ggdb
- lib_deps =
- U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
- LiquidCrystal@1.3.4
- #TMCStepper@>=0.5.0,<1.0.0
- https://github.com/bigtreetech/TMCStepper
- Adafruit NeoPixel@1.1.3
- LiquidTWI2=https://github.com/lincomatic/LiquidTWI2/archive/master.zip
- Arduino-L6470=https://github.com/ameyer/Arduino-L6470/archive/dev.zip
- SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
- SailfishRGB_LED=https://github.com/mikeshub/SailfishRGB_LED/archive/master.zip
- SlowSoftI2CMaster=https://github.com/mikeshub/SlowSoftI2CMaster/archive/master.zip
- #################################
- # #
- # Unique Core Architectures #
- # #
- # Add a new "env" below if no #
- # entry has values suitable to #
- # build for a given board. #
- # #
- #################################
- # Bigtreetech SKR Pro (STM32F407ZGT6 ARM Cortex-M4)
- #
- [env:BIGTREE_SKR_PRO]
- platform = ststm32
- framework = arduino
- board = BigTree_SKR_Pro
- extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
- build_flags = ${common.build_flags}
- -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407ZG\"
- -DTARGET_STM32F4 -DSTM32F407_5ZX -DVECT_TAB_OFFSET=0x8000 -DHAVE_HWSERIAL6
- lib_deps = ${common.lib_deps}
- lib_ignore = Adafruit NeoPixel, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
- src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
- monitor_speed = 250000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement