Fix build failures in Nuvoton M2351 projects (#818)

* Fix build failures in Nuvoton M2351 projects

These are needed because of recent changes in the port

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
Gaurav-Aggarwal-AWS 2022-06-02 10:02:59 -07:00 committed by GitHub
parent 7c4e06b279
commit f62d4ecd69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 22 additions and 20 deletions

View file

@ -20,7 +20,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* https://www.FreeRTOS.org
* https://aws.amazon.com/freertos
* https://github.com/FreeRTOS
*
*/
@ -43,7 +43,12 @@
* https://www.FreeRTOS.org/a00110.html
*----------------------------------------------------------*/
extern uint32_t SystemCoreClock;
/* The #ifdef guards against the file being included from IAR assembly files. */
#ifndef __IASMARM__
extern uint32_t SystemCoreClock;
#endif /* __IASMARM__ */
/* Cortex M33 port configuration. */
#define configENABLE_MPU 1
@ -63,7 +68,7 @@ extern uint32_t SystemCoreClock;
#define configMINIMAL_STACK_SIZE ( ( uint16_t ) 128 )
#define configMINIMAL_SECURE_STACK_SIZE ( 1024 )
#define configMAX_TASK_NAME_LEN ( 12 )
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 50 * 1024 ) )
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 20 * 1024 ) )
/* Constants that build features in or out. */
#define configUSE_MUTEXES 1

View file

@ -621,7 +621,7 @@
</option>
<option>
<name>AUserIncludes</name>
<state></state>
<state>$PROJ_DIR$\..\Config</state>
</option>
<option>
<name>AExtraOptionsCheckV2</name>

View file

@ -60,16 +60,16 @@ define symbol __region_ROM_Unprivileged_end__ = 0x1007FFFF;
/* RAM Organization
* 1. Privileged Data:
* Start : 0x30008000
* End : 0x30008FFF
* Size : 4 Kbytes
* End : 0x3000FFFF
* Size : 32 Kbytes
* 2. Unprivileged Data:
* Start : 0x30009000
* Start : 0x30010000
* End : 0x30017FFF
* Size : 60 Kbytes
* Size : 32 Kbytes
*/
define symbol __region_RAM_Privileged_start__ = 0x30008000;
define symbol __region_RAM_Privileged_end__ = 0x30008FFF;
define symbol __region_RAM_Unprivileged_start__ = 0x30009000;
define symbol __region_RAM_Privileged_end__ = 0x3000FFFF;
define symbol __region_RAM_Unprivileged_start__ = 0x30010000;
define symbol __region_RAM_Unprivileged_end__ = 0x30017FFF;
/* Memory Regions. */

View file

@ -20,7 +20,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* https://www.FreeRTOS.org
* https://aws.amazon.com/freertos
* https://github.com/FreeRTOS
*
*/

View file

@ -20,7 +20,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* https://www.FreeRTOS.org
* https://aws.amazon.com/freertos
* https://github.com/FreeRTOS
*
*/

View file

@ -618,7 +618,7 @@
</option>
<option>
<name>AUserIncludes</name>
<state></state>
<state>$PROJ_DIR$\..\Config</state>
</option>
<option>
<name>AExtraOptionsCheckV2</name>
@ -1076,9 +1076,6 @@
<file>
<name>$PROJ_DIR$\..\..\..\..\..\Source\portable\IAR\ARM_CM23\secure\secure_context.h</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\..\..\Source\portable\IAR\ARM_CM23\secure\secure_context_port.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\..\..\Source\portable\IAR\ARM_CM23\secure\secure_context_port_asm.s</name>
</file>

View file

@ -20,7 +20,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* https://www.FreeRTOS.org
* https://aws.amazon.com/freertos
* https://github.com/FreeRTOS
*
*/

View file

@ -20,7 +20,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* https://www.FreeRTOS.org
* https://aws.amazon.com/freertos
* https://github.com/FreeRTOS
*
*/

View file

@ -20,7 +20,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* https://www.FreeRTOS.org
* https://aws.amazon.com/freertos
* https://github.com/FreeRTOS
*
*/

View file

@ -20,7 +20,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* https://www.FreeRTOS.org
* https://aws.amazon.com/freertos
* https://github.com/FreeRTOS
*
*/