Skip to content

Commit a9e72b4

Browse files
author
Fill in your name and e-mail
committed
fix: Fix build problems after a clean install
1 parent 63c7b91 commit a9e72b4

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

frdm-ke06z/.cproject

+1-1
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@
771771
<vendor>NXP</vendor>
772772
<memory can_program="true" id="Flash" is_ro="true" size="128" type="Flash"/>
773773
<memory id="RAM" size="16" type="RAM"/>
774-
<memoryInstance derived_from="Flash" driver="FTMRE_KE06_04.cfx" edited="true" id="PROGRAM_FLASH" location="0x10000" size="0x10000"/>
774+
<memoryInstance derived_from="Flash" driver="FTMRE_KE06_04.cfx" edited="true" id="PROGRAM_FLASH" location="0x0" size="0x10000"/>
775775
<memoryInstance derived_from="RAM" edited="true" id="SRAM" location="0x1ffff000" size="0x4000"/>
776776
</chip>
777777
<processor>

frdm-ke06z/frdm-ke06z PE Debug.launch

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
<launchConfiguration type="com.pemicro.debug.gdbjtag.pne.launchConfigurationType">
33
<stringAttribute key="com.crt.ctrlcenter.OFSemuDetails" value="PEMicro63612E4B"/>
44
<booleanAttribute key="com.crt.ctrlcenter.saveState" value="true"/>
5-
<stringAttribute key="com.crt.ctrlcenter.serialNumber" value="USB1 - OpenSDA (63612E4B) [Currently Open]"/>
5+
<stringAttribute key="com.crt.ctrlcenter.serialNumber" value="USB1 - OpenSDA (63612E4B)"/>
66
<listAttribute key="com.crt.ctrlcenter.symbolsAndImagesGroupSettings"/>
77
<intAttribute key="com.nxp.mcuxpresso.core.datamodels.ui.launchers.PELaunchConfigHandler.version" value="1"/>
88
<booleanAttribute key="com.nxp.mcuxpresso.flash.clear.console" value="true"/>
99
<booleanAttribute key="com.nxp.mcuxpresso.flash.confirm" value="false"/>
1010
<stringAttribute key="com.nxp.mcuxpresso.ide.probe.manufacturer" value="P&amp;E Microcomputer Systems"/>
11-
<stringAttribute key="com.nxp.mcuxpresso.ide.probe.name" value="USB1 - OpenSDA (63612E4B) [Currently Open]"/>
11+
<stringAttribute key="com.nxp.mcuxpresso.ide.probe.name" value="USB1 - OpenSDA (63612E4B)"/>
1212
<stringAttribute key="com.nxp.mcuxpresso.ide.probe.type" value="USB1"/>
1313
<booleanAttribute key="com.nxp.mcuxpresso.pemicro.flash.cyclone.image" value="false"/>
1414
<stringAttribute key="com.nxp.mcuxpresso.pemicro.flash.program.action" value="Erase, blank check, program and verify"/>

setup.py

+8
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,14 @@ def generate_source_code():
114114
print("Generate the source file based on netbooting.proto.", end='')
115115
try:
116116
os.chdir("EmbeddedProto")
117+
118+
command = ["protoc", "-I./generator", "--python_out=./generator/EmbeddedProto",
119+
"./generator/embedded_proto_options.proto"]
120+
result = subprocess.run(command, check=False, capture_output=True)
121+
if result.returncode:
122+
print(" [" + CRED + "Fail" + CEND + "]")
123+
print(result.stderr.decode("utf-8"), end='', file=stderr)
124+
exit(1)
117125

118126
command = ["protoc", "-I../proto", "-I./generator/", "-I./generator/EmbeddedProto",
119127
"--eams_out=../frdm-ke06z/generated",

0 commit comments

Comments
 (0)