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 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))