My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

STM32F103RC_MEEB_3DP.py 477B

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