Added two config options to the FreeRTOSConfig file to get the demo running again. Fixed a typo in a file. Added a section to the link file (#940)

Co-authored-by: Soren Ptak <skptak@amazon.com>
pull/953/head
Soren Ptak 2 years ago committed by GitHub
parent 408c3841ea
commit 93a35f87d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -148,7 +148,7 @@ standard names. */
/* Normal assert() semantics without relying on the provision of an assert.h
header file. */
#define configASSERT( x ) if( ( x ) == 0UL ) { portDISABLE_INTERRUPTS(); for( ;; ); }
#define configASSERT( x ) if( ! ( x ) ) { portDISABLE_INTERRUPTS(); for( ;; ); }
/* LED not used at present, so just increment a variable to keep a count of the
number of times the LED would otherwise have been toggled. */
@ -166,6 +166,11 @@ solely for the purpose of ensuring parameters are passed into tasks correctly. *
#define configREG_TEST_TASK_3_PARAMETER ( ( void * ) 0x12345678 )
#define configREG_TEST_TASK_4_PARAMETER ( ( void * ) 0x87654321 )
/* Ensure that all system calls are coming from the kernel
Additionally allow unprivileged tasks to have critical sections. */
#define configENFORCE_SYSTEM_CALLS_FROM_KERNEL_ONLY 1
#define configALLOW_UNPRIVILEGED_CRITICAL_SECTIONS 1
#ifdef __cplusplus
}
#endif

@ -156,6 +156,13 @@ SECTIONS
PROVIDE_HIDDEN (__fini_array_end = .);
. = ALIGN(4);
/* Set start of system calls to here */
__syscalls_flash_start__ = .;
/* Place all FreeRTOS System calls here */
*(freertos_system_calls)
__syscalls_flash_end__ = .;
/* Mark the end of the system calls */
. = ALIGN(4);
*(.text*) /* all remaining code */

@ -4,7 +4,7 @@
* Version: V2.0
* Date: 16 August 2013
*
/* Copyright (c) 2011 - 2013 ARM LIMITED
* Copyright (c) 2011 - 2013 ARM LIMITED
All rights reserved.
Redistribution and use in source and binary forms, with or without

Loading…
Cancel
Save