My Marlin configs for Fabrikator Mini and CTC i3 Pro B
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

STM32F103RC_MEEB_3DP.py 514B

12345678910111213141516171819
  1. #
  2. # STM32F103RC_MEEB_3DP.py
  3. #
  4. import pioutil
  5. if pioutil.is_pio_build():
  6. Import("env", "projenv")
  7. flash_size = 0
  8. vect_tab_addr = 0
  9. for define in env['CPPDEFINES']:
  10. if define[0] == "VECT_TAB_ADDR":
  11. vect_tab_addr = define[1]
  12. if define[0] == "STM32_FLASH_SIZE":
  13. flash_size = define[1]
  14. print('Use the {0:s} address as the marlin app entry point.'.format(vect_tab_addr))
  15. print('Use the {0:d}KB flash version of stm32f103rct6 chip.'.format(flash_size))