Skip to content

Commit

Permalink
Merge of SDK_2_10_0_EVK-MIMX8MQ
Browse files Browse the repository at this point in the history
Signed-off-by: FrancescoFerraro <[email protected]>
  • Loading branch information
FrancescoFerraro committed Oct 8, 2021
1 parent 96ee620 commit 5e1986e
Show file tree
Hide file tree
Showing 1,894 changed files with 715,972 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CMSIS/Core/Include/CMSIS_Include_core_cm_MIMX8MQ6.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
include_guard(GLOBAL)
message("CMSIS_Include_core_cm component is included.")


target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/.
)

2,124 changes: 2,124 additions & 0 deletions CMSIS/Core/Include/core_cm4.h

Large diffs are not rendered by default.

Binary file added CMSIS/DSP/Lib/GCC/libarm_cortexM4lf_math.a
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
include_guard(GLOBAL)
message("CMSIS_Driver_Include_Common component is included.")


target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/.
)

10 changes: 10 additions & 0 deletions CMSIS/Driver/Include/CMSIS_Driver_Include_I2C_MIMX8MQ6.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
include_guard(GLOBAL)
message("CMSIS_Driver_Include_I2C component is included.")


target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/.
)

include(CMSIS_Driver_Include_Common_MIMX8MQ6)

10 changes: 10 additions & 0 deletions CMSIS/Driver/Include/CMSIS_Driver_Include_SPI_MIMX8MQ6.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
include_guard(GLOBAL)
message("CMSIS_Driver_Include_SPI component is included.")


target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/.
)

include(CMSIS_Driver_Include_Common_MIMX8MQ6)

10 changes: 10 additions & 0 deletions CMSIS/Driver/Include/CMSIS_Driver_Include_USART_MIMX8MQ6.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
include_guard(GLOBAL)
message("CMSIS_Driver_Include_USART component is included.")


target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/.
)

include(CMSIS_Driver_Include_Common_MIMX8MQ6)

3,238 changes: 3,238 additions & 0 deletions EVK-MIMX8MQ_manifest_v3_8.xml

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions SW-Content-Register.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,17 @@ SDK_Components Name: SDK components and board peripheral drivers
Location: components/
Origin: NXP (BSD-3-Clause)

usb Name: USB
Version: 2.8.0
Outgoing License: BSD-3-Clause
License File: COPYING-BSD-3
Format: source code
Description: NXP USB stack. This is a version of
the USB stack that has been integrated with the
MCUXpresso SDK.
Location: middleware/usb
Origin: NXP (BSD-3-Clause)

freertos Name: FreeRTOS
Version: 202012.00.0
Outgoing License: MIT
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* Copyright 2017 NXP
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef _RTE_DEVICE_H
#define _RTE_DEVICE_H

extern void ECSPI1_InitPins();
extern void ECSPI1_DeinitPins();

/* Driver name mapping. */
/* User needs to provide the implementation of ECSPIX_GetFreq/ECSPIX_InitPins/ECSPIX_DeinitPins for the enabled ECSPI
* instance. */
#define RTE_SPI1 1
#define RTE_SPI1_PIN_INIT ECSPI1_InitPins
#define RTE_SPI1_PIN_DEINIT ECSPI1_DeinitPins
#define RTE_SPI1_DMA_EN 0

/* ECSPI configuration. */
#define RTE_SPI1_TRANSFER_CHANNEL kECSPI_Channel0

#endif /* _RTE_DEVICE_H */
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
# CROSS COMPILER SETTING
SET(CMAKE_SYSTEM_NAME Generic)
CMAKE_MINIMUM_REQUIRED (VERSION 3.10.0)

# THE VERSION NUMBER
SET (Tutorial_VERSION_MAJOR 1)
SET (Tutorial_VERSION_MINOR 0)

# ENABLE ASM
ENABLE_LANGUAGE(ASM)

SET(CMAKE_STATIC_LIBRARY_PREFIX)
SET(CMAKE_STATIC_LIBRARY_SUFFIX)

SET(CMAKE_EXECUTABLE_LIBRARY_PREFIX)
SET(CMAKE_EXECUTABLE_LIBRARY_SUFFIX)

