We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7575da8 + 8855f08 commit d35fb56Copy full SHA for d35fb56
1 file changed
src/KeilXmlParser.ts
@@ -778,7 +778,11 @@ class ARMParser extends KeilParser<KeilARMOption> {
778
}
779
780
// default startUp index: 3 (2^3)
781
- const index = Math.log2(parseInt(info.StupSel));
+ let index = Math.log2(parseInt(info.StupSel) || 1);
782
+ if (index > 4) {
783
+ index = 4;
784
+ }
785
+
786
memInfo.ROM[index].isStartup = true;
787
788
memInfo.RAM[0].noInit = info.NoZi1 !== '0';
0 commit comments