|
|
|
@ -13,7 +13,7 @@ print(projenv)
|
|
|
|
|
config = configparser.ConfigParser()
|
|
|
|
|
config.read("platformio.ini")
|
|
|
|
|
|
|
|
|
|
#com_port = config.get("env:STM32F103RC_cc_meeb_3dp", "upload_port")
|
|
|
|
|
#com_port = config.get("env:STM32F103RC_meeb", "upload_port")
|
|
|
|
|
#print('Use the {0:s} to reboot the board to dfu mode.'.format(com_port))
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
@ -57,5 +57,3 @@ for i, flag in enumerate(env["LINKFLAGS"]):
|
|
|
|
|
env["LINKFLAGS"][i] = "-Wl,-T" + custom_ld_script
|
|
|
|
|
elif flag == "-T":
|
|
|
|
|
env["LINKFLAGS"][i + 1] = custom_ld_script
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|