mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2026-09-23 03:33:50 +08:00
Commit demos that have been updated for testing purposes before they are updated once more to test new low power features.
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
#define configUSE_TRACE_FACILITY 1
|
||||
#define configUSE_16_BIT_TICKS 0
|
||||
#define configIDLE_SHOULD_YIELD 0
|
||||
#define configUSE_CO_ROUTINES 1
|
||||
#define configUSE_CO_ROUTINES 0
|
||||
#define configUSE_MUTEXES 1
|
||||
#define configUSE_RECURSIVE_MUTEXES 1
|
||||
#define configCHECK_FOR_STACK_OVERFLOW 2
|
||||
@@ -105,7 +105,7 @@
|
||||
#define configQUEUE_REGISTRY_SIZE 10
|
||||
|
||||
/* Timer related defines. */
|
||||
#define configUSE_TIMERS 1
|
||||
#define configUSE_TIMERS 0
|
||||
#define configTIMER_TASK_PRIORITY 2
|
||||
#define configTIMER_QUEUE_LENGTH 20
|
||||
#define configTIMER_TASK_STACK_DEPTH ( configMINIMAL_STACK_SIZE * 2 )
|
||||
@@ -137,5 +137,9 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
|
||||
version. */
|
||||
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 1
|
||||
|
||||
#ifdef __ICCARM__
|
||||
void vAssertCalled( const char *pcFile, unsigned long ulLine );
|
||||
#define configASSERT( x ) if( x == 0 ) vAssertCalled( __FILE__, __LINE__ );
|
||||
#endif
|
||||
|
||||
#endif /* FREERTOS_CONFIG_H */
|
||||
|
||||
@@ -24,6 +24,7 @@ File 1,1,<..\Common\Minimal\QPeek.c><QPeek.c>
|
||||
File 1,1,<.\IntQueueTimer.c><IntQueueTimer.c>
|
||||
File 1,1,<..\Common\Minimal\IntQueue.c><IntQueue.c>
|
||||
File 1,1,<..\Common\Minimal\recmutex.c><recmutex.c>
|
||||
File 1,1,<..\Common\Minimal\QueueSet.c><QueueSet.c>
|
||||
File 2,1,<.\rit128x96x4.c><rit128x96x4.c>
|
||||
File 2,1,<.\osram128x64x4.c><osram128x64x4.c>
|
||||
File 2,4,<..\Common\drivers\LuminaryMicro\Keil\driverlib.lib><driverlib.lib>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -118,6 +118,7 @@ and the TCP/IP stack together cannot be accommodated with the 32K size limit. */
|
||||
|
||||
/* Standard includes. */
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
/* Scheduler includes. */
|
||||
#include "FreeRTOS.h"
|
||||
@@ -381,6 +382,8 @@ portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
|
||||
xMessage.pcMessage = "ERROR IN Q SET";
|
||||
}
|
||||
|
||||
configASSERT( strcmp( ( const char * ) xMessage.pcMessage, "PASS" ) == 0 );
|
||||
|
||||
/* Send the message to the OLED gatekeeper for display. */
|
||||
xHigherPriorityTaskWoken = pdFALSE;
|
||||
xQueueSendFromISR( xOLEDQueue, &xMessage, &xHigherPriorityTaskWoken );
|
||||
@@ -475,3 +478,22 @@ void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed portCHAR *pcTask
|
||||
|
||||
for( ;; );
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
void vAssertCalled( const char *pcFile, unsigned long ulLine )
|
||||
{
|
||||
volatile unsigned long ulSetTo1InDebuggerToExit = 0;
|
||||
|
||||
taskENTER_CRITICAL();
|
||||
{
|
||||
while( ulSetTo1InDebuggerToExit == 0 )
|
||||
{
|
||||
/* Nothing do do here. Set the loop variable to a non zero value in
|
||||
the debugger to step out of this function to the point that caused
|
||||
the assertion. */
|
||||
( void ) pcFile;
|
||||
( void ) ulLine;
|
||||
}
|
||||
}
|
||||
taskEXIT_CRITICAL();
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -28,7 +28,7 @@ ByteLimit=50
|
||||
[LMIFTDIDriver]
|
||||
LMI_ResetMode=0x00000000
|
||||
[DebugChecksum]
|
||||
Checksum=-42454089
|
||||
Checksum=-1311150949
|
||||
[Exceptions]
|
||||
StopOnUncaught=_ 0
|
||||
StopOnThrow=_ 0
|
||||
@@ -54,7 +54,8 @@ Exclusions=
|
||||
[Disassemble mode]
|
||||
mode=1
|
||||
[Breakpoints]
|
||||
Count=0
|
||||
Bp0=_ "STD_CODE" "{$PROJ_DIR$\main.c}.489.3" 1 0 0 0 "" 0 ""
|
||||
Count=1
|
||||
[Aliases]
|
||||
Count=0
|
||||
SuppressDialog=0
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -75,7 +75,7 @@
|
||||
* executed from within the IDE! Once it has been executed, re-open or refresh
|
||||
* the Eclipse project and remove the #error line below.
|
||||
*/
|
||||
//#error Ensure CreateProjectDirectoryStructure.bat has been executed before building. See comment immediately above.
|
||||
#error Ensure CreateProjectDirectoryStructure.bat has been executed before building. See comment immediately above.
|
||||
|
||||
#include "LPC17xx.h"
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user