mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Maintenance on MSP432 demo.
This commit is contained in:
parent
ad5659e93d
commit
3b2bbcb56a
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -78,28 +78,6 @@
|
||||||
<IsCurrentTarget>1</IsCurrentTarget>
|
<IsCurrentTarget>1</IsCurrentTarget>
|
||||||
</OPTFL>
|
</OPTFL>
|
||||||
<CpuCode>4</CpuCode>
|
<CpuCode>4</CpuCode>
|
||||||
<Books>
|
|
||||||
<Book>
|
|
||||||
<Number>0</Number>
|
|
||||||
<Title>MSP432 Hardware Tools User's Guide (MSP-TS432PZ100)</Title>
|
|
||||||
<Path>http://www.ti.com/lit/pdf/slau571</Path>
|
|
||||||
</Book>
|
|
||||||
<Book>
|
|
||||||
<Number>1</Number>
|
|
||||||
<Title>MSP432 Quick Start Guide (MSP-EXP432P401R)</Title>
|
|
||||||
<Path>http://www.ti.com/lit/pdf/slau596</Path>
|
|
||||||
</Book>
|
|
||||||
<Book>
|
|
||||||
<Number>2</Number>
|
|
||||||
<Title>LaunchPad Development Kit User's Guide (MSP-EXP432P401R)</Title>
|
|
||||||
<Path>http://www.ti.com/lit/pdf/slau597</Path>
|
|
||||||
</Book>
|
|
||||||
<Book>
|
|
||||||
<Number>3</Number>
|
|
||||||
<Title>MSP432P401R LaunchPad Web page (MSP-EXP432P401R)</Title>
|
|
||||||
<Path>http://www.ti.com/tool/msp-exp432p401r</Path>
|
|
||||||
</Book>
|
|
||||||
</Books>
|
|
||||||
<DebugOpt>
|
<DebugOpt>
|
||||||
<uSim>0</uSim>
|
<uSim>0</uSim>
|
||||||
<uTrg>1</uTrg>
|
<uTrg>1</uTrg>
|
||||||
|
@ -122,6 +100,7 @@
|
||||||
<tRSysVw>1</tRSysVw>
|
<tRSysVw>1</tRSysVw>
|
||||||
<sRunDeb>0</sRunDeb>
|
<sRunDeb>0</sRunDeb>
|
||||||
<sLrtime>0</sLrtime>
|
<sLrtime>0</sLrtime>
|
||||||
|
<bEvRecOn>1</bEvRecOn>
|
||||||
<nTsel>2</nTsel>
|
<nTsel>2</nTsel>
|
||||||
<sDll></sDll>
|
<sDll></sDll>
|
||||||
<sDllPa></sDllPa>
|
<sDllPa></sDllPa>
|
||||||
|
@ -139,7 +118,7 @@
|
||||||
<SetRegEntry>
|
<SetRegEntry>
|
||||||
<Number>0</Number>
|
<Number>0</Number>
|
||||||
<Key>CMSIS_AGDI</Key>
|
<Key>CMSIS_AGDI</Key>
|
||||||
<Name>-X"XDS110 (02.03.00.01) with CMSIS-DAP" -U00000000 -O239 -S8 -C0 -P00 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO18 -TC10000000 -TP20 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD1000000 -FC8000 -FN2 -FF0MSP432P4xx_MainFlash256kB.FLM -FS00 -FL040000 -FP0($$Device:MSP432P401R$Flash\MSP432P4xx_MainFlash256kB.FLM) -FF1MSP432P4xx_InfoFlash.FLM -FS1200000 -FL14000 -FP1($$Device:MSP432P401R$Flash\MSP432P4xx_InfoFlash.FLM)</Name>
|
<Name>-X"XDS110 (02.02.05.01) with CMSIS-DAP" -U00000000 -O239 -S8 -C0 -P00 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO18 -TC10000000 -TP20 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD1000000 -FCE000 -FN2 -FF0MSP432P4xx_MainFlash256kB.FLM -FS00 -FL040000 -FP0($$Device:MSP432P401R$FlashARM\MSP432P4xx_MainFlash256kB.FLM) -FF1MSP432P4xx_InfoFlash.FLM -FS1200000 -FL14000 -FP1($$Device:MSP432P401R$FlashARM\MSP432P4xx_InfoFlash.FLM)</Name>
|
||||||
</SetRegEntry>
|
</SetRegEntry>
|
||||||
<SetRegEntry>
|
<SetRegEntry>
|
||||||
<Number>0</Number>
|
<Number>0</Number>
|
||||||
|
@ -196,7 +175,7 @@
|
||||||
<DebugFlag>
|
<DebugFlag>
|
||||||
<trace>0</trace>
|
<trace>0</trace>
|
||||||
<periodic>1</periodic>
|
<periodic>1</periodic>
|
||||||
<aLwin>0</aLwin>
|
<aLwin>1</aLwin>
|
||||||
<aCover>0</aCover>
|
<aCover>0</aCover>
|
||||||
<aSer1>0</aSer1>
|
<aSer1>0</aSer1>
|
||||||
<aSer2>0</aSer2>
|
<aSer2>0</aSer2>
|
||||||
|
@ -222,9 +201,12 @@
|
||||||
<LintExecutable></LintExecutable>
|
<LintExecutable></LintExecutable>
|
||||||
<LintConfigFile></LintConfigFile>
|
<LintConfigFile></LintConfigFile>
|
||||||
<bLintAuto>0</bLintAuto>
|
<bLintAuto>0</bLintAuto>
|
||||||
<Lin2Executable></Lin2Executable>
|
<bAutoGenD>0</bAutoGenD>
|
||||||
<Lin2ConfigFile></Lin2ConfigFile>
|
<LntExFlags>0</LntExFlags>
|
||||||
<bLin2Auto>0</bLin2Auto>
|
<pMisraName></pMisraName>
|
||||||
|
<pszMrule></pszMrule>
|
||||||
|
<pSingCmds></pSingCmds>
|
||||||
|
<pMultCmds></pMultCmds>
|
||||||
<DebugDescription>
|
<DebugDescription>
|
||||||
<Enable>1</Enable>
|
<Enable>1</Enable>
|
||||||
<EnableLog>0</EnableLog>
|
<EnableLog>0</EnableLog>
|
||||||
|
@ -268,7 +250,7 @@
|
||||||
|
|
||||||
<Group>
|
<Group>
|
||||||
<GroupName>main</GroupName>
|
<GroupName>main</GroupName>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>1</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<cbSel>0</cbSel>
|
<cbSel>0</cbSel>
|
||||||
<RteFlg>0</RteFlg>
|
<RteFlg>0</RteFlg>
|
||||||
|
@ -412,7 +394,7 @@
|
||||||
|
|
||||||
<Group>
|
<Group>
|
||||||
<GroupName>Full Demo</GroupName>
|
<GroupName>Full Demo</GroupName>
|
||||||
<tvExp>0</tvExp>
|
<tvExp>1</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<cbSel>0</cbSel>
|
<cbSel>0</cbSel>
|
||||||
<RteFlg>0</RteFlg>
|
<RteFlg>0</RteFlg>
|
||||||
|
@ -528,7 +510,7 @@
|
||||||
<GroupNumber>5</GroupNumber>
|
<GroupNumber>5</GroupNumber>
|
||||||
<FileNumber>22</FileNumber>
|
<FileNumber>22</FileNumber>
|
||||||
<FileType>1</FileType>
|
<FileType>1</FileType>
|
||||||
<tvExp>1</tvExp>
|
<tvExp>0</tvExp>
|
||||||
<tvExpOptDlg>0</tvExpOptDlg>
|
<tvExpOptDlg>0</tvExpOptDlg>
|
||||||
<bDave2>0</bDave2>
|
<bDave2>0</bDave2>
|
||||||
<PathWithFileName>..\Common\Minimal\semtest.c</PathWithFileName>
|
<PathWithFileName>..\Common\Minimal\semtest.c</PathWithFileName>
|
||||||
|
|
|
@ -10,13 +10,13 @@
|
||||||
<TargetName>Target 1</TargetName>
|
<TargetName>Target 1</TargetName>
|
||||||
<ToolsetNumber>0x4</ToolsetNumber>
|
<ToolsetNumber>0x4</ToolsetNumber>
|
||||||
<ToolsetName>ARM-ADS</ToolsetName>
|
<ToolsetName>ARM-ADS</ToolsetName>
|
||||||
<pCCUsed>5060183::V5.06 update 2 (build 183)::ARMCC</pCCUsed>
|
<pCCUsed>5060422::V5.06 update 4 (build 422)::ARMCC</pCCUsed>
|
||||||
<TargetOption>
|
<TargetOption>
|
||||||
<TargetCommonOption>
|
<TargetCommonOption>
|
||||||
<Device>MSP432P401R</Device>
|
<Device>MSP432P401R</Device>
|
||||||
<Vendor>Texas Instruments</Vendor>
|
<Vendor>Texas Instruments</Vendor>
|
||||||
<PackID>TexasInstruments.MSP432P4xx_DFP.2.1.1</PackID>
|
<PackID>TexasInstruments.MSP432P4xx_DFP.3.0.0</PackID>
|
||||||
<PackURL>http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/mspkeil/latest/exports</PackURL>
|
<PackURL>http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/msp432cmsis/latest/exports</PackURL>
|
||||||
<Cpu>IROM(0x00000000,0x00040000) IROM2(0x00200000,0x00004000) IRAM(0x20000000,0x00010000) IRAM2(0x01000000,0x00010000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE</Cpu>
|
<Cpu>IROM(0x00000000,0x00040000) IROM2(0x00200000,0x00004000) IRAM(0x20000000,0x00010000) IRAM2(0x01000000,0x00010000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE</Cpu>
|
||||||
<FlashUtilSpec></FlashUtilSpec>
|
<FlashUtilSpec></FlashUtilSpec>
|
||||||
<StartupFile></StartupFile>
|
<StartupFile></StartupFile>
|
||||||
|
@ -330,6 +330,7 @@
|
||||||
<vShortWch>1</vShortWch>
|
<vShortWch>1</vShortWch>
|
||||||
<v6Lto>0</v6Lto>
|
<v6Lto>0</v6Lto>
|
||||||
<v6WtE>0</v6WtE>
|
<v6WtE>0</v6WtE>
|
||||||
|
<v6Rtti>0</v6Rtti>
|
||||||
<VariousControls>
|
<VariousControls>
|
||||||
<MiscControls></MiscControls>
|
<MiscControls></MiscControls>
|
||||||
<Define>keil __MSP432P401R__ NO_MSP_CLASSIC_DEFINES</Define>
|
<Define>keil __MSP432P401R__ NO_MSP_CLASSIC_DEFINES</Define>
|
||||||
|
@ -347,6 +348,7 @@
|
||||||
<NoWarn>0</NoWarn>
|
<NoWarn>0</NoWarn>
|
||||||
<uSurpInc>0</uSurpInc>
|
<uSurpInc>0</uSurpInc>
|
||||||
<useXO>0</useXO>
|
<useXO>0</useXO>
|
||||||
|
<uClangAs>0</uClangAs>
|
||||||
<VariousControls>
|
<VariousControls>
|
||||||
<MiscControls></MiscControls>
|
<MiscControls></MiscControls>
|
||||||
<Define></Define>
|
<Define></Define>
|
||||||
|
|
|
@ -75,15 +75,15 @@
|
||||||
* described in main_blinky.c. The more comprehensive test and demo application
|
* described in main_blinky.c. The more comprehensive test and demo application
|
||||||
* is implemented and described in main_full.c.
|
* is implemented and described in main_full.c.
|
||||||
*
|
*
|
||||||
* The comprehensive demo uses FreeRTOS+CLI to create a simple command line
|
* The comprehensive demo uses FreeRTOS+CLI to create a simple command line
|
||||||
* interface through a UART.
|
* interface through a UART.
|
||||||
*
|
*
|
||||||
* The blinky demo uses FreeRTOS's tickless idle mode to reduce power
|
* The blinky demo uses FreeRTOS's tickless idle mode to reduce power
|
||||||
* consumption. See the notes on the web page below regarding the difference
|
* consumption. See the notes on the web page below regarding the difference
|
||||||
* in power saving that can be achieved between using the generic tickless
|
* in power saving that can be achieved between using the generic tickless
|
||||||
* implementation (as used by the blinky demo) and a tickless implementation
|
* implementation (as used by the blinky demo) and a tickless implementation
|
||||||
* that is tailored specifically to the MSP432.
|
* that is tailored specifically to the MSP432.
|
||||||
*
|
*
|
||||||
* This file implements the code that is not demo specific.
|
* This file implements the code that is not demo specific.
|
||||||
*
|
*
|
||||||
* See http://www.FreeRTOS.org/TI_MSP432_Free_RTOS_Demo.html for instructions.
|
* See http://www.FreeRTOS.org/TI_MSP432_Free_RTOS_Demo.html for instructions.
|
||||||
|
@ -99,6 +99,10 @@
|
||||||
|
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
/* NOTE: If an IAR build results in an undefined "reference to __write" linker
|
||||||
|
error then set the printf formatter project option to "tiny" and the scanf
|
||||||
|
formatter project option to "small". */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set up the hardware ready to run this demo.
|
* Set up the hardware ready to run this demo.
|
||||||
*/
|
*/
|
||||||
|
@ -116,7 +120,7 @@ extern void main_full( void );
|
||||||
int main( void )
|
int main( void )
|
||||||
{
|
{
|
||||||
/* See http://www.FreeRTOS.org/TI_MSP432_Free_RTOS_Demo.html for instructions. */
|
/* See http://www.FreeRTOS.org/TI_MSP432_Free_RTOS_Demo.html for instructions. */
|
||||||
|
|
||||||
/* Prepare the hardware to run this demo. */
|
/* Prepare the hardware to run this demo. */
|
||||||
prvSetupHardware();
|
prvSetupHardware();
|
||||||
|
|
||||||
|
@ -139,14 +143,14 @@ int main( void )
|
||||||
static void prvSetupHardware( void )
|
static void prvSetupHardware( void )
|
||||||
{
|
{
|
||||||
extern void FPU_enableModule( void );
|
extern void FPU_enableModule( void );
|
||||||
|
|
||||||
/* The clocks are not configured here, but inside main_full() and
|
/* The clocks are not configured here, but inside main_full() and
|
||||||
main_blinky() as the full demo uses a fast clock and the blinky demo uses
|
main_blinky() as the full demo uses a fast clock and the blinky demo uses
|
||||||
a slow clock. */
|
a slow clock. */
|
||||||
|
|
||||||
/* Stop the watchdog timer. */
|
/* Stop the watchdog timer. */
|
||||||
MAP_WDT_A_holdTimer();
|
MAP_WDT_A_holdTimer();
|
||||||
|
|
||||||
/* Ensure the FPU is enabled. */
|
/* Ensure the FPU is enabled. */
|
||||||
FPU_enableModule();
|
FPU_enableModule();
|
||||||
|
|
||||||
|
@ -210,3 +214,4 @@ void *malloc( size_t xSize )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,13 @@
|
||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<crun>
|
<crun>
|
||||||
<version>1</version>
|
<version>1</version>
|
||||||
<filter_entries>
|
<filter_entries>
|
||||||
<filter index="0" type="default">
|
<filter index="0" type="default">
|
||||||
<type>*</type>
|
<type>*</type>
|
||||||
<start_file>*</start_file>
|
<start_file>*</start_file>
|
||||||
<end_file>*</end_file>
|
<end_file>*</end_file>
|
||||||
<action_debugger>0</action_debugger>
|
<action_debugger>0</action_debugger>
|
||||||
<action_log>1</action_log>
|
<action_log>1</action_log>
|
||||||
</filter>
|
</filter>
|
||||||
</filter_entries>
|
</filter_entries>
|
||||||
</crun>
|
</crun>
|
||||||
|
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue