mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-01 11:53:53 -04:00
Update version number to 8.1.1 for patch release that re-enables mutexes to be given from an interrupt.
This commit is contained in:
parent
ff5d3512b3
commit
a60ce58731
1264 changed files with 12252 additions and 1288 deletions
|
@ -208,7 +208,7 @@
|
|||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="mot" artifactName="RTOSDemo" buildArtefactType="com.renesas.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=com.renesas.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf *.lst *.lis *.lpp *.map" description="" errorParsers="org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GASErrorParser;org.eclipse.cdt.core.GLDErrorParser" id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896.1336466388" name="RSKRL78L13" parent="com.renesas.cdt.RL78.configuration.hardwaredebug">
|
||||
<configuration artifactExtension="mot" artifactName="RTOSDemo" buildArtefactType="com.renesas.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=com.renesas.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf *.lst *.lis *.lpp *.map" description="" errorParsers="org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GASErrorParser;org.eclipse.cdt.core.GLDErrorParser" id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896.1336466388" name="RSKRL78L13" parent="com.renesas.cdt.RL78.configuration.hardwaredebug" postbuildStep="rl78-elf-size RTOSDemo.x">
|
||||
<folderInfo id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896.1336466388." name="/" resourcePath="">
|
||||
<toolChain errorParsers="" id="com.renesas.cdt.RL78.toolChain.hardwaredebugConf.173659762" name="KPIT GNURL78-ELF Toolchain" superClass="com.renesas.cdt.RL78.toolChain.hardwaredebugConf">
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE" id="com.renesas.cdt.rl78.hardwaredebug.win32.targetPlatform.1290357402" osList="win32" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.targetPlatform"/>
|
||||
|
@ -248,13 +248,16 @@
|
|||
<option id="com.renesas.cdt.core.Compiler.option.warning12.1187041851" name="Issue Warning of member initialisation mismatch(-Wreorder)" superClass="com.renesas.cdt.core.Compiler.option.warning12" value="true" valueType="boolean"/>
|
||||
<option id="com.renesas.cdt.core.Compiler.option.warning13.2085992177" name="Issue Warning of bad sign comparisions(-Wsign-compare)" superClass="com.renesas.cdt.core.Compiler.option.warning13" value="true" valueType="boolean"/>
|
||||
<option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat.1743586745" name="Debug format" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat.dwarf" valueType="enumerated"/>
|
||||
<option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel.854346802" name="Optimization level" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel.speedCodeSize" valueType="enumerated"/>
|
||||
<option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel.854346802" name="Optimization level" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel.none" valueType="enumerated"/>
|
||||
<option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.macroDefines.1857322785" name="Macro Defines" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.macroDefines" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="RSKRL78L13"/>
|
||||
</option>
|
||||
<option id="com.renesas.cdt.core.Compiler.option.includeSymbolTable.1827952485" name="Include Symbol Table(s)" superClass="com.renesas.cdt.core.Compiler.option.includeSymbolTable" value="true" valueType="boolean"/>
|
||||
<option id="com.renesas.cdt.core.Compiler.option.misc2.1309529749" name="Don't search standard system directories for header files(-nostdinc)" superClass="com.renesas.cdt.core.Compiler.option.misc2" value="false" valueType="boolean"/>
|
||||
<option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.userDefinedOptions.1713741321" name="User defined options" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.userDefinedOptions"/>
|
||||
<option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.userDefinedOptions.1713741321" name="User defined options" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.userDefinedOptions" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="-ffunction-sections"/>
|
||||
<listOptionValue builtIn="false" value="-fdata-sections"/>
|
||||
</option>
|
||||
<inputType id="%Base.Compiler.C.InputType.Id.1471081059" name="C Input" superClass="%Base.Compiler.C.InputType.Id"/>
|
||||
<inputType id="Base.Compiler.CPP.InputType.Id.1237074300" name="C++ Input" superClass="Base.Compiler.CPP.InputType.Id"/>
|
||||
</tool>
|
||||
|
@ -276,8 +279,32 @@
|
|||
</option>
|
||||
<option id="com.renesas.cdt.core.Linker.option.userDefinedOptions.393231908" name="User defined options" superClass="com.renesas.cdt.core.Linker.option.userDefinedOptions" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="-e_PowerON_Reset"/>
|
||||
<listOptionValue builtIn="false" value="--gc-sections"/>
|
||||
</option>
|
||||
<option command="-stats" id="com.renesas.cdt.core.Linker.option.misc8.1087911111" name="Compute and display statistics about the operation of the linker(-stats)" superClass="com.renesas.cdt.core.Linker.option.misc8" value="true" valueType="boolean"/>
|
||||
<option id="com.renesas.cdt.core.Linker.option.linkOrderList.1908118178" name="" superClass="com.renesas.cdt.core.Linker.option.linkOrderList" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="".\src/FreeRTOS_Source/portable/MemMang\heap_2.o""/>
|
||||
<listOptionValue builtIn="false" value="".\src/FreeRTOS_Source/portable/GCC/RL78\port.o""/>
|
||||
<listOptionValue builtIn="false" value="".\src/FreeRTOS_Source/portable/GCC/RL78\portasm.o""/>
|
||||
<listOptionValue builtIn="false" value="".\src/FreeRTOS_Source\croutine.o""/>
|
||||
<listOptionValue builtIn="false" value="".\src/FreeRTOS_Source\event_groups.o""/>
|
||||
<listOptionValue builtIn="false" value="".\src/FreeRTOS_Source\list.o""/>
|
||||
<listOptionValue builtIn="false" value="".\src/FreeRTOS_Source\queue.o""/>
|
||||
<listOptionValue builtIn="false" value="".\src/FreeRTOS_Source\tasks.o""/>
|
||||
<listOptionValue builtIn="false" value="".\src/FreeRTOS_Source\timers.o""/>
|
||||
<listOptionValue builtIn="false" value="".\src/Common-Demo-Tasks\PollQ.o""/>
|
||||
<listOptionValue builtIn="false" value="".\src/Common-Demo-Tasks\blocktim.o""/>
|
||||
<listOptionValue builtIn="false" value="".\src/Common-Demo-Tasks\dynamic.o""/>
|
||||
<listOptionValue builtIn="false" value="".\src\ExampleISR.o""/>
|
||||
<listOptionValue builtIn="false" value="".\src\RegTest.o""/>
|
||||
<listOptionValue builtIn="false" value="".\src\hardware_setup.o""/>
|
||||
<listOptionValue builtIn="false" value="".\src\main.o""/>
|
||||
<listOptionValue builtIn="false" value="".\src\main_blinky.o""/>
|
||||
<listOptionValue builtIn="false" value="".\src\main_full.o""/>
|
||||
<listOptionValue builtIn="false" value="".\src\reset_program.o""/>
|
||||
<listOptionValue builtIn="false" value="".\src\vector_table.o""/>
|
||||
<listOptionValue builtIn="false" value="".\libRTOSDemo.a""/>
|
||||
</option>
|
||||
</tool>
|
||||
<tool errorParsers="" id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.objcopy.Id.290652406" name="Objcopy" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.objcopy.Id"/>
|
||||
</toolChain>
|
||||
|
@ -604,5 +631,21 @@
|
|||
</scannerInfoProvider>
|
||||
</profile>
|
||||
</storageModule>
|
||||
<storageModule moduleId="refreshScope"/>
|
||||
<storageModule moduleId="refreshScope" versionNumber="2">
|
||||
<configuration configurationName="RL78_G1A_TB">
|
||||
<resource resourceType="PROJECT" workspacePath="/RTOSDemo"/>
|
||||
</configuration>
|
||||
<configuration configurationName="YRDKRL78G14">
|
||||
<resource resourceType="PROJECT" workspacePath="/RTOSDemo"/>
|
||||
</configuration>
|
||||
<configuration configurationName="RSKRL78L13">
|
||||
<resource resourceType="PROJECT" workspacePath="/RTOSDemo"/>
|
||||
</configuration>
|
||||
<configuration configurationName="RSKRL78L1C">
|
||||
<resource resourceType="PROJECT" workspacePath="/RTOSDemo"/>
|
||||
</configuration>
|
||||
<configuration configurationName="RSKRL78G1C">
|
||||
<resource resourceType="PROJECT" workspacePath="/RTOSDemo"/>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
</cproject>
|
||||
|
|
|
@ -15,7 +15,7 @@ com.renesas.cdt.rl78.HardwareDebug.Compiler.option.mmul=None
|
|||
com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveLibraryFiles=${ProjName};gcc;
|
||||
com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.1610499591="${CONFIGDIR}";"${TCINSTALL}/lib/gcc/rl78-elf//${GCC_VERSION}";"${TCINSTALL}\\lib\\gcc\\rl78-elf\\\\${GCC_VERSION}";
|
||||
com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.1960648199="${CONFIGDIR}";"${TCINSTALL}\\lib\\gcc\\rl78-elf\\\\${GCC_VERSION}";
|
||||
com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.8586332="${CONFIGDIR}";"${TCINSTALL}/lib/gcc/rl78-elf//${GCC_VERSION}";"${TCINSTALL}\\lib\\gcc\\rl78-elf\\\\${GCC_VERSION}";
|
||||
com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.8586332="${CONFIGDIR}";"${TCINSTALL}/lib/gcc/rl78-elf//${GCC_VERSION}";"${TCINSTALL}/lib/gcc/rl78-elf/${GCC_VERSION}";
|
||||
com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.970009502="${CONFIGDIR}";"${TCINSTALL}\\lib\\gcc\\rl78-elf\\\\${GCC_VERSION}";
|
||||
com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.984802356="${CONFIGDIR}";"${TCINSTALL}/lib/gcc/rl78-elf//${GCC_VERSION}";"${TCINSTALL}\\lib\\gcc\\rl78-elf\\\\${GCC_VERSION}";
|
||||
eclipse.preferences.version=1
|
||||
|
|
|
@ -129,10 +129,41 @@ to write an ISR to be included in this file. */
|
|||
static SemaphoreHandle_t xSemaphore = NULL;
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
#define portPSW ( 0xc6UL )
|
||||
volatile uint32_t *pulAddress;
|
||||
volatile uint32_t ulValue, ulError = 0;
|
||||
|
||||
int main( void )
|
||||
{
|
||||
/* The mainCREATE_SIMPLE_BLINKY_DEMO_ONLY setting is described at the top
|
||||
of this file. */
|
||||
/* Store an address below 0x8000 */
|
||||
pulAddress = ( uint32_t * ) 0x7fff;
|
||||
|
||||
/* Cast and OR with a value that uses the two most significant
|
||||
bytes. */
|
||||
ulValue = ( ( uint32_t ) pulAddress ) | ( portPSW << 24UL );
|
||||
|
||||
/* This test passes. */
|
||||
if( ulValue != 0xc6007fff )
|
||||
{
|
||||
/* This line of code is not executed. */
|
||||
ulError = 1;
|
||||
}
|
||||
|
||||
/* Now do the same, but with an address above 0x7fff, but
|
||||
still slower than the max 16-bit value. */
|
||||
pulAddress = ( uint32_t * ) 0x8000;
|
||||
ulValue = ( ( uint32_t ) pulAddress ) | ( portPSW << 24UL );
|
||||
|
||||
/* This test *fails*. */
|
||||
if( ulValue != 0xc6008000 )
|
||||
{
|
||||
/* This line of code *is* executed. */
|
||||
ulError = 1;
|
||||
}
|
||||
|
||||
|
||||
/* The mainCREATE_SIMPLE_BLINKY_DEMO_ONLY setting is
|
||||
described at the top of this file. */
|
||||
#if mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 1
|
||||
{
|
||||
main_blinky();
|
||||
|
|
|
@ -226,8 +226,8 @@ void main_full( void )
|
|||
/* First create the 'standard demo' tasks. These are used to demonstrate
|
||||
API functions being used and also to test the kernel port. More information
|
||||
is provided on the FreeRTOS.org WEB site. */
|
||||
vStartDynamicPriorityTasks();
|
||||
vStartPolledQueueTasks( tskIDLE_PRIORITY );
|
||||
// vStartDynamicPriorityTasks();
|
||||
// vStartPolledQueueTasks( tskIDLE_PRIORITY );
|
||||
|
||||
/* Additional tasks can be added by un-commenting the line below on devices
|
||||
with sufficient RAM for a larger heap (see configTOTAL_HEAP_SIZE in
|
||||
|
@ -239,37 +239,40 @@ void main_full( void )
|
|||
"Reg1", /* Text name for the task - to assist debugging only, not used by the kernel. */
|
||||
configMINIMAL_STACK_SIZE, /* The size of the stack allocated to the task (in words, not bytes). */
|
||||
mainREG_TEST_1_PARAMETER, /* The parameter passed into the task. */
|
||||
tskIDLE_PRIORITY, /* The priority at which the task will execute. */
|
||||
configMAX_PRIORITIES-1, /*tskIDLE_PRIORITY,*/ /* The priority at which the task will execute. */
|
||||
NULL ); /* Used to pass the handle of the created task out to the function caller - not used in this case. */
|
||||
|
||||
xTaskCreate( prvRegTest2Entry, "Reg2", configMINIMAL_STACK_SIZE, mainREG_TEST_2_PARAMETER, tskIDLE_PRIORITY, NULL );
|
||||
// xTaskCreate( prvRegTest2Entry, "Reg2", configMINIMAL_STACK_SIZE, mainREG_TEST_2_PARAMETER, tskIDLE_PRIORITY, NULL );
|
||||
|
||||
/* Create the software timer that performs the 'check' functionality,
|
||||
as described at the top of this file. */
|
||||
xCheckTimer = xTimerCreate( "CheckTimer", /* A text name, purely to help debugging. */
|
||||
( mainCHECK_TIMER_PERIOD_MS ), /* The timer period, in this case 3000ms (3s). */
|
||||
pdTRUE, /* This is an auto-reload timer, so xAutoReload is set to pdTRUE. */
|
||||
( void * ) 0, /* The ID is not used, so can be set to anything. */
|
||||
prvCheckTimerCallback /* The callback function that inspects the status of all the other tasks. */
|
||||
);
|
||||
// xCheckTimer = xTimerCreate( "CheckTimer", /* A text name, purely to help debugging. */
|
||||
// ( mainCHECK_TIMER_PERIOD_MS ), /* The timer period, in this case 3000ms (3s). */
|
||||
// pdTRUE, /* This is an auto-reload timer, so xAutoReload is set to pdTRUE. */
|
||||
// ( void * ) 0, /* The ID is not used, so can be set to anything. */
|
||||
// prvCheckTimerCallback /* The callback function that inspects the status of all the other tasks. */
|
||||
// );
|
||||
|
||||
/* Create the software timer that just increments a variable for demo
|
||||
purposes. */
|
||||
xDemoTimer = xTimerCreate( "DemoTimer", /* A text name, purely to help debugging. */
|
||||
( mainDEMO_TIMER_PERIOD_MS ), /* The timer period, in this case it is always calculated relative to the check timer period (see the definition of mainDEMO_TIMER_PERIOD_MS). */
|
||||
pdTRUE, /* This is an auto-reload timer, so xAutoReload is set to pdTRUE. */
|
||||
( void * ) 0, /* The ID is not used, so can be set to anything. */
|
||||
prvDemoTimerCallback /* The callback function that inspects the status of all the other tasks. */
|
||||
);
|
||||
// xDemoTimer = xTimerCreate( "DemoTimer", /* A text name, purely to help debugging. */
|
||||
// ( mainDEMO_TIMER_PERIOD_MS ), /* The timer period, in this case it is always calculated relative to the check timer period (see the definition of mainDEMO_TIMER_PERIOD_MS). */
|
||||
// pdTRUE, /* This is an auto-reload timer, so xAutoReload is set to pdTRUE. */
|
||||
// ( void * ) 0, /* The ID is not used, so can be set to anything. */
|
||||
// prvDemoTimerCallback /* The callback function that inspects the status of all the other tasks. */
|
||||
// );
|
||||
|
||||
/* Start both the check timer and the demo timer. The timers won't actually
|
||||
start until the scheduler is started. */
|
||||
xTimerStart( xCheckTimer, mainDONT_BLOCK );
|
||||
xTimerStart( xDemoTimer, mainDONT_BLOCK );
|
||||
// xTimerStart( xCheckTimer, mainDONT_BLOCK );
|
||||
// xTimerStart( xDemoTimer, mainDONT_BLOCK );
|
||||
|
||||
/* Finally start the scheduler running. */
|
||||
vTaskStartScheduler();
|
||||
|
||||
extern void my_function( void );
|
||||
my_function();
|
||||
|
||||
/* If all is well execution will never reach here as the scheduler will be
|
||||
running. If this null loop is reached then it is likely there was
|
||||
insufficient FreeRTOS heap available for the idle task and/or timer task to
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue