From 10c58a7405a3883b2702b40fb24839afd8b9e4c0 Mon Sep 17 00:00:00 2001 From: Matthew Date: Tue, 9 Mar 2021 19:43:55 +0800 Subject: [PATCH] Added root folder files --- .cproject | 723 ++++++++++++++++++ .project | 27 + ...stMK64ECUHostMCUXpresso JLink Debug.launch | 86 +++ ECUHostMK64ECUHostMCUXpresso PE Debug.launch | 220 ++++++ README.md | 13 + 5 files changed, 1069 insertions(+) create mode 100644 .cproject create mode 100644 .project create mode 100644 ECUHostMK64ECUHostMCUXpresso JLink Debug.launch create mode 100644 ECUHostMK64ECUHostMCUXpresso PE Debug.launch create mode 100644 README.md diff --git a/.cproject b/.cproject new file mode 100644 index 0000000..222e59e --- /dev/null +++ b/.cproject @@ -0,0 +1,723 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SDK_2.x_MK64FX512xxx12 + 2.5.0 + middleware.baremetal.MK64F12;platform.drivers.wdog.MK64F12;device.MK64F12_CMSIS.MK64F12;platform.Include_common.MK64F12;platform.Include_core_cm4.MK64F12;platform.drivers.clock.MK64F12;platform.drivers.common.MK64F12;platform.drivers.sdhc.MK64F12;middleware.usb.device_stack.MK64F12;middleware.usb.device_config_template.MK64F12;middleware.usb.stack_common.MK64F12;device.MK64F12_startup.MK64F12; + MK64FX512VDC12 + cm4 + core0_MK64FX512xxx12 + + + <?xml version="1.0" encoding="UTF-8"?> +<TargetConfig> +<Properties property_3="NXP" property_4="MK64FX512xxx12" property_count="5" version="100300"/> +<infoList vendor="NXP"> +<info chip="MK64FX512xxx12" name="MK64FX512xxx12"> +<chip> +<name>MK64FX512xxx12</name> +<family>K6x</family> +<vendor>NXP</vendor> +<memory can_program="true" id="Flash" is_ro="true" size="512" type="Flash"/> +<memory id="RAM" size="192" type="RAM"/> +<memoryInstance derived_from="Flash" driver="FTFE_4K.cfx" id="PROGRAM_FLASH" location="0x0" size="0x80000"/> +<memoryInstance derived_from="RAM" id="SRAM_UPPER" location="0x20000000" size="0x20000"/> +<memoryInstance derived_from="RAM" id="SRAM_LOWER" location="0x1fff0000" size="0x10000"/> +<memoryInstance derived_from="RAM" id="FLEX_RAM" location="0x14000000" size="0x1000"/> +<peripheralInstance derived_from="FTFE-FlashConfig" id="FTFE-FlashConfig" location="0x400"/> +<peripheralInstance derived_from="AIPS0" id="AIPS0" location="0x40000000"/> +<peripheralInstance derived_from="AIPS1" id="AIPS1" location="0x40080000"/> +<peripheralInstance derived_from="AXBS" id="AXBS" location="0x40004000"/> +<peripheralInstance derived_from="DMA" id="DMA" location="0x40008000"/> +<peripheralInstance derived_from="FB" id="FB" location="0x4000C000"/> +<peripheralInstance derived_from="SYSMPU" id="SYSMPU" location="0x4000D000"/> +<peripheralInstance derived_from="FMC" id="FMC" location="0x4001F000"/> +<peripheralInstance derived_from="FTFE" id="FTFE" location="0x40020000"/> +<peripheralInstance derived_from="DMAMUX" id="DMAMUX" location="0x40021000"/> +<peripheralInstance derived_from="CAN0" id="CAN0" location="0x40024000"/> +<peripheralInstance derived_from="RNG" id="RNG" location="0x40029000"/> +<peripheralInstance derived_from="SPI0" id="SPI0" location="0x4002C000"/> +<peripheralInstance derived_from="SPI1" id="SPI1" location="0x4002D000"/> +<peripheralInstance derived_from="SPI2" id="SPI2" location="0x400AC000"/> +<peripheralInstance derived_from="I2S0" id="I2S0" location="0x4002F000"/> +<peripheralInstance derived_from="CRC" id="CRC" location="0x40032000"/> +<peripheralInstance derived_from="USBDCD" id="USBDCD" location="0x40035000"/> +<peripheralInstance derived_from="PDB0" id="PDB0" location="0x40036000"/> +<peripheralInstance derived_from="PIT" id="PIT" location="0x40037000"/> +<peripheralInstance derived_from="FTM0" id="FTM0" location="0x40038000"/> +<peripheralInstance derived_from="FTM1" id="FTM1" location="0x40039000"/> +<peripheralInstance derived_from="FTM2" id="FTM2" location="0x4003A000"/> +<peripheralInstance derived_from="FTM3" id="FTM3" location="0x400B9000"/> +<peripheralInstance derived_from="ADC0" id="ADC0" location="0x4003B000"/> +<peripheralInstance derived_from="ADC1" id="ADC1" location="0x400BB000"/> +<peripheralInstance derived_from="RTC" id="RTC" location="0x4003D000"/> +<peripheralInstance derived_from="RFVBAT" id="RFVBAT" location="0x4003E000"/> +<peripheralInstance derived_from="LPTMR0" id="LPTMR0" location="0x40040000"/> +<peripheralInstance derived_from="RFSYS" id="RFSYS" location="0x40041000"/> +<peripheralInstance derived_from="SIM" id="SIM" location="0x40047000"/> +<peripheralInstance derived_from="PORTA" id="PORTA" location="0x40049000"/> +<peripheralInstance derived_from="PORTB" id="PORTB" location="0x4004A000"/> +<peripheralInstance derived_from="PORTC" id="PORTC" location="0x4004B000"/> +<peripheralInstance derived_from="PORTD" id="PORTD" location="0x4004C000"/> +<peripheralInstance derived_from="PORTE" id="PORTE" location="0x4004D000"/> +<peripheralInstance derived_from="WDOG" id="WDOG" location="0x40052000"/> +<peripheralInstance derived_from="EWM" id="EWM" location="0x40061000"/> +<peripheralInstance derived_from="CMT" id="CMT" location="0x40062000"/> +<peripheralInstance derived_from="MCG" id="MCG" location="0x40064000"/> +<peripheralInstance derived_from="OSC" id="OSC" location="0x40065000"/> +<peripheralInstance derived_from="I2C0" id="I2C0" location="0x40066000"/> +<peripheralInstance derived_from="I2C1" id="I2C1" location="0x40067000"/> +<peripheralInstance derived_from="I2C2" id="I2C2" location="0x400E6000"/> +<peripheralInstance derived_from="UART0" id="UART0" location="0x4006A000"/> +<peripheralInstance derived_from="UART1" id="UART1" location="0x4006B000"/> +<peripheralInstance derived_from="UART2" id="UART2" location="0x4006C000"/> +<peripheralInstance derived_from="UART3" id="UART3" location="0x4006D000"/> +<peripheralInstance derived_from="UART4" id="UART4" location="0x400EA000"/> +<peripheralInstance derived_from="UART5" id="UART5" location="0x400EB000"/> +<peripheralInstance derived_from="USB0" id="USB0" location="0x40072000"/> +<peripheralInstance derived_from="CMP0" id="CMP0" location="0x40073000"/> +<peripheralInstance derived_from="CMP1" id="CMP1" location="0x40073008"/> +<peripheralInstance derived_from="CMP2" id="CMP2" location="0x40073010"/> +<peripheralInstance derived_from="VREF" id="VREF" location="0x40074000"/> +<peripheralInstance derived_from="LLWU" id="LLWU" location="0x4007C000"/> +<peripheralInstance derived_from="PMC" id="PMC" location="0x4007D000"/> +<peripheralInstance derived_from="SMC" id="SMC" location="0x4007E000"/> +<peripheralInstance derived_from="RCM" id="RCM" location="0x4007F000"/> +<peripheralInstance derived_from="SDHC" id="SDHC" location="0x400B1000"/> +<peripheralInstance derived_from="ENET" id="ENET" location="0x400C0000"/> +<peripheralInstance derived_from="DAC0" id="DAC0" location="0x400CC000"/> +<peripheralInstance derived_from="DAC1" id="DAC1" location="0x400CD000"/> +<peripheralInstance derived_from="GPIOA" id="GPIOA" location="0x400FF000"/> +<peripheralInstance derived_from="GPIOB" id="GPIOB" location="0x400FF040"/> +<peripheralInstance derived_from="GPIOC" id="GPIOC" location="0x400FF080"/> +<peripheralInstance derived_from="GPIOD" id="GPIOD" location="0x400FF0C0"/> +<peripheralInstance derived_from="GPIOE" id="GPIOE" location="0x400FF100"/> +<peripheralInstance derived_from="SystemControl" id="SystemControl" location="0xE000E000"/> +<peripheralInstance derived_from="SysTick" id="SysTick" location="0xE000E010"/> +<peripheralInstance derived_from="NVIC" id="NVIC" location="0xE000E100"/> +<peripheralInstance derived_from="MCM" id="MCM" location="0xE0080000"/> +<peripheralInstance derived_from="CAU" id="CAU" location="0xE0081000"/> +</chip> +<processor> +<name gcc_name="cortex-m4">Cortex-M4</name> +<family>Cortex-M</family> +</processor> +<link href="MK64F12_internal_peripheral.xml" show="embed" type="simple"/> +</info> +</infoList> +</TargetConfig> + + + + + + + + + + + + diff --git a/.project b/.project new file mode 100644 index 0000000..6d2a3d9 --- /dev/null +++ b/.project @@ -0,0 +1,27 @@ + + + ECUHostMK64ECUHostMCUXpresso + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + com.nxp.mcuxpresso.core.datamodels.sdkNature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + diff --git a/ECUHostMK64ECUHostMCUXpresso JLink Debug.launch b/ECUHostMK64ECUHostMCUXpresso JLink Debug.launch new file mode 100644 index 0000000..3ebb0fe --- /dev/null +++ b/ECUHostMK64ECUHostMCUXpresso JLink Debug.launch @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ECUHostMK64ECUHostMCUXpresso PE Debug.launch b/ECUHostMK64ECUHostMCUXpresso PE Debug.launch new file mode 100644 index 0000000..2856abf --- /dev/null +++ b/ECUHostMK64ECUHostMCUXpresso PE Debug.launch @@ -0,0 +1,220 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/README.md b/README.md new file mode 100644 index 0000000..1c45241 --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +# VS-MAP-MATE +This code compiles on NXP MCUXpresso and runs on Teensy 3.5. You can communicate with the Teensy using MAP-MATE if you choose. + +## Install +To run the project, you need a Teensy 3.5. You can create the hex to download using binary utilities and load using Teensy.exe, or JTAG and fully debug by soldering the ARM single wire debug interface onto the Teensy 3.5. Segger J-link and PEMicro Universal are both debuggers I have used. + +## Contributing +Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. + +## License +[GPL](http://www.gnu.org/licenses/gpl.html) GPL version 2 or higher. + +