mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 01:58:32 -04:00
Update CyaSSL to latest version.
This commit is contained in:
parent
5fcd270398
commit
3d007d0b4b
445 changed files with 162375 additions and 26182 deletions
2542
FreeRTOS-Plus/Source/CyaSSL/mqx/ctaocrypt_test/.cproject
Normal file
2542
FreeRTOS-Plus/Source/CyaSSL/mqx/ctaocrypt_test/.cproject
Normal file
File diff suppressed because it is too large
Load diff
98
FreeRTOS-Plus/Source/CyaSSL/mqx/ctaocrypt_test/.project
Normal file
98
FreeRTOS-Plus/Source/CyaSSL/mqx/ctaocrypt_test/.project
Normal file
|
@ -0,0 +1,98 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>ctaocrypt_test</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
<project location="file:/C:/ports/TWR-K70F120M/workspace_yassl/cyassl">
|
||||
cyassl </project>
|
||||
<project location="file:/C:/ports/TWR-K70F120M/workspace_yassl/util_lib">
|
||||
util_lib </project>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<triggers>clean,full,incremental,</triggers>
|
||||
<arguments>
|
||||
<dictionary>
|
||||
<key>?name?</key>
|
||||
<value></value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.append_environment</key>
|
||||
<value>true</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.buildArguments</key>
|
||||
<value>-j6</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.buildCommand</key>
|
||||
<value>${system:ECLIPSE_HOME}/../gnu/bin/mingw32-make</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.buildLocation</key>
|
||||
<value>${ProjDirPath}/twrk70f120m_Int_Flash_SramData_Debug</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.contents</key>
|
||||
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
|
||||
<value>false</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
|
||||
<value>true</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
|
||||
<value>true</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.stopOnError</key>
|
||||
<value>true</value>
|
||||
</dictionary>
|
||||
<dictionary>
|
||||
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
|
||||
<value>true</value>
|
||||
</dictionary>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||
<triggers>full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
<linkedResources>
|
||||
<link>
|
||||
<name>Sources/ctaocrypt-test</name>
|
||||
<type>2</type>
|
||||
<locationURI>PARENT-2-PROJECT_LOC/ctaocrypt/test</locationURI>
|
||||
</link>
|
||||
</linkedResources>
|
||||
<filteredResources>
|
||||
<filter>
|
||||
<id>1351803045734</id>
|
||||
<name>Sources/ctaocrypt-test</name>
|
||||
<type>5</type>
|
||||
<matcher>
|
||||
<id>org.eclipse.ui.ide.multiFilter</id>
|
||||
<arguments>1.0-name-matches-false-true-(.*?)\.(c)$</arguments>
|
||||
</matcher>
|
||||
</filter>
|
||||
</filteredResources>
|
||||
<variableList>
|
||||
<variable>
|
||||
<name>MQX_ROOT_DIR</name>
|
||||
<value>file:/C:/Freescale/Freescale%20MQX%203.8</value>
|
||||
</variable>
|
||||
</variableList>
|
||||
</projectDescription>
|
|
@ -0,0 +1,144 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- This file stores a copy of all RSE Systems referenced by the project
|
||||
so the systems can be automatically recreated when the project is imported in a new workspace.
|
||||
This file is automatically generated and updated by the Eclipse IDE.-->
|
||||
<APSC_Memento>
|
||||
<host>
|
||||
<properties>
|
||||
<property key="hidden.applicator.com.freescale.debugger.applicator.launchconfiguration.lc.ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Debug_PnE U-MultiLink.proj.ctaocrypt_test" value="com.freescale.debugger.applicator.launchconfiguration.lc.ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Debug_PnE U-MultiLink.proj.ctaocrypt_test"/>
|
||||
<property key="host.address" value=""/>
|
||||
<property key="host.defaultEncoding" value=""/>
|
||||
<property key="host.defaultUser" value="Administrator"/>
|
||||
<property key="host.description" value=""/>
|
||||
<property key="host.name" value="ctcTest_twrk70f120m_Int_Flash_SramData_Debug_PnE U-MultiLink"/>
|
||||
<property key="host.promptable" value="false"/>
|
||||
<property key="host.type" value="com.freescale.cdt.debug.cw.core.ui.rse.systemtype.bareboard.hardware"/>
|
||||
<property key="propertySet.[OptionalPropertySet].enableConnectorServicesPropertyPage" value="false"/>
|
||||
<property key="propertySet.[OptionalPropertySet].enableGenericHostPropertyPage" value="false"/>
|
||||
<property key="propertySet.[com.pemicro.mcu.debug.connections.pne.arm].com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.simulator" value=""/>
|
||||
<property key="propertySet.[com.pemicro.mcu.debug.connections.pne.arm].com.freescale.cdt.debug.cw.core.settings.GdiConnection.Common.PhysicalConnectionAttributeBase" value="com.pemicro.mcu.debug.connections.pne.arm."/>
|
||||
<property key="propertySet.[com.pemicro.mcu.debug.connections.pne.arm].com.pemicro.mcu.debug.connections.pne.arm.CommandLineArgs" value="arm_icd"/>
|
||||
<property key="propertySet.[com.pemicro.mcu.debug.connections.pne.arm].com.pemicro.mcu.debug.connections.pne.arm.Library" value="arm_pne_gdi"/>
|
||||
<property key="propertySet.[com.pemicro.mcu.debug.connections.pne.arm].com.pemicro.mcu.debug.connections.pne.arm.PEDEBUG_CURRENTDEVICE" value="K70FN1M0"/>
|
||||
<property key="propertySet.[com.pemicro.mcu.debug.connections.pne.arm].com.pemicro.mcu.debug.connections.pne.arm.STARTUP_PORT" value="21"/>
|
||||
<property key="propertySet.[com.pemicro.mcu.debug.connections.pne.arm].com.pemicro.mcu.debug.connections.pne.arm.STARTUP_interface_selection" value="1"/>
|
||||
<property key="propertySet.[cw.dbg.conn].rseSystemId" value="com.freescale.cdt.debug.cw.core.ui.rse.systemtype.bareboard.hardware.system.121019100235-0600.2"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard.gdi].logData" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.targetConnLost].RetryConnectionOn" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.targetConnLost].RetryTimeout" value="20"/>
|
||||
<property key="propertySet.[cw.dbg.ct.targetConnLost].RetryWithTimeoutOn" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.targetConnLost].TerminateConnectionOn" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.targetConnLost].retryPromptUserActionOn" value="true"/>
|
||||
<property key="propertySet.[cw.dbg.ct].Connection Type" value="com.pemicro.mcu.debug.connections.pne.arm"/>
|
||||
<property key="propertySet.[cw.ide.settingscache].hidden.HostID" value="com.freescale.cdt.debug.cw.core.ui.rse.systemtype.bareboard.hardware.121019100235-0600.2"/>
|
||||
<property key="propertySet.[cw.ide.settingscache].hidden.TimeStamp" value="1350662559109"/>
|
||||
</properties>
|
||||
</host>
|
||||
<host>
|
||||
<properties>
|
||||
<property key="host.address" value=""/>
|
||||
<property key="host.defaultEncoding" value=""/>
|
||||
<property key="host.defaultUser" value="Administrator"/>
|
||||
<property key="host.description" value=""/>
|
||||
<property key="host.name" value="ctcTest_twrk70f120m_Int_Flash_SramData_Debug_PnE U-MultiLink Target"/>
|
||||
<property key="host.promptable" value="false"/>
|
||||
<property key="host.type" value="com.freescale.cdt.debug.cw.core.ui.rse.systemtype.bareboard.hardware.system"/>
|
||||
<property key="propertySet.[OptionalPropertySet].enableConnectorServicesPropertyPage" value="false"/>
|
||||
<property key="propertySet.[OptionalPropertySet].enableGenericHostPropertyPage" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].enableHSSTIOModelConfig" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].enableNetworkIOModelConfig" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].enableSerialIOModelConfig" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].enableStopTransferIOModelConfig" value="true"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].ethernetController" value="UEC1"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].executeReset" value="true"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].initPath" value="${MQX_ROOT_DIR}/lib/twrk70f120m.cw10/bsp/dbg/init_kinetis.tcl"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].memConfigPath" value="${MQX_ROOT_DIR}/lib/twrk70f120m.cw10/bsp/dbg/twrk70f120m.mem"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].networkDebuggerAddress" value="127.0.0.1"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].networkGateway" value="127.0.0.1"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].networkMACAddress" value="**-**-**-**-**-**"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].networkNetMask" value="255.255.255.255"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].networkTargetAddress" value="127.0.0.1"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].networkUDPPort" value="1234"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].noIOModelConfig" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].runOutOfReset" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].targetIsPalladium" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].useInitFile" value="true"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].useMemoryConfigFile" value="true"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].useNetworkGateway" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].useNetworkMACAddress" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].useNetworkUDPPort" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.main].systemType" value="com.freescale.cw.system.kinetis.K70F.K70FN1M0"/>
|
||||
<property key="propertySet.[cw.ide.settingscache].hidden.HostID" value="com.freescale.cdt.debug.cw.core.ui.rse.systemtype.bareboard.hardware.system.121019100235-0600.2"/>
|
||||
<property key="propertySet.[cw.ide.settingscache].hidden.TimeStamp" value="1350662559109"/>
|
||||
</properties>
|
||||
</host>
|
||||
<host>
|
||||
<properties>
|
||||
<property key="hidden.applicator.com.freescale.debugger.applicator.launchconfiguration.lc.ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Release_PnE U-MultiLink.proj.ctaocrypt_test" value="com.freescale.debugger.applicator.launchconfiguration.lc.ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Release_PnE U-MultiLink.proj.ctaocrypt_test"/>
|
||||
<property key="host.address" value=""/>
|
||||
<property key="host.defaultEncoding" value=""/>
|
||||
<property key="host.defaultUser" value="Administrator"/>
|
||||
<property key="host.description" value=""/>
|
||||
<property key="host.name" value="ctcTest_twrk70f120m_Int_Flash_SramData_Release_PnE U-MultiLink"/>
|
||||
<property key="host.promptable" value="false"/>
|
||||
<property key="host.type" value="com.freescale.cdt.debug.cw.core.ui.rse.systemtype.bareboard.hardware"/>
|
||||
<property key="propertySet.[OptionalPropertySet].enableConnectorServicesPropertyPage" value="false"/>
|
||||
<property key="propertySet.[OptionalPropertySet].enableGenericHostPropertyPage" value="false"/>
|
||||
<property key="propertySet.[com.pemicro.mcu.debug.connections.pne.arm].com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.simulator" value=""/>
|
||||
<property key="propertySet.[com.pemicro.mcu.debug.connections.pne.arm].com.freescale.cdt.debug.cw.core.settings.GdiConnection.Common.PhysicalConnectionAttributeBase" value="com.pemicro.mcu.debug.connections.pne.arm."/>
|
||||
<property key="propertySet.[com.pemicro.mcu.debug.connections.pne.arm].com.pemicro.mcu.debug.connections.pne.arm.CommandLineArgs" value="arm_icd"/>
|
||||
<property key="propertySet.[com.pemicro.mcu.debug.connections.pne.arm].com.pemicro.mcu.debug.connections.pne.arm.Library" value="arm_pne_gdi"/>
|
||||
<property key="propertySet.[com.pemicro.mcu.debug.connections.pne.arm].com.pemicro.mcu.debug.connections.pne.arm.PEDEBUG_CURRENTDEVICE" value="K70FN1M0"/>
|
||||
<property key="propertySet.[com.pemicro.mcu.debug.connections.pne.arm].com.pemicro.mcu.debug.connections.pne.arm.STARTUP_PORT" value="21"/>
|
||||
<property key="propertySet.[com.pemicro.mcu.debug.connections.pne.arm].com.pemicro.mcu.debug.connections.pne.arm.STARTUP_interface_selection" value="1"/>
|
||||
<property key="propertySet.[cw.dbg.conn].rseSystemId" value="com.freescale.cdt.debug.cw.core.ui.rse.systemtype.bareboard.hardware.system.121019100235-0600.4"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard.gdi].logData" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.targetConnLost].RetryConnectionOn" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.targetConnLost].RetryTimeout" value="20"/>
|
||||
<property key="propertySet.[cw.dbg.ct.targetConnLost].RetryWithTimeoutOn" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.targetConnLost].TerminateConnectionOn" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.targetConnLost].retryPromptUserActionOn" value="true"/>
|
||||
<property key="propertySet.[cw.dbg.ct].Connection Type" value="com.pemicro.mcu.debug.connections.pne.arm"/>
|
||||
<property key="propertySet.[cw.ide.settingscache].hidden.HostID" value="com.freescale.cdt.debug.cw.core.ui.rse.systemtype.bareboard.hardware.121019100235-0600.4"/>
|
||||
<property key="propertySet.[cw.ide.settingscache].hidden.TimeStamp" value="1350662559109"/>
|
||||
</properties>
|
||||
</host>
|
||||
<host>
|
||||
<properties>
|
||||
<property key="host.address" value=""/>
|
||||
<property key="host.defaultEncoding" value=""/>
|
||||
<property key="host.defaultUser" value="Administrator"/>
|
||||
<property key="host.description" value=""/>
|
||||
<property key="host.name" value="ctcTest_twrk70f120m_Int_Flash_SramData_Release_PnE U-MultiLink Target"/>
|
||||
<property key="host.promptable" value="false"/>
|
||||
<property key="host.type" value="com.freescale.cdt.debug.cw.core.ui.rse.systemtype.bareboard.hardware.system"/>
|
||||
<property key="propertySet.[OptionalPropertySet].enableConnectorServicesPropertyPage" value="false"/>
|
||||
<property key="propertySet.[OptionalPropertySet].enableGenericHostPropertyPage" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].enableHSSTIOModelConfig" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].enableNetworkIOModelConfig" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].enableSerialIOModelConfig" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].enableStopTransferIOModelConfig" value="true"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].ethernetController" value="UEC1"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].executeReset" value="true"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].initPath" value="${MQX_ROOT_DIR}/lib/twrk70f120m.cw10/bsp/dbg/init_kinetis.tcl"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].memConfigPath" value="${MQX_ROOT_DIR}/lib/twrk70f120m.cw10/bsp/dbg/twrk70f120m.mem"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].networkDebuggerAddress" value="127.0.0.1"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].networkGateway" value="127.0.0.1"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].networkMACAddress" value="**-**-**-**-**-**"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].networkNetMask" value="255.255.255.255"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].networkTargetAddress" value="127.0.0.1"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].networkUDPPort" value="1234"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].noIOModelConfig" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].runOutOfReset" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].targetIsPalladium" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].useInitFile" value="true"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].useMemoryConfigFile" value="true"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].useNetworkGateway" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].useNetworkMACAddress" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.ct.bareboard].useNetworkUDPPort" value="false"/>
|
||||
<property key="propertySet.[cw.dbg.main].systemType" value="com.freescale.cw.system.kinetis.K70F.K70FN1M0"/>
|
||||
<property key="propertySet.[cw.ide.settingscache].hidden.HostID" value="com.freescale.cdt.debug.cw.core.ui.rse.systemtype.bareboard.hardware.system.121019100235-0600.4"/>
|
||||
<property key="propertySet.[cw.ide.settingscache].hidden.TimeStamp" value="1350662559109"/>
|
||||
</properties>
|
||||
</host>
|
||||
</APSC_Memento>
|
|
@ -0,0 +1,15 @@
|
|||
# vim:ft=automake
|
||||
# All paths should be given relative to the root
|
||||
#
|
||||
|
||||
EXTRA_DIST += \
|
||||
mqx/ctaocrypt_test/.cproject \
|
||||
mqx/ctaocrypt_test/.project \
|
||||
mqx/ctaocrypt_test/ReferencedRSESystems.xml \
|
||||
mqx/ctaocrypt_test/ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Debug_PnE_U-MultiLink.launch \
|
||||
mqx/ctaocrypt_test/ctaocrypt_test_twrk70f120m_Int_Flash_SramData_Release_PnE_U-MultiLink.launch
|
||||
|
||||
EXTRA_DIST += \
|
||||
mqx/ctaocrypt_test/Sources/main.c \
|
||||
mqx/ctaocrypt_test/Sources/main.h
|
||||
|
103
FreeRTOS-Plus/Source/CyaSSL/mqx/ctaocrypt_test/Sources/main.c
Normal file
103
FreeRTOS-Plus/Source/CyaSSL/mqx/ctaocrypt_test/Sources/main.c
Normal file
|
@ -0,0 +1,103 @@
|
|||
/* main.c */
|
||||
|
||||
#include "main.h"
|
||||
|
||||
/* SD card open/close utility functions */
|
||||
#include "util.h"
|
||||
|
||||
#if !BSPCFG_ENABLE_IO_SUBSYSTEM
|
||||
#error This application requires BSPCFG_ENABLE_IO_SUBSYSTEM defined \
|
||||
non-zero in user_config.h. Please recompile BSP with this option.
|
||||
#endif
|
||||
|
||||
#ifndef BSP_DEFAULT_IO_CHANNEL_DEFINED
|
||||
#error This application requires BSP_DEFAULT_IO_CHANNEL to be not NULL. \
|
||||
Please set corresponding BSPCFG_ENABLE_TTYx to non-zero in \
|
||||
user_config.h and recompile BSP with this option.
|
||||
#endif
|
||||
|
||||
|
||||
TASK_TEMPLATE_STRUCT MQX_template_list[] =
|
||||
{
|
||||
/* Task number, Entry point, Stack, Pri, String, Auto? */
|
||||
{MAIN_TASK, Main_task, 20000, 9, "main", MQX_AUTO_START_TASK},
|
||||
{0, 0, 0, 0, 0, 0, }
|
||||
};
|
||||
|
||||
/*TASK*-----------------------------------------------------
|
||||
*
|
||||
* Task Name : Main_task
|
||||
* Comments :
|
||||
* This task opens the SD card device and runs the
|
||||
* CTaoCrypt test functions located in test.c.
|
||||
*
|
||||
*END*-----------------------------------------------------*/
|
||||
|
||||
#if defined BSP_SDCARD_ESDHC_CHANNEL
|
||||
#if ! BSPCFG_ENABLE_ESDHC
|
||||
#error This application requires BSPCFG_ENABLE_ESDHC defined \
|
||||
non-zero in user_config.h. Please recompile libraries with \
|
||||
this option.
|
||||
#endif
|
||||
|
||||
#elif defined BSP_SDCARD_SDHC_CHANNEL
|
||||
#if ! BSPCFG_ENABLE_SDHC
|
||||
#error This application requires BSPCFG_ENABLE_SDHC defined \
|
||||
non-zero in user_config.h. Please recompile libraries with \
|
||||
this option.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined (BSP_SDCARD_SPI_CHANNEL)
|
||||
#define SDCARD_COM_CHANNEL BSP_SDCARD_SPI_CHANNEL
|
||||
#elif defined (BSP_SDCARD_ESDHC_CHANNEL)
|
||||
#define SDCARD_COM_CHANNEL BSP_SDCARD_ESDHC_CHANNEL
|
||||
#elif defined (BSP_SDCARD_SDHC_CHANNEL)
|
||||
#define SDCARD_COM_CHANNEL BSP_SDCARD_SDHC_CHANNEL
|
||||
#else
|
||||
#error "SDCARD low level communication device not defined!"
|
||||
#endif
|
||||
|
||||
/* func_args from test.h */
|
||||
typedef struct func_args {
|
||||
int argc;
|
||||
char** argv;
|
||||
int return_code;
|
||||
} func_args;
|
||||
|
||||
void Main_task(uint_32 initial_data)
|
||||
{
|
||||
int ret = 0;
|
||||
func_args args;
|
||||
_mqx_int error_code, bytes;
|
||||
_mqx_uint sz;
|
||||
char filesystem_name[] = "a:";
|
||||
char partman_name[] = "pm:";
|
||||
MQX_FILE_PTR com_handle, sdcard_handle, filesystem_handle, partman_handle;
|
||||
MQX_FILE_PTR cert_file = NULL;
|
||||
const char* fileName = "a:\certs\\client-key.der";
|
||||
|
||||
ret = sdcard_open(&com_handle, &sdcard_handle, &partman_handle,
|
||||
&filesystem_handle, partman_name, filesystem_name);
|
||||
|
||||
if (ret != 0) {
|
||||
printf("error: sdcard_open(), ret = %d\n", ret);
|
||||
_mqx_exit(1);
|
||||
}
|
||||
printf("SD card installed to %s\n", filesystem_name);
|
||||
|
||||
ctaocrypt_test(&args);
|
||||
|
||||
ret = sdcard_close(&sdcard_handle, &partman_handle,
|
||||
&filesystem_handle, partman_name, filesystem_name);
|
||||
|
||||
if (ret != 0) {
|
||||
printf("error: sdcard_close(), ret = %d\n", ret);
|
||||
_mqx_exit(1);
|
||||
}
|
||||
printf("SD card uninstalled.\n");
|
||||
|
||||
_mqx_exit(0);
|
||||
}
|
||||
|
||||
/* EOF */
|
|
@ -0,0 +1,21 @@
|
|||
/* main.h */
|
||||
|
||||
#ifndef __main_h_
|
||||
#define __main_h_
|
||||
|
||||
#include <mqx.h>
|
||||
#include <bsp.h>
|
||||
|
||||
#include <mfs.h>
|
||||
#include <fio.h>
|
||||
#include <sdcard.h>
|
||||
#include <sdcard_spi.h>
|
||||
#include <spi.h>
|
||||
#include <part_mgr.h>
|
||||
|
||||
#define MAIN_TASK 1
|
||||
|
||||
extern void Main_task(uint_32);
|
||||
|
||||
#endif /* __main_h_ */
|
||||
|
|
@ -0,0 +1,162 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="com.freescale.cdt.launch.cw.download">
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Debugger.processor" value="K70FN1M0"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Exceptions.busFaultErr" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Exceptions.checkUsageFaultErr" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Exceptions.hardFaultErr" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Exceptions.intErr" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Exceptions.memManageErr" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Exceptions.noCoprocessorErr" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Exceptions.stateUsageFaultErr" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Interrupt.disable_interrupts_during_stepping" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Interrupt.interrupt_enabled" value="false"/>
|
||||
<intAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Interrupt.interrupt_mask" value="0"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Debugger PIC Settings Panel.altLoadAddr" value="0"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Debugger PIC Settings Panel.enableAltLoadAddr" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.IDconstant" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.IDexecutable" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.IDinitialized" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.IDuninitialized" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.IVconstant" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.IVexecutable" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.IVinitialized" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.IVuninitialized" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.SDconstant" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.SDexecutable" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.SDinitialized" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.SDuninitialized" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.SVconstant" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.SVexecutable" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.SVinitialized" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.SVuninitialized" value="true"/>
|
||||
<intAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.coreIndex" value="0"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.homogeneousMulticore" value="false"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.initPath" value="${MQX_ROOT_DIR}/lib/twrk70f120m.cw10/bsp/dbg/init_kinetis.tcl"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.memConfigPath" value="${MQX_ROOT_DIR}/lib/twrk70f120m.cw10/bsp/dbg/twrk70f120m.mem"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.simulator" value=""/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.smp" value="false"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.systemType" value="com.freescale.cw.system.kinetis.K70F.K70FN1M0"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.useDefaultConfigFile" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.useInitFile" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.useMemoryConfigFile" value="true"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.CoreNameList">
|
||||
<listEntry value="K70FN1M0#0"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.Debug"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.DebuggerTab.StopAtProgramEntryPoint" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.DebuggerTab.StopAtStartUp" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.DebuggerTab.StopAtUserSpecified" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.Embedded Download.ExecuteTasks" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.Embedded Download.StandardDownload" value="true"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.Embedded Download.TaskInitialLaunches"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.Embedded Download.TaskNames"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.Embedded Download.TaskSuccessiveRuns"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.Embedded Download.TaskTypes"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.ExecutablePath"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.PN_StopAtProgramEntryPoint" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.PN_StopAtStartUp" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.PN_StopAtUserSpecified" value="true"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.RefreshPolicy.RefreshPeriod" value="2.0"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.RemoteDownload"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.RemotePath"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.SMPCores"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.SYNC_WITH_ENCL_PROJ" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.Symbolics.CacheSymbolicsBetweenRuns" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.Symbolics.UseExecutableCopy" value="false"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.UDPPort" value="1234"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.core.settings.ConnectionCommonData.TargetConnectionLost.RetryConnectionOn" value="false"/>
|
||||
<intAttribute key="com.freescale.cdt.debug.cw.core.settings.ConnectionCommonData.TargetConnectionLost.RetryTimeout" value="20"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.core.settings.ConnectionCommonData.TargetConnectionLost.RetryWithTimeoutOn" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.core.settings.ConnectionCommonData.TargetConnectionLost.TerminateConnectionOn" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.core.settings.ConnectionCommonData.TargetConnectionLost.promptUserActionOn" value="true"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.core.settings.DebuggerCommonData.Connection Protocol Plugin Name" value="ARM GDI"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.core.settings.DebuggerCommonData.Connection Type" value="com.pemicro.mcu.debug.connections.pne.arm"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.core.settings.DebuggerCommonData.Processor Attr Name" value="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Debugger.processor"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.core.settings.GdiConnection.Common.PhysicalConnectionAttributeBase" value="com.pemicro.mcu.debug.connections.pne.arm."/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.core.settings.GdiConnection.Common.logData" value="false"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.core.settings.rseSystemId" value="com.freescale.cdt.debug.cw.core.ui.rse.systemtype.bareboard.hardware.121019100235-0600.2"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.core.settings.wizardSystemNameHint" value="PnE U-MultiLink"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.debuggerAddress" value="127.0.0.1"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.disableIO" value="false"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.ethCtrl" value="UEC1"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.executePerCoresReset" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.executePerprocessorReset" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.executeReset" value="true"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.gateway" value="127.0.0.1"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.initPathList">
|
||||
<listEntry value="${MQX_ROOT_DIR}/lib/twrk70f120m.cw10/bsp/dbg/init_kinetis.tcl"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.macAddress" value="**-**-**-**-**-**"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.memConfigPathList">
|
||||
<listEntry value="${MQX_ROOT_DIR}/lib/twrk70f120m.cw10/bsp/dbg/twrk70f120m.mem"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.netMask" value="255.255.255.255"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.osawareness.osContributorID" value="com.freescale.os.mqx.cortexm"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.osawareness.rtospluginname" value="MQX RTOS CORTEXM"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.osawareness.targetos" value="MQX OS for Cortex"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.perCoreResetList"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.perProcessorResetList"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.processor" value="Generic"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.runOutOfResetList">
|
||||
<listEntry value="false"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.targetAddress" value="127.0.0.1"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.useGateway" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.useHSSTIO" value="false"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.useInitPathList">
|
||||
<listEntry value="true"/>
|
||||
</listAttribute>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.useMacAddress" value="false"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.useMemConfigPathList">
|
||||
<listEntry value="true"/>
|
||||
</listAttribute>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.useNetworkTransferIO" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.useSerialTransferIO" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.useStopTransferIO" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.useUDPPort" value="false"/>
|
||||
<listAttribute key="com.freescale.panel.list">
|
||||
<listEntry value="Debugger Common Settings"/>
|
||||
<listEntry value="ARM Exceptions"/>
|
||||
<listEntry value="ARM Interrupt"/>
|
||||
<listEntry value="Embedded Download"/>
|
||||
<listEntry value="Debugger PIC Settings Panel"/>
|
||||
<listEntry value="Other Executables"/>
|
||||
<listEntry value="Symbolics"/>
|
||||
<listEntry value="osawareness"/>
|
||||
</listAttribute>
|
||||
<booleanAttribute key="com.freescale.sa.mcu.launch.ENABLE_ANALYSIS" value="false"/>
|
||||
<stringAttribute key="com.pemicro.mcu.debug.connections.pne.arm.CommandLineArgs" value="arm_icd"/>
|
||||
<stringAttribute key="com.pemicro.mcu.debug.connections.pne.arm.Library" value="arm_pne_gdi"/>
|
||||
<stringAttribute key="com.pemicro.mcu.debug.connections.pne.arm.PEDEBUG_CURRENTDEVICE" value="K70FN1M0"/>
|
||||
<stringAttribute key="com.pemicro.mcu.debug.connections.pne.arm.STARTUP_PORT" value="21"/>
|
||||
<stringAttribute key="com.pemicro.mcu.debug.connections.pne.arm.STARTUP_interface_selection" value="1"/>
|
||||
<booleanAttribute key="forceShellDownload" value="false"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_ID" value="com.freescale.cdt.debug.cw.arm.ArmDebugger"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_REGISTER_GROUPS" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="run"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="main"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.ENABLE_REGISTER_BOOKKEEPING" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.ENABLE_RESTORE_WATCHPOINTS" value="true"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.ENABLE_VARIABLE_BOOKKEEPING" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.FORMAT" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><contentList/>"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.GLOBAL_VARIABLES" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <globalVariableList/> "/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <memoryBlockExpressionList/> "/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="twrk70f120m_Int_Flash_SramData_Debug/ctaocrypt_test.afx"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="ctaocrypt_test"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value="com.freescale.arm.cdt.toolchain.config.arm.release.1231645846"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.SET_REGULAR_BREAKPOINT_TYPE_AS" value="0"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.USE_SET_REGULAR_BREAKPOINT_TYPE_AS" value="false"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/ctaocrypt_test"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="4"/>
|
||||
</listAttribute>
|
||||
<booleanAttribute key="org.eclipse.debug.ui.ATTR_REDIRECT_TO_SERVER_SOCKET" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.debug.ui.ATTR_REDIRECT_TO_SOCKET" value="false"/>
|
||||
<stringAttribute key="org.eclipse.debug.ui.ATTR_REDIRECT_TO_SOCKET_HOST" value=""/>
|
||||
<stringAttribute key="org.eclipse.debug.ui.ATTR_REDIRECT_TO_SOCKET_PORT" value=""/>
|
||||
<stringAttribute key="process_factory_id" value="com.freescale.cdt.debug.cw.core.ProcessFactoryID"/>
|
||||
</launchConfiguration>
|
|
@ -0,0 +1,158 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="com.freescale.cdt.launch.cw.download">
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Debugger.processor" value="K70FN1M0"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Exceptions.busFaultErr" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Exceptions.checkUsageFaultErr" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Exceptions.hardFaultErr" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Exceptions.intErr" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Exceptions.memManageErr" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Exceptions.noCoprocessorErr" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Exceptions.stateUsageFaultErr" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Interrupt.disable_interrupts_during_stepping" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Interrupt.interrupt_enabled" value="false"/>
|
||||
<intAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Interrupt.interrupt_mask" value="0"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Debugger PIC Settings Panel.altLoadAddr" value="0"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Debugger PIC Settings Panel.enableAltLoadAddr" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.IDconstant" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.IDexecutable" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.IDinitialized" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.IDuninitialized" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.IVconstant" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.IVexecutable" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.IVinitialized" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.IVuninitialized" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.SDconstant" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.SDexecutable" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.SDinitialized" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.SDuninitialized" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.SVconstant" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.SVexecutable" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.SVinitialized" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Download.SVuninitialized" value="true"/>
|
||||
<intAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.coreIndex" value="0"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.homogeneousMulticore" value="false"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.initPath" value="${MQX_ROOT_DIR}/lib/twrk70f120m.cw10/bsp/dbg/init_kinetis.tcl"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.memConfigPath" value="${MQX_ROOT_DIR}/lib/twrk70f120m.cw10/bsp/dbg/twrk70f120m.mem"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.simulator" value=""/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.smp" value="false"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.systemType" value="com.freescale.cw.system.kinetis.K70F.K70FN1M0"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.useDefaultConfigFile" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.useInitFile" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.Embedded Initialization.useMemoryConfigFile" value="true"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.CoreNameList">
|
||||
<listEntry value="K70FN1M0#0"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.Debug"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.DebuggerTab.StopAtProgramEntryPoint" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.DebuggerTab.StopAtStartUp" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.DebuggerTab.StopAtUserSpecified" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.Embedded Download.ExecuteTasks" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.Embedded Download.StandardDownload" value="true"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.Embedded Download.TaskInitialLaunches"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.Embedded Download.TaskNames"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.Embedded Download.TaskSuccessiveRuns"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.Embedded Download.TaskTypes"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.ExecutablePath"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.PN_StopAtProgramEntryPoint" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.PN_StopAtStartUp" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.PN_StopAtUserSpecified" value="true"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.RefreshPolicy.RefreshPeriod" value="2.0"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.RemoteDownload"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.RemotePath"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.SMPCores"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.SYNC_WITH_ENCL_PROJ" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.Symbolics.CacheSymbolicsBetweenRuns" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.Symbolics.UseExecutableCopy" value="false"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.UDPPort" value="1234"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.core.settings.ConnectionCommonData.TargetConnectionLost.RetryConnectionOn" value="false"/>
|
||||
<intAttribute key="com.freescale.cdt.debug.cw.core.settings.ConnectionCommonData.TargetConnectionLost.RetryTimeout" value="20"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.core.settings.ConnectionCommonData.TargetConnectionLost.RetryWithTimeoutOn" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.core.settings.ConnectionCommonData.TargetConnectionLost.TerminateConnectionOn" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.core.settings.ConnectionCommonData.TargetConnectionLost.promptUserActionOn" value="true"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.core.settings.DebuggerCommonData.Connection Protocol Plugin Name" value="ARM GDI"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.core.settings.DebuggerCommonData.Connection Type" value="com.pemicro.mcu.debug.connections.pne.arm"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.core.settings.DebuggerCommonData.Processor Attr Name" value="com.freescale.cdt.debug.cw.CW_SHADOWED_PREF.ARM Debugger.processor"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.core.settings.GdiConnection.Common.PhysicalConnectionAttributeBase" value="com.pemicro.mcu.debug.connections.pne.arm."/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.core.settings.GdiConnection.Common.logData" value="false"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.core.settings.rseSystemId" value="com.freescale.cdt.debug.cw.core.ui.rse.systemtype.bareboard.hardware.121019100235-0600.4"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.core.settings.wizardSystemNameHint" value="PnE U-MultiLink"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.debuggerAddress" value="127.0.0.1"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.disableIO" value="false"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.ethCtrl" value="UEC1"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.executePerCoresReset" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.executePerprocessorReset" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.executeReset" value="true"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.gateway" value="127.0.0.1"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.initPathList">
|
||||
<listEntry value="${MQX_ROOT_DIR}/lib/twrk70f120m.cw10/bsp/dbg/init_kinetis.tcl"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.macAddress" value="**-**-**-**-**-**"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.memConfigPathList">
|
||||
<listEntry value="${MQX_ROOT_DIR}/lib/twrk70f120m.cw10/bsp/dbg/twrk70f120m.mem"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.netMask" value="255.255.255.255"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.osawareness.osContributorID" value="com.freescale.os.mqx.cortexm"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.osawareness.rtospluginname" value="MQX RTOS CORTEXM"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.osawareness.targetos" value="MQX OS for Cortex"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.perCoreResetList"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.perProcessorResetList"/>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.processor" value="Generic"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.runOutOfResetList">
|
||||
<listEntry value="false"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="com.freescale.cdt.debug.cw.targetAddress" value="127.0.0.1"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.useGateway" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.useHSSTIO" value="false"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.useInitPathList">
|
||||
<listEntry value="true"/>
|
||||
</listAttribute>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.useMacAddress" value="false"/>
|
||||
<listAttribute key="com.freescale.cdt.debug.cw.useMemConfigPathList">
|
||||
<listEntry value="true"/>
|
||||
</listAttribute>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.useNetworkTransferIO" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.useSerialTransferIO" value="false"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.useStopTransferIO" value="true"/>
|
||||
<booleanAttribute key="com.freescale.cdt.debug.cw.useUDPPort" value="false"/>
|
||||
<listAttribute key="com.freescale.panel.list">
|
||||
<listEntry value="Debugger Common Settings"/>
|
||||
<listEntry value="ARM Exceptions"/>
|
||||
<listEntry value="ARM Interrupt"/>
|
||||
<listEntry value="Embedded Download"/>
|
||||
<listEntry value="Debugger PIC Settings Panel"/>
|
||||
<listEntry value="Other Executables"/>
|
||||
<listEntry value="Symbolics"/>
|
||||
<listEntry value="osawareness"/>
|
||||
</listAttribute>
|
||||
<booleanAttribute key="com.freescale.sa.mcu.launch.ENABLE_ANALYSIS" value="false"/>
|
||||
<stringAttribute key="com.pemicro.mcu.debug.connections.pne.arm.CommandLineArgs" value="arm_icd"/>
|
||||
<stringAttribute key="com.pemicro.mcu.debug.connections.pne.arm.Library" value="arm_pne_gdi"/>
|
||||
<stringAttribute key="com.pemicro.mcu.debug.connections.pne.arm.PEDEBUG_CURRENTDEVICE" value="K70FN1M0"/>
|
||||
<stringAttribute key="com.pemicro.mcu.debug.connections.pne.arm.STARTUP_PORT" value="21"/>
|
||||
<stringAttribute key="com.pemicro.mcu.debug.connections.pne.arm.STARTUP_interface_selection" value="1"/>
|
||||
<booleanAttribute key="forceShellDownload" value="false"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_ID" value="com.freescale.cdt.debug.cw.arm.ArmDebugger"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_REGISTER_GROUPS" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="run"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="main"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.ENABLE_REGISTER_BOOKKEEPING" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.ENABLE_RESTORE_WATCHPOINTS" value="true"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.ENABLE_VARIABLE_BOOKKEEPING" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="twrk70f120m_Int_Flash_SramData_Release/ctaocrypt_test.afx"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="ctaocrypt_test"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value="com.freescale.arm.cdt.toolchain.config.arm.release.2063327712"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.SET_REGULAR_BREAKPOINT_TYPE_AS" value="0"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.USE_SET_REGULAR_BREAKPOINT_TYPE_AS" value="false"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/ctaocrypt_test"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="4"/>
|
||||
</listAttribute>
|
||||
<booleanAttribute key="org.eclipse.debug.ui.ATTR_REDIRECT_TO_SERVER_SOCKET" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.debug.ui.ATTR_REDIRECT_TO_SOCKET" value="false"/>
|
||||
<stringAttribute key="org.eclipse.debug.ui.ATTR_REDIRECT_TO_SOCKET_HOST" value=""/>
|
||||
<stringAttribute key="org.eclipse.debug.ui.ATTR_REDIRECT_TO_SOCKET_PORT" value=""/>
|
||||
</launchConfiguration>
|
Loading…
Add table
Add a link
Reference in a new issue