mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-16 08:35:17 -05:00
Fix ATMega port demos (#1060)
* Fix ATMEGA port demos * Remove GCC folder from proj file
This commit is contained in:
parent
20b6c13c07
commit
4e2a02323b
3 changed files with 93 additions and 90 deletions
|
|
@ -111,7 +111,7 @@ For other frequency values, update clock_config.h with your own settings. */
|
||||||
#define INCLUDE_vTaskDelayUntil 1
|
#define INCLUDE_vTaskDelayUntil 1
|
||||||
#define INCLUDE_vTaskDelay 1
|
#define INCLUDE_vTaskDelay 1
|
||||||
#define INCLUDE_xTaskGetSchedulerState 0
|
#define INCLUDE_xTaskGetSchedulerState 0
|
||||||
#define INCLUDE_xTaskGetCurrentTaskHandle 0
|
#define INCLUDE_xTaskGetCurrentTaskHandle 1
|
||||||
#define INCLUDE_uxTaskGetStackHighWaterMark 0
|
#define INCLUDE_uxTaskGetStackHighWaterMark 0
|
||||||
#define INCLUDE_xTaskGetIdleTaskHandle 0
|
#define INCLUDE_xTaskGetIdleTaskHandle 0
|
||||||
#define INCLUDE_eTaskGetState 0
|
#define INCLUDE_eTaskGetState 0
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,7 @@
|
||||||
<Value>../../../../Source</Value>
|
<Value>../../../../Source</Value>
|
||||||
<Value>../../../../Source/include</Value>
|
<Value>../../../../Source/include</Value>
|
||||||
<Value>../../../../Source/portable/MemMang</Value>
|
<Value>../../../../Source/portable/MemMang</Value>
|
||||||
<Value>../../../../Source/portable/GCC/AVR_Mega0</Value>
|
<Value>../../../../Source/portable/ThirdParty/Partner-Supported-Ports/GCC/AVR_Mega0</Value>
|
||||||
<Value>../../../Common/include</Value>
|
<Value>../../../Common/include</Value>
|
||||||
</ListValues>
|
</ListValues>
|
||||||
</avrgcc.compiler.directories.IncludePaths>
|
</avrgcc.compiler.directories.IncludePaths>
|
||||||
|
|
@ -187,17 +187,17 @@
|
||||||
<SubType>compile</SubType>
|
<SubType>compile</SubType>
|
||||||
<Link>Source\portable\MemMang\heap_1.c</Link>
|
<Link>Source\portable\MemMang\heap_1.c</Link>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="..\..\..\Source\portable\GCC\AVR_Mega0\port.c">
|
<Compile Include="..\..\..\Source\portable\ThirdParty\Partner-Supported-Ports\GCC\AVR_Mega0\port.c">
|
||||||
<SubType>compile</SubType>
|
<SubType>compile</SubType>
|
||||||
<Link>Source\portable\GCC\AVR_Mega0\port.c</Link>
|
<Link>Source\portable\ThirdParty\Partner-Supported-Ports\GCC\AVR_Mega0\port.c</Link>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="..\..\..\Source\portable\GCC\AVR_Mega0\portmacro.h">
|
<Compile Include="..\..\..\Source\portable\ThirdParty\Partner-Supported-Ports\GCC\AVR_Mega0\portmacro.h">
|
||||||
<SubType>compile</SubType>
|
<SubType>compile</SubType>
|
||||||
<Link>Source\portable\GCC\AVR_Mega0\portmacro.h</Link>
|
<Link>Source\portable\ThirdParty\Partner-Supported-Ports\GCC\AVR_Mega0\portmacro.h</Link>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="..\..\..\Source\portable\GCC\AVR_Mega0\porthardware.h">
|
<Compile Include="..\..\..\Source\portable\ThirdParty\Partner-Supported-Ports\GCC\AVR_Mega0\porthardware.h">
|
||||||
<SubType>compile</SubType>
|
<SubType>compile</SubType>
|
||||||
<Link>Source\portable\GCC\AVR_Mega0\porthardware.h</Link>
|
<Link>Source\portable\ThirdParty\Partner-Supported-Ports\GCC\AVR_Mega0\porthardware.h</Link>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="..\..\..\Source\include\atomic.h">
|
<Compile Include="..\..\..\Source\include\atomic.h">
|
||||||
<SubType>compile</SubType>
|
<SubType>compile</SubType>
|
||||||
|
|
@ -357,9 +357,10 @@
|
||||||
<Folder Include="Source" />
|
<Folder Include="Source" />
|
||||||
<Folder Include="Source\include" />
|
<Folder Include="Source\include" />
|
||||||
<Folder Include="Source\portable" />
|
<Folder Include="Source\portable" />
|
||||||
<Folder Include="Source\portable\GCC" />
|
<Folder Include="Source\portable\ThirdParty\" />
|
||||||
<Folder Include="Source\portable\GCC\AVR_Mega0" />
|
<Folder Include="Source\portable\ThirdParty\Partner-Supported-Ports\" />
|
||||||
<Folder Include="Source\portable\GCC\AVR_Mega0\" />
|
<Folder Include="Source\portable\ThirdParty\Partner-Supported-Ports\GCC\" />
|
||||||
|
<Folder Include="Source\portable\ThirdParty\Partner-Supported-Ports\GCC\AVR_Mega0\" />
|
||||||
<Folder Include="Source\portable\MemMang" />
|
<Folder Include="Source\portable\MemMang" />
|
||||||
<Folder Include="ParTest\" />
|
<Folder Include="ParTest\" />
|
||||||
<Folder Include="serial\" />
|
<Folder Include="serial\" />
|
||||||
|
|
|
||||||
|
|
@ -60,89 +60,89 @@
|
||||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||||
<ToolchainSettings>
|
<ToolchainSettings>
|
||||||
<AvrGcc>
|
<AvrGcc>
|
||||||
<avrgcc.common.Device>-mmcu=avr128da48 -B "%24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.2.56\gcc\dev\avr128da48"</avrgcc.common.Device>
|
<avrgcc.common.Device>-mmcu=avr128da48 -B "%24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.2.56\gcc\dev\avr128da48"</avrgcc.common.Device>
|
||||||
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
|
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
|
||||||
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
|
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
|
||||||
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
|
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
|
||||||
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
|
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
|
||||||
<avrgcc.common.outputfiles.usersignatures>False</avrgcc.common.outputfiles.usersignatures>
|
<avrgcc.common.outputfiles.usersignatures>False</avrgcc.common.outputfiles.usersignatures>
|
||||||
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
|
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
|
||||||
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
|
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
|
||||||
<avrgcc.compiler.symbols.DefSymbols>
|
<avrgcc.compiler.symbols.DefSymbols>
|
||||||
<ListValues>
|
<ListValues>
|
||||||
<Value>NDEBUG</Value>
|
<Value>NDEBUG</Value>
|
||||||
</ListValues>
|
</ListValues>
|
||||||
</avrgcc.compiler.symbols.DefSymbols>
|
</avrgcc.compiler.symbols.DefSymbols>
|
||||||
<avrgcc.compiler.directories.IncludePaths>
|
<avrgcc.compiler.directories.IncludePaths>
|
||||||
<ListValues>
|
<ListValues>
|
||||||
<Value>%24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.2.56\include</Value>
|
<Value>%24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.2.56\include</Value>
|
||||||
</ListValues>
|
</ListValues>
|
||||||
</avrgcc.compiler.directories.IncludePaths>
|
</avrgcc.compiler.directories.IncludePaths>
|
||||||
<avrgcc.compiler.optimization.level>Optimize for size (-Os)</avrgcc.compiler.optimization.level>
|
<avrgcc.compiler.optimization.level>Optimize for size (-Os)</avrgcc.compiler.optimization.level>
|
||||||
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
|
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
|
||||||
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
|
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
|
||||||
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
|
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
|
||||||
<avrgcc.linker.libraries.Libraries>
|
<avrgcc.linker.libraries.Libraries>
|
||||||
<ListValues>
|
<ListValues>
|
||||||
<Value>libm</Value>
|
<Value>libm</Value>
|
||||||
</ListValues>
|
</ListValues>
|
||||||
</avrgcc.linker.libraries.Libraries>
|
</avrgcc.linker.libraries.Libraries>
|
||||||
<avrgcc.assembler.general.IncludePaths>
|
<avrgcc.assembler.general.IncludePaths>
|
||||||
<ListValues>
|
<ListValues>
|
||||||
<Value>%24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.2.56\include</Value>
|
<Value>%24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.2.56\include</Value>
|
||||||
</ListValues>
|
</ListValues>
|
||||||
</avrgcc.assembler.general.IncludePaths>
|
</avrgcc.assembler.general.IncludePaths>
|
||||||
</AvrGcc>
|
</AvrGcc>
|
||||||
</ToolchainSettings>
|
</ToolchainSettings>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||||
<ToolchainSettings>
|
<ToolchainSettings>
|
||||||
<AvrGcc>
|
<AvrGcc>
|
||||||
<avrgcc.common.Device>-mmcu=avr128da48 -B "%24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.2.56\gcc\dev\avr128da48"</avrgcc.common.Device>
|
<avrgcc.common.Device>-mmcu=avr128da48 -B "%24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.2.56\gcc\dev\avr128da48"</avrgcc.common.Device>
|
||||||
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
|
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
|
||||||
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
|
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
|
||||||
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
|
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
|
||||||
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
|
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
|
||||||
<avrgcc.common.outputfiles.usersignatures>False</avrgcc.common.outputfiles.usersignatures>
|
<avrgcc.common.outputfiles.usersignatures>False</avrgcc.common.outputfiles.usersignatures>
|
||||||
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
|
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
|
||||||
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
|
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
|
||||||
<avrgcc.compiler.symbols.DefSymbols>
|
<avrgcc.compiler.symbols.DefSymbols>
|
||||||
<ListValues>
|
<ListValues>
|
||||||
<Value>DEBUG</Value>
|
<Value>DEBUG</Value>
|
||||||
</ListValues>
|
</ListValues>
|
||||||
</avrgcc.compiler.symbols.DefSymbols>
|
</avrgcc.compiler.symbols.DefSymbols>
|
||||||
<avrgcc.compiler.directories.IncludePaths>
|
<avrgcc.compiler.directories.IncludePaths>
|
||||||
<ListValues>
|
<ListValues>
|
||||||
<Value>../../../../Source</Value>
|
<Value>../../../../Source</Value>
|
||||||
<Value>../../../../Source/portable/MemMang</Value>
|
<Value>../../../../Source/portable/MemMang</Value>
|
||||||
<Value>../../../../Source/portable/ThirdParty/Partner-Supported-Ports/GCC/AVR_AVRDx</Value>
|
<Value>../../../../Source/portable/ThirdParty/Partner-Supported-Ports/GCC/AVR_AVRDx</Value>
|
||||||
<Value>../../../../Source/include</Value>
|
<Value>../../../../Source/include</Value>
|
||||||
<Value>../../../Common/include</Value>
|
<Value>../../../Common/include</Value>
|
||||||
<Value>../../../Common/Minimal</Value>
|
<Value>../../../Common/Minimal</Value>
|
||||||
<Value>../../../Common/Full</Value>
|
<Value>../../../Common/Full</Value>
|
||||||
<Value>../ParTest</Value>
|
<Value>../ParTest</Value>
|
||||||
<Value>../serial</Value>
|
<Value>../serial</Value>
|
||||||
<Value>..</Value>
|
<Value>..</Value>
|
||||||
<Value>%24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.2.56\include</Value>
|
<Value>%24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.2.56\include</Value>
|
||||||
</ListValues>
|
</ListValues>
|
||||||
</avrgcc.compiler.directories.IncludePaths>
|
</avrgcc.compiler.directories.IncludePaths>
|
||||||
<avrgcc.compiler.optimization.level>Optimize for size (-Os)</avrgcc.compiler.optimization.level>
|
<avrgcc.compiler.optimization.level>Optimize for size (-Os)</avrgcc.compiler.optimization.level>
|
||||||
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
|
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
|
||||||
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
|
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
|
||||||
<avrgcc.compiler.optimization.DebugLevel>Default (-g2)</avrgcc.compiler.optimization.DebugLevel>
|
<avrgcc.compiler.optimization.DebugLevel>Default (-g2)</avrgcc.compiler.optimization.DebugLevel>
|
||||||
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
|
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
|
||||||
<avrgcc.linker.libraries.Libraries>
|
<avrgcc.linker.libraries.Libraries>
|
||||||
<ListValues>
|
<ListValues>
|
||||||
<Value>libm</Value>
|
<Value>libm</Value>
|
||||||
</ListValues>
|
</ListValues>
|
||||||
</avrgcc.linker.libraries.Libraries>
|
</avrgcc.linker.libraries.Libraries>
|
||||||
<avrgcc.assembler.general.IncludePaths>
|
<avrgcc.assembler.general.IncludePaths>
|
||||||
<ListValues>
|
<ListValues>
|
||||||
<Value>%24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.2.56\include</Value>
|
<Value>%24(PackRepoDir)\Atmel\AVR-Dx_DFP\1.2.56\include</Value>
|
||||||
</ListValues>
|
</ListValues>
|
||||||
</avrgcc.assembler.general.IncludePaths>
|
</avrgcc.assembler.general.IncludePaths>
|
||||||
<avrgcc.assembler.debugging.DebugLevel>Default (-Wa,-g)</avrgcc.assembler.debugging.DebugLevel>
|
<avrgcc.assembler.debugging.DebugLevel>Default (-Wa,-g)</avrgcc.assembler.debugging.DebugLevel>
|
||||||
</AvrGcc>
|
</AvrGcc>
|
||||||
</ToolchainSettings>
|
</ToolchainSettings>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
@ -369,7 +369,9 @@
|
||||||
<Folder Include="freeRTOS\" />
|
<Folder Include="freeRTOS\" />
|
||||||
<Folder Include="freeRTOS\include" />
|
<Folder Include="freeRTOS\include" />
|
||||||
<Folder Include="freeRTOS\portable" />
|
<Folder Include="freeRTOS\portable" />
|
||||||
<Folder Include="freeRTOS\portable\GCC" />
|
<Folder Include="freeRTOS\portable\ThirdParty\" />
|
||||||
|
<Folder Include="freeRTOS\portable\ThirdParty\Partner-Supported-Ports\" />
|
||||||
|
<Folder Include="freeRTOS\portable\ThirdParty\Partner-Supported-Ports\GCC\" />
|
||||||
<Folder Include="freeRTOS\portable\ThirdParty\Partner-Supported-Ports\GCC\AVR_AVRDx" />
|
<Folder Include="freeRTOS\portable\ThirdParty\Partner-Supported-Ports\GCC\AVR_AVRDx" />
|
||||||
<Folder Include="freeRTOS\portable\MemMang" />
|
<Folder Include="freeRTOS\portable\MemMang" />
|
||||||
<Folder Include="serial" />
|
<Folder Include="serial" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue