Skip to content

Commit

Permalink
Fix static emulator demos build error
Browse files Browse the repository at this point in the history
  • Loading branch information
kar-rahul-aws committed Jul 31, 2023
1 parent 1262fdb commit af22468
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,6 @@ standard names. */
/* Ensure that system calls can only be made from kernel code. */
#define configENFORCE_SYSTEM_CALLS_FROM_KERNEL_ONLY 1

#define configALLOW_UNPRIVILEGED_CRITICAL_SECTIONS 0

#endif /* FREERTOS_CONFIG_H */
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</option>
<option>
<name>MemFile</name>
<state>$TOOLKIT_DIR$\CONFIG\debugger\Nuvoton\iom2351ae.ddf</state>
<state></state>
</option>
<option>
<name>RunToEnable</name>
Expand Down Expand Up @@ -88,7 +88,7 @@
</option>
<option>
<name>OCLastSavedByProductVersion</name>
<state>9.32.2.57275</state>
<state>9.30.1.50052</state>
</option>
<option>
<name>UseFlashLoader</name>
Expand Down Expand Up @@ -1072,7 +1072,7 @@
<name>STLINK_ID</name>
<archiveVersion>2</archiveVersion>
<data>
<version>8</version>
<version>7</version>
<wantNonLocal>1</wantNonLocal>
<debug>0</debug>
<option>
Expand All @@ -1081,7 +1081,7 @@
</option>
<option>
<name>CCSTLinkInterfaceRadio</name>
<state>0</state>
<state>1</state>
</option>
<option>
<name>CCSTLinkInterfaceCmdLine</name>
Expand All @@ -1098,7 +1098,7 @@
</option>
<option>
<name>CCSwoClockAuto</name>
<state>0</state>
<state>1</state>
</option>
<option>
<name>CCSwoClockEdit</name>
Expand Down Expand Up @@ -1190,14 +1190,6 @@
<version>1</version>
<state>0</state>
</option>
<option>
<name>CCSTLinkTargetVccEnable</name>
<state>1</state>
</option>
<option>
<name>CCSTLinkTargetVoltage</name>
<state>###Uninitialized###</state>
</option>
</data>
</settings>
<settings>
Expand Down Expand Up @@ -1425,7 +1417,7 @@
</option>
<option>
<name>CCXds100ResetList</name>
<version>1</version>
<version>0</version>
<state>0</state>
</option>
<option>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,19 +70,19 @@
</option>
<option>
<name>OGLastSavedByProductVersion</name>
<state>9.32.2.57275</state>
<state>9.30.1.50052</state>
</option>
<option>
<name>OGChipSelectEditMenu</name>
<state>M2351 series Nuvoton M2351 series</state>
<state>M2351 Nuvoton M2351</state>
</option>
<option>
<name>GenLowLevelInterface</name>
<state>0</state>
</option>
<option>
<name>GEndianModeBE</name>
<state>1</state>
<state>0</state>
</option>
<option>
<name>OGBufferedTerminalOutput</name>
Expand All @@ -99,7 +99,7 @@
<option>
<name>GBECoreSlave</name>
<version>32</version>
<state>60</state>
<state>0</state>
</option>
<option>
<name>OGUseCmsis</name>
Expand All @@ -120,7 +120,7 @@
</option>
<option>
<name>GFPUDeviceSlave</name>
<state>M2351 series Nuvoton M2351 series</state>
<state>M2351 Nuvoton M2351</state>
</option>
<option>
<name>FPU2</name>
Expand Down Expand Up @@ -1140,6 +1140,9 @@
<name>IAR</name>
<group>
<name>ARM_CM23_NTZ</name>
<file>
<name>$PROJ_DIR$\..\..\..\..\Source\portable\IAR\ARM_CM23_NTZ\non_secure\mpu_wrappers_v2_asm.S</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\..\Source\portable\IAR\ARM_CM23_NTZ\non_secure\port.c</name>
</file>
Expand All @@ -1149,9 +1152,6 @@
<file>
<name>$PROJ_DIR$\..\..\..\..\Source\portable\IAR\ARM_CM23_NTZ\non_secure\portasm.s</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\..\Source\portable\IAR\ARM_CM23_NTZ\non_secure\mpu_wrappers_v2_asm.S</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\..\Source\portable\IAR\ARM_CM23_NTZ\non_secure\portmacro.h</name>
</file>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,12 +385,12 @@
<File>
<GroupNumber>4</GroupNumber>
<FileNumber>15</FileNumber>
<FileType>5</FileType>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\..\Source\portable\GCC\ARM_CM23_NTZ\non_secure\portasm.h</PathWithFileName>
<FilenameWithoutPath>portasm.h</FilenameWithoutPath>
<PathWithFileName>..\..\..\..\Source\portable\GCC\ARM_CM23_NTZ\non_secure\mpu_wrappers_v2_asm.c</PathWithFileName>
<FilenameWithoutPath>mpu_wrappers_v2_asm.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
Expand All @@ -401,8 +401,8 @@
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\..\Source\portable\GCC\ARM_CM23_NTZ\non_secure\portmacro.h</PathWithFileName>
<FilenameWithoutPath>portmacro.h</FilenameWithoutPath>
<PathWithFileName>..\..\..\..\Source\portable\GCC\ARM_CM23_NTZ\non_secure\portasm.h</PathWithFileName>
<FilenameWithoutPath>portasm.h</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
Expand All @@ -413,20 +413,20 @@
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\..\Source\portable\GCC\ARM_CM23_NTZ\non_secure\portmacrocommon.h</PathWithFileName>
<FilenameWithoutPath>portmacrocommon.h</FilenameWithoutPath>
<PathWithFileName>..\..\..\..\Source\portable\GCC\ARM_CM23_NTZ\non_secure\portmacro.h</PathWithFileName>
<FilenameWithoutPath>portmacro.h</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<FileNumber>18</FileNumber>
<FileType>1</FileType>
<FileType>5</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\..\Source\portable\GCC\ARM_CM23_NTZ\non_secure\mpu_wrappers_v2_asm.c</PathWithFileName>
<FilenameWithoutPath>mpu_wrappers_v2_asm.c</FilenameWithoutPath>
<PathWithFileName>..\..\..\..\Source\portable\GCC\ARM_CM23_NTZ\non_secure\portmacrocommon.h</PathWithFileName>
<FilenameWithoutPath>portmacrocommon.h</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
Expand Down Expand Up @@ -476,7 +476,7 @@
<RteFlg>0</RteFlg>
<File>
<GroupNumber>5</GroupNumber>
<FileNumber>20</FileNumber>
<FileNumber>22</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
Expand All @@ -488,7 +488,7 @@
</File>
<File>
<GroupNumber>5</GroupNumber>
<FileNumber>21</FileNumber>
<FileNumber>23</FileNumber>
<FileType>5</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
Expand All @@ -500,7 +500,7 @@
</File>
<File>
<GroupNumber>5</GroupNumber>
<FileNumber>22</FileNumber>
<FileNumber>24</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
Expand All @@ -512,7 +512,7 @@
</File>
<File>
<GroupNumber>5</GroupNumber>
<FileNumber>23</FileNumber>
<FileNumber>25</FileNumber>
<FileType>5</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
Expand All @@ -532,7 +532,7 @@
<RteFlg>0</RteFlg>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>24</FileNumber>
<FileNumber>26</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
Expand All @@ -544,7 +544,7 @@
</File>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>25</FileNumber>
<FileNumber>27</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
Expand All @@ -556,7 +556,7 @@
</File>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>26</FileNumber>
<FileNumber>28</FileNumber>
<FileType>5</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<TargetCommonOption>
<Device>M2351KIAAEES</Device>
<Vendor>Nuvoton</Vendor>
<PackID>Nuvoton.NuMicro_DFP.1.3.19</PackID>
<PackID>Nuvoton.NuMicro_DFP.1.3.20</PackID>
<PackURL>https://github.com/OpenNuvoton/cmsis-packs/raw/master/Nuvoton_DFP/</PackURL>
<Cpu>IRAM(0x20000000,0x18000) IROM(0x00000000,0x00080000) CPUTYPE("ARMV8MBL") TZ CLOCK(12000000) ESEL ELITTLE</Cpu>
<FlashUtilSpec></FlashUtilSpec>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ LR_IROM1 0x00000000 { ; load region size_region
*(InRoot$$Sections)
*( privileged_functions )
}
ER_IROM2 0x8000 FIXED {
ER_IROM2 0xC000 FIXED {
.ANY (+RO)
}
RW_IRAM1 0x20000000 { ; RW data
Expand Down

0 comments on commit af22468

Please sign in to comment.