# CURRENT DIRECTORY
SET(ProjDirPath ${CMAKE_CURRENT_SOURCE_DIR})

SET(EXECUTABLE_OUTPUT_PATH ${ProjDirPath}/${CMAKE_BUILD_TYPE})
SET(LIBRARY_OUTPUT_PATH ${ProjDirPath}/${CMAKE_BUILD_TYPE})


project(cmsis_ecspi_int_loopback_transfer)

set(MCUX_SDK_PROJECT_NAME cmsis_ecspi_int_loopback_transfer.elf)

include(${ProjDirPath}/flags.cmake)

include(${ProjDirPath}/config.cmake)

add_executable(${MCUX_SDK_PROJECT_NAME}
"${ProjDirPath}/../cmsis_ecspi_int_loopback_transfer.c"
"${ProjDirPath}/../pin_mux.c"
"${ProjDirPath}/../pin_mux.h"
"${ProjDirPath}/../RTE_Device.h"
"${ProjDirPath}/../board.c"
"${ProjDirPath}/../board.h"
"${ProjDirPath}/../clock_config.c"
"${ProjDirPath}/../clock_config.h"
"${ProjDirPath}/../fsl_iomuxc.h"
"${ProjDirPath}/../empty_rsc_table.c"
)

target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE
${ProjDirPath}/..
)

set(CMAKE_MODULE_PATH
${ProjDirPath}/../../../../../../devices/MIMX8MQ6/utilities/debug_console_lite
${ProjDirPath}/../../../../../../devices/MIMX8MQ6/drivers
${ProjDirPath}/../../../../../../devices/MIMX8MQ6/cmsis_drivers
${ProjDirPath}/../../../../../../devices/MIMX8MQ6
${ProjDirPath}/../../../../../../components/uart
${ProjDirPath}/../../../../../../components/lists
${ProjDirPath}/../../../../../../CMSIS/Core/Include
${ProjDirPath}/../../../../../../CMSIS/Driver/Include
${ProjDirPath}/../../../../../../devices/MIMX8MQ6/utilities
)

# include modules
include(utility_debug_console_lite_MIMX8MQ6)

include(utility_assert_lite_MIMX8MQ6)

include(driver_clock_MIMX8MQ6)

include(driver_cmsis_ecspi_MIMX8MQ6)

include(driver_common_MIMX8MQ6)

include(driver_rdc_MIMX8MQ6)

include(device_MIMX8MQ6_CMSIS_MIMX8MQ6)

include(component_iuart_adapter_MIMX8MQ6)

include(component_lists_MIMX8MQ6)

include(driver_iuart_MIMX8MQ6)

include(device_MIMX8MQ6_startup_MIMX8MQ6)

include(CMSIS_Include_core_cm_MIMX8MQ6)

include(driver_ecspi_MIMX8MQ6)

include(CMSIS_Driver_Include_SPI_MIMX8MQ6)

include(CMSIS_Driver_Include_Common_MIMX8MQ6)

include(utilities_misc_utilities_MIMX8MQ6)

include(device_MIMX8MQ6_system_MIMX8MQ6)


TARGET_LINK_LIBRARIES(${MCUX_SDK_PROJECT_NAME} PRIVATE -Wl,--start-group)

target_link_libraries(${MCUX_SDK_PROJECT_NAME} PRIVATE m)

target_link_libraries(${MCUX_SDK_PROJECT_NAME} PRIVATE c)

target_link_libraries(${MCUX_SDK_PROJECT_NAME} PRIVATE gcc)

target_link_libraries(${MCUX_SDK_PROJECT_NAME} PRIVATE nosys)

TARGET_LINK_LIBRARIES(${MCUX_SDK_PROJECT_NAME} PRIVATE -Wl,--end-group)

ADD_CUSTOM_COMMAND(TARGET ${MCUX_SDK_PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_OBJCOPY}
-Obinary ${EXECUTABLE_OUTPUT_PATH}/${MCUX_SDK_PROJECT_NAME} ${EXECUTABLE_OUTPUT_PATH}/cmsis_ecspi_int_loopback_transfer.bin)

Loading

0 comments on commit 5e1986e

Please sign in to comment.