Advertisement
shawnp123

skr pro platformio

Oct 20th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1. #
  2. # Marlin Firmware
  3. # PlatformIO Configuration File
  4. #
  5. # For detailed documentation with EXAMPLES:
  6. #
  7. # http://docs.platformio.org/en/latest/projectconf.html
  8. #
  9.  
  10. # Automatic targets - enable auto-uploading
  11. # targets = upload
  12.  
  13. #
  14. # By default platformio build will abort after 5 errors.
  15. # Remove '-fmax-errors=5' from build_flags below to see all.
  16. #
  17.  
  18. [platformio]
  19. src_dir = Marlin
  20. boards_dir = buildroot/share/PlatformIO/boards
  21. default_envs = BIGTREE_SKR_PRO
  22.  
  23. [common]
  24. default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
  25. build_flags = -fmax-errors=5
  26. -g
  27. -ggdb
  28. lib_deps =
  29. U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
  30. LiquidCrystal@1.3.4
  31. #TMCStepper@>=0.5.0,<1.0.0
  32. https://github.com/bigtreetech/TMCStepper
  33. Adafruit NeoPixel@1.1.3
  34. LiquidTWI2=https://github.com/lincomatic/LiquidTWI2/archive/master.zip
  35. Arduino-L6470=https://github.com/ameyer/Arduino-L6470/archive/dev.zip
  36. SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
  37. SailfishRGB_LED=https://github.com/mikeshub/SailfishRGB_LED/archive/master.zip
  38. SlowSoftI2CMaster=https://github.com/mikeshub/SlowSoftI2CMaster/archive/master.zip
  39.  
  40. #################################
  41. # #
  42. # Unique Core Architectures #
  43. # #
  44. # Add a new "env" below if no #
  45. # entry has values suitable to #
  46. # build for a given board. #
  47. # #
  48. #################################
  49.  
  50. # Bigtreetech SKR Pro (STM32F407ZGT6 ARM Cortex-M4)
  51. #
  52. [env:BIGTREE_SKR_PRO]
  53. platform = ststm32
  54. framework = arduino
  55. board = BigTree_SKR_Pro
  56. extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
  57. build_flags = ${common.build_flags}
  58. -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407ZG\"
  59. -DTARGET_STM32F4 -DSTM32F407_5ZX -DVECT_TAB_OFFSET=0x8000 -DHAVE_HWSERIAL6
  60. lib_deps = ${common.lib_deps}
  61. lib_ignore = Adafruit NeoPixel, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
  62. src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
  63. monitor_speed = 250000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement