parent
5e45309a3a
commit
6bd930b79d
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,165 @@ |
||||
<?xml version="1.0" encoding= "UTF-8" ?> |
||||
<configuration name="MK22FN512xxx12" xsi:schemaLocation="http://mcuxpresso.nxp.com/XSD/mex_configuration_12 http://mcuxpresso.nxp.com/XSD/mex_configuration_12.xsd" uuid="ee8085bc-8c28-4c9f-bf26-9ebc6d11d4c5" version="12" xmlns="http://mcuxpresso.nxp.com/XSD/mex_configuration_12" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
||||
<common> |
||||
<processor>MK22FN512xxx12</processor> |
||||
<package>MK22FN512VLH12</package> |
||||
<mcu_data>ksdk2_0</mcu_data> |
||||
<cores selected="core0"> |
||||
<core name="Cortex-M4F" id="core0" description="M4 core"/> |
||||
</cores> |
||||
<description>Configuration imported from ADIS_tinyK22_Blinky</description> |
||||
</common> |
||||
<preferences> |
||||
<validate_boot_init_only>true</validate_boot_init_only> |
||||
<generate_extended_information>false</generate_extended_information> |
||||
<generate_code_modified_registers_only>false</generate_code_modified_registers_only> |
||||
<update_include_paths>true</update_include_paths> |
||||
<generate_registers_defines>false</generate_registers_defines> |
||||
</preferences> |
||||
<tools> |
||||
<pins name="Pins" version="12.0" enabled="true" update_project_code="true"> |
||||
<generated_project_files> |
||||
<file path="board/pin_mux.c" update_enabled="true"/> |
||||
<file path="board/pin_mux.h" update_enabled="true"/> |
||||
</generated_project_files> |
||||
<pins_profile> |
||||
<processor_version>12.0.0</processor_version> |
||||
<pin_labels> |
||||
<pin_label pin_num="45" pin_signal="ADC0_SE4b/CMP1_IN0/PTC2/SPI0_PCS2/UART1_CTS_b/FTM0_CH1/FB_AD12/I2S0_TX_FS/LPUART0_CTS_b" label="LED_BLUE" identifier="LED_BLUE"/> |
||||
</pin_labels> |
||||
</pins_profile> |
||||
<functions_list> |
||||
<function name="BOARD_InitPins"> |
||||
<description>Configures pin routing and optionally pin electrical features.</description> |
||||
<options> |
||||
<callFromInitBoot>true</callFromInitBoot> |
||||
<coreID>core0</coreID> |
||||
<enableClock>true</enableClock> |
||||
</options> |
||||
<dependencies> |
||||
<dependency resourceType="SWComponent" resourceId="platform.drivers.common" description="Pins initialization requires the COMMON Driver in the project." problem_level="2" source="Pins:BOARD_InitPins"> |
||||
<feature name="enabled" evaluation="equal" configuration="core0"> |
||||
<data>true</data> |
||||
</feature> |
||||
</dependency> |
||||
<dependency resourceType="SWComponent" resourceId="platform.drivers.port" description="Pins initialization requires the PORT Driver in the project." problem_level="2" source="Pins:BOARD_InitPins"> |
||||
<feature name="enabled" evaluation="equal" configuration="core0"> |
||||
<data>true</data> |
||||
</feature> |
||||
</dependency> |
||||
<dependency resourceType="SWComponent" resourceId="platform.drivers.gpio" description="Pins initialization requires the GPIO Driver in the project." problem_level="2" source="Pins:BOARD_InitPins"> |
||||
<feature name="enabled" evaluation="equal" configuration="core0"> |
||||
<data>true</data> |
||||
</feature> |
||||
</dependency> |
||||
</dependencies> |
||||
<pins> |
||||
<pin peripheral="GPIOC" signal="GPIO, 2" pin_num="45" pin_signal="ADC0_SE4b/CMP1_IN0/PTC2/SPI0_PCS2/UART1_CTS_b/FTM0_CH1/FB_AD12/I2S0_TX_FS/LPUART0_CTS_b"> |
||||
<pin_features> |
||||
<pin_feature name="direction" value="OUTPUT"/> |
||||
</pin_features> |
||||
</pin> |
||||
</pins> |
||||
</function> |
||||
</functions_list> |
||||
</pins> |
||||
<clocks name="Clocks" version="10.0" enabled="true" update_project_code="true"> |
||||
<generated_project_files> |
||||
<file path="board/clock_config.c" update_enabled="true"/> |
||||
<file path="board/clock_config.h" update_enabled="true"/> |
||||
</generated_project_files> |
||||
<clocks_profile> |
||||
<processor_version>12.0.0</processor_version> |
||||
</clocks_profile> |
||||
<clock_configurations> |
||||
<clock_configuration name="BOARD_BootClockRUN" id_prefix="" prefix_user_defined="false"> |
||||
<description></description> |
||||
<options/> |
||||
<dependencies> |
||||
<dependency resourceType="SWComponent" resourceId="platform.drivers.common" description="Clocks initialization requires the COMMON Driver in the project." problem_level="2" source="Clocks:BOARD_BootClockRUN"> |
||||
<feature name="enabled" evaluation="equal" configuration="core0"> |
||||
<data>true</data> |
||||
</feature> |
||||
</dependency> |
||||
</dependencies> |
||||
<clock_sources/> |
||||
<clock_outputs> |
||||
<clock_output id="Bus_clock.outFreq" value="20.97152 MHz" locked="false" accuracy=""/> |
||||
<clock_output id="Core_clock.outFreq" value="20.97152 MHz" locked="false" accuracy=""/> |
||||
<clock_output id="Flash_clock.outFreq" value="10.48576 MHz" locked="false" accuracy=""/> |
||||
<clock_output id="FlexBus_clock.outFreq" value="10.48576 MHz" locked="false" accuracy=""/> |
||||
<clock_output id="LPO_clock.outFreq" value="1 kHz" locked="false" accuracy=""/> |
||||
<clock_output id="MCGFFCLK.outFreq" value="32.768 kHz" locked="false" accuracy=""/> |
||||
<clock_output id="PLLFLLCLK.outFreq" value="20.97152 MHz" locked="false" accuracy=""/> |
||||
<clock_output id="System_clock.outFreq" value="20.97152 MHz" locked="false" accuracy=""/> |
||||
</clock_outputs> |
||||
<clock_settings/> |
||||
<called_from_default_init>true</called_from_default_init> |
||||
</clock_configuration> |
||||
</clock_configurations> |
||||
</clocks> |
||||
<dcdx name="DCDx" version="3.0" enabled="false" update_project_code="true"> |
||||
<generated_project_files/> |
||||
<dcdx_profile> |
||||
<processor_version>N/A</processor_version> |
||||
</dcdx_profile> |
||||
<dcdx_configurations/> |
||||
</dcdx> |
||||
<periphs name="Peripherals" version="11.0" enabled="true" update_project_code="true"> |
||||
<generated_project_files> |
||||
<file path="board/peripherals.c" update_enabled="true"/> |
||||
<file path="board/peripherals.h" update_enabled="true"/> |
||||
</generated_project_files> |
||||
<peripherals_profile> |
||||
<processor_version>12.0.0</processor_version> |
||||
</peripherals_profile> |
||||
<functional_groups> |
||||
<functional_group name="BOARD_InitPeripherals" uuid="74acc050-89d1-4c54-a2cd-4d87a4233be4" called_from_default_init="true" id_prefix="" core="core0"> |
||||
<description></description> |
||||
<options/> |
||||
<dependencies/> |
||||
<instances> |
||||
<instance name="NVIC" uuid="efec354f-7b70-430c-b629-ee71aa104f42" type="nvic" type_id="nvic_57b5eef3774cc60acaede6f5b8bddc67" mode="general" peripheral="NVIC" enabled="true" comment="" custom_name_enabled="false" editing_lock="false"> |
||||
<config_set name="nvic"> |
||||
<array name="interrupt_table"/> |
||||
<array name="interrupts"/> |
||||
</config_set> |
||||
</instance> |
||||
</instances> |
||||
</functional_group> |
||||
</functional_groups> |
||||
<components> |
||||
<component name="system" uuid="57d4dbf7-ffe2-49a1-950c-3efd0e1fbaef" type_id="system_54b53072540eeeb8f8e9343e71f28176"> |
||||
<config_set_global name="global_system_definitions"> |
||||
<setting name="user_definitions" value=""/> |
||||
<setting name="user_includes" value=""/> |
||||
</config_set_global> |
||||
</component> |
||||
<component name="uart_cmsis_common" uuid="7b78218d-31ba-4290-a6a1-ae1820c3e7c2" type_id="uart_cmsis_common_9cb8e302497aa696fdbb5a4fd622c2a8"> |
||||
<config_set_global name="global_USART_CMSIS_common" quick_selection="default"/> |
||||
</component> |
||||
<component name="msg" uuid="855d17e0-ad44-40e4-9458-f02f8a82f10d" type_id="msg_6e2baaf3b97dbeef01c0043275f9a0e7"> |
||||
<config_set_global name="global_messages"/> |
||||
</component> |
||||
<component name="gpio_adapter_common" uuid="5d5e3ff2-9145-4c7d-ab47-229fafc848a8" type_id="gpio_adapter_common_57579b9ac814fe26bf95df0a384c36b6"> |
||||
<config_set_global name="global_gpio_adapter_common" quick_selection="default"/> |
||||
</component> |
||||
<component name="generic_uart" uuid="97ff5def-f8e9-4b41-aa54-45b1898c920f" type_id="generic_uart_8cae00565451cf2346eb1b8c624e73a6"> |
||||
<config_set_global name="global_uart"/> |
||||
</component> |
||||
<component name="generic_enet" uuid="d2457cac-8e6c-4e21-acf7-66dbdd91bc7c" type_id="generic_enet_74db5c914f0ddbe47d86af40cb77a619"> |
||||
<config_set_global name="global_enet"/> |
||||
</component> |
||||
<component name="generic_can" uuid="a0eedb0b-ea00-4342-9c20-24694e234f60" type_id="generic_can_1bfdd78b1af214566c1f23cf6a582d80"> |
||||
<config_set_global name="global_can"/> |
||||
</component> |
||||
</components> |
||||
</periphs> |
||||
<tee name="TEE" version="4.0" enabled="false" update_project_code="true"> |
||||
<generated_project_files/> |
||||
<tee_profile> |
||||
<processor_version>N/A</processor_version> |
||||
</tee_profile> |
||||
</tee> |
||||
</tools> |
||||
</configuration> |
||||
@ -0,0 +1,19 @@ |
||||
#include "application.h" |
||||
#include "fsl_gpio.h" |
||||
#include "pin_mux.h" |
||||
|
||||
static void delay(void) |
||||
{ |
||||
uint32_t i; |
||||
|
||||
for (i = 0; i < 500000; ++i) { |
||||
__asm volatile ("nop"); |
||||
} |
||||
} |
||||
|
||||
void App_Run(void){ |
||||
while(1) { |
||||
GPIO_PortToggle(BOARD_INITPINS_LED_BLUE_GPIO, BOARD_INITPINS_LED_BLUE_GPIO_PIN_MASK); |
||||
delay(); |
||||
} |
||||
} |
||||
@ -0,0 +1,13 @@ |
||||
/*
|
||||
* application.h |
||||
* |
||||
* Created on: 22.09.2022 |
||||
* Author: jonas |
||||
*/ |
||||
|
||||
#ifndef APPLICATION_H_ |
||||
#define APPLICATION_H_ |
||||
|
||||
void App_Run(void); |
||||
|
||||
#endif /* APPLICATION_H_ */ |
||||
Loading…
Reference in new issue