forked from xuos/xiuos
imxrt1052-ok rename as xidatong
This commit is contained in:
parent
76db961420
commit
91594e0e87
|
@ -3,21 +3,21 @@
|
||||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||||
#
|
#
|
||||||
|
|
||||||
if ARCH_BOARD_IMXRT1052_OK
|
if ARCH_BOARD_XIDATONG
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Boot Flash"
|
prompt "Boot Flash"
|
||||||
default IMXRT1052_OK_HYPER_FLASH
|
default XIDATONG_HYPER_FLASH
|
||||||
|
|
||||||
config IMXRT1052_OK_HYPER_FLASH
|
config XIDATONG_HYPER_FLASH
|
||||||
bool "HYPER Flash"
|
bool "HYPER Flash"
|
||||||
|
|
||||||
config IMXRT1052_OK_QSPI_FLASH
|
config XIDATONG_QSPI_FLASH
|
||||||
bool "QSPI Flash"
|
bool "QSPI Flash"
|
||||||
|
|
||||||
endchoice # Boot Flash
|
endchoice # Boot Flash
|
||||||
|
|
||||||
config IMXRT1052_OK_SDRAM
|
config XIDATONG_SDRAM
|
||||||
bool "Enable SDRAM"
|
bool "Enable SDRAM"
|
||||||
default n
|
default n
|
||||||
select IMXRT_SEMC_INIT_DONE
|
select IMXRT_SEMC_INIT_DONE
|
|
@ -1,5 +1,5 @@
|
||||||
############################################################################
|
############################################################################
|
||||||
# boards/arm/imxrt/imxrt1052-ok/configs/knsh/Make.defs
|
# boards/arm/imxrt/xidatong/configs/knsh/Make.defs
|
||||||
#
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
# contributor license agreements. See the NOTICE file distributed with
|
|
@ -8,8 +8,8 @@
|
||||||
# CONFIG_ARCH_RAMFUNCS is not set
|
# CONFIG_ARCH_RAMFUNCS is not set
|
||||||
CONFIG_ADD_NUTTX_FETURES=y
|
CONFIG_ADD_NUTTX_FETURES=y
|
||||||
CONFIG_ARCH="arm"
|
CONFIG_ARCH="arm"
|
||||||
CONFIG_ARCH_BOARD="imxrt1052-ok"
|
CONFIG_ARCH_BOARD="xidatong"
|
||||||
CONFIG_ARCH_BOARD_IMXRT1052_OK=y
|
CONFIG_ARCH_BOARD_XIDATONG=y
|
||||||
CONFIG_ARCH_CHIP="imxrt"
|
CONFIG_ARCH_CHIP="imxrt"
|
||||||
CONFIG_ARCH_CHIP_IMXRT=y
|
CONFIG_ARCH_CHIP_IMXRT=y
|
||||||
CONFIG_ARCH_CHIP_MIMXRT1052CVL5B=y
|
CONFIG_ARCH_CHIP_MIMXRT1052CVL5B=y
|
||||||
|
@ -34,7 +34,7 @@ CONFIG_NSH_FILEIOSIZE=512
|
||||||
CONFIG_NSH_LINELEN=64
|
CONFIG_NSH_LINELEN=64
|
||||||
CONFIG_NSH_READLINE=y
|
CONFIG_NSH_READLINE=y
|
||||||
CONFIG_NUTTX_USERSPACE=0x60200000
|
CONFIG_NUTTX_USERSPACE=0x60200000
|
||||||
CONFIG_PASS1_BUILDIR="boards/arm/imxrt/imxrt1052-ok/kernel"
|
CONFIG_PASS1_BUILDIR="boards/arm/imxrt/xidatong/kernel"
|
||||||
CONFIG_RAM_SIZE=524288
|
CONFIG_RAM_SIZE=524288
|
||||||
CONFIG_RAM_START=0x20200000
|
CONFIG_RAM_START=0x20200000
|
||||||
CONFIG_SCHED_HPWORK=y
|
CONFIG_SCHED_HPWORK=y
|
|
@ -1,5 +1,5 @@
|
||||||
############################################################################
|
############################################################################
|
||||||
# boards/arm/imxrt/imxrt1052-ok/configs/libcxxtest/Make.defs
|
# boards/arm/imxrt/xidatong/configs/libcxxtest/Make.defs
|
||||||
#
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
# contributor license agreements. See the NOTICE file distributed with
|
|
@ -7,8 +7,8 @@
|
||||||
#
|
#
|
||||||
CONFIG_ADD_NUTTX_FETURES=y
|
CONFIG_ADD_NUTTX_FETURES=y
|
||||||
CONFIG_ARCH="arm"
|
CONFIG_ARCH="arm"
|
||||||
CONFIG_ARCH_BOARD="imxrt1052-ok"
|
CONFIG_ARCH_BOARD="xidatong"
|
||||||
CONFIG_ARCH_BOARD_IMXRT1052_OK=y
|
CONFIG_ARCH_BOARD_XIDATONG=y
|
||||||
CONFIG_ARCH_CHIP="imxrt"
|
CONFIG_ARCH_CHIP="imxrt"
|
||||||
CONFIG_ARCH_CHIP_IMXRT=y
|
CONFIG_ARCH_CHIP_IMXRT=y
|
||||||
CONFIG_ARCH_CHIP_MIMXRT1052CVL5B=y
|
CONFIG_ARCH_CHIP_MIMXRT1052CVL5B=y
|
|
@ -8,8 +8,8 @@
|
||||||
# CONFIG_ARCH_LEDS is not set
|
# CONFIG_ARCH_LEDS is not set
|
||||||
CONFIG_ADD_NUTTX_FETURES=y
|
CONFIG_ADD_NUTTX_FETURES=y
|
||||||
CONFIG_ARCH="arm"
|
CONFIG_ARCH="arm"
|
||||||
CONFIG_ARCH_BOARD="imxrt1052-ok"
|
CONFIG_ARCH_BOARD="xidatong"
|
||||||
CONFIG_ARCH_BOARD_IMXRT1052_OK=y
|
CONFIG_ARCH_BOARD_XIDATONG=y
|
||||||
CONFIG_ARCH_CHIP="imxrt"
|
CONFIG_ARCH_CHIP="imxrt"
|
||||||
CONFIG_ARCH_CHIP_IMXRT=y
|
CONFIG_ARCH_CHIP_IMXRT=y
|
||||||
CONFIG_ARCH_CHIP_MIMXRT1052CVL5B=y
|
CONFIG_ARCH_CHIP_MIMXRT1052CVL5B=y
|
|
@ -7,8 +7,8 @@
|
||||||
#
|
#
|
||||||
CONFIG_ADD_NUTTX_FETURES=y
|
CONFIG_ADD_NUTTX_FETURES=y
|
||||||
CONFIG_ARCH="arm"
|
CONFIG_ARCH="arm"
|
||||||
CONFIG_ARCH_BOARD="imxrt1052-ok"
|
CONFIG_ARCH_BOARD="xidatong"
|
||||||
CONFIG_ARCH_BOARD_IMXRT1052_OK=y
|
CONFIG_ARCH_BOARD_XIDATONG=y
|
||||||
CONFIG_ARCH_CHIP="imxrt"
|
CONFIG_ARCH_CHIP="imxrt"
|
||||||
CONFIG_ARCH_CHIP_IMXRT=y
|
CONFIG_ARCH_CHIP_IMXRT=y
|
||||||
CONFIG_ARCH_CHIP_MIMXRT1052CVL5B=y
|
CONFIG_ARCH_CHIP_MIMXRT1052CVL5B=y
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/include/board.h
|
* boards/arm/imxrt/xidatong/include/board.h
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
@ -27,8 +27,8 @@
|
||||||
* @date 2022-03-23
|
* @date 2022-03-23
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __BOARDS_ARM_IMXRT_IMXRT1052_OK_INCLUDE_BOARD_H
|
#ifndef __BOARDS_ARM_IMXRT_XIDATONG_INCLUDE_BOARD_H
|
||||||
#define __BOARDS_ARM_IMXRT_IMXRT1052_OK_INCLUDE_BOARD_H
|
#define __BOARDS_ARM_IMXRT_XIDATONG_INCLUDE_BOARD_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
|
@ -364,4 +364,4 @@ extern "C"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
#endif /* __BOARDS_ARM_IMXRT_IMXRT1052_OK_INCLUDE_BOARD_H */
|
#endif /* __BOARDS_ARM_IMXRT_XIDATONG_INCLUDE_BOARD_H */
|
|
@ -1,5 +1,5 @@
|
||||||
############################################################################
|
############################################################################
|
||||||
# boards/arm/imxrt/imxrt1052-ok/kernel/Makefile
|
# boards/arm/imxrt/xidatong/kernel/Makefile
|
||||||
#
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
# contributor license agreements. See the NOTICE file distributed with
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/kernel/imxrt_userspace.c
|
* boards/arm/imxrt/xidatong/kernel/imxrt_userspace.c
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
|
@ -1,5 +1,5 @@
|
||||||
############################################################################
|
############################################################################
|
||||||
# boards/arm/imxrt/imxrt1052-ok/scripts/Make.defs
|
# boards/arm/imxrt/xidatong/scripts/Make.defs
|
||||||
#
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
# contributor license agreements. See the NOTICE file distributed with
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/scripts/flash-ocram.ld
|
* boards/arm/imxrt/xidatong/scripts/flash-ocram.ld
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/scripts/kernel-space.ld
|
* boards/arm/imxrt/xidatong/scripts/kernel-space.ld
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/scripts/memory.ld
|
* boards/arm/imxrt/xidatong/scripts/memory.ld
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/scripts/user-space.ld
|
* boards/arm/imxrt/xidatong/scripts/user-space.ld
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
|
@ -1,5 +1,5 @@
|
||||||
############################################################################
|
############################################################################
|
||||||
# boards/arm/imxrt/imxrt1052-ok/src/Makefile
|
# boards/arm/imxrt/xidatong/src/Makefile
|
||||||
#
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
# contributor license agreements. See the NOTICE file distributed with
|
||||||
|
@ -62,7 +62,7 @@ ifeq ($(CONFIG_DEV_GPIO),y)
|
||||||
CSRCS += imxrt_gpio.c
|
CSRCS += imxrt_gpio.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_IMXRT1052_OK_SDRAM),y)
|
ifeq ($(CONFIG_XIDATONG_SDRAM),y)
|
||||||
CSRCS += imxrt_sdram_ini_dcd.c
|
CSRCS += imxrt_sdram_ini_dcd.c
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/src/imxrt_appinit.c
|
* boards/arm/imxrt/xidatong/src/imxrt_appinit.c
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
#include <nuttx/board.h>
|
#include <nuttx/board.h>
|
||||||
|
|
||||||
#include "imxrt1052-ok.h"
|
#include "xidatong.h"
|
||||||
|
|
||||||
#ifdef CONFIG_BOARDCTL
|
#ifdef CONFIG_BOARDCTL
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/src/imxrt_autoleds.c
|
* boards/arm/imxrt/xidatong/src/imxrt_autoleds.c
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
|
|
||||||
#include "imxrt_gpio.h"
|
#include "imxrt_gpio.h"
|
||||||
#include "imxrt_iomuxc.h"
|
#include "imxrt_iomuxc.h"
|
||||||
#include "imxrt1052-ok.h"
|
#include "xidatong.h"
|
||||||
|
|
||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/src/imxrt_boot.c
|
* boards/arm/imxrt/xidatong/src/imxrt_boot.c
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
#include "imxrt_start.h"
|
#include "imxrt_start.h"
|
||||||
#include "imxrt1052-ok.h"
|
#include "xidatong.h"
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Functions
|
* Public Functions
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/src/imxrt_bringup.c
|
* boards/arm/imxrt/xidatong/src/imxrt_bringup.c
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
# include "imxrt_usdhc.h"
|
# include "imxrt_usdhc.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "imxrt1052-ok.h"
|
#include "xidatong.h"
|
||||||
|
|
||||||
#include <arch/board/board.h> /* Must always be included last */
|
#include <arch/board/board.h> /* Must always be included last */
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/src/imxrt_buttons.c
|
* boards/arm/imxrt/xidatong/src/imxrt_buttons.c
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
#include "imxrt_config.h"
|
#include "imxrt_config.h"
|
||||||
#include "imxrt_irq.h"
|
#include "imxrt_irq.h"
|
||||||
#include "imxrt_gpio.h"
|
#include "imxrt_gpio.h"
|
||||||
#include "imxrt1052-ok.h"
|
#include "xidatong.h"
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_BUTTONS
|
#ifdef CONFIG_ARCH_BUTTONS
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/src/imxrt_ethernet.c
|
* boards/arm/imxrt/xidatong/src/imxrt_ethernet.c
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
#include "imxrt_gpio.h"
|
#include "imxrt_gpio.h"
|
||||||
#include "imxrt_enet.h"
|
#include "imxrt_enet.h"
|
||||||
|
|
||||||
#include "imxrt1052-ok.h"
|
#include "xidatong.h"
|
||||||
|
|
||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/src/imxrt_flexspi_nor_boot.c
|
* boards/arm/imxrt/xidatong/src/imxrt_flexspi_nor_boot.c
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/src/imxrt_flexspi_nor_boot.h
|
* boards/arm/imxrt/xidatong/src/imxrt_flexspi_nor_boot.h
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
@ -27,8 +27,8 @@
|
||||||
* @date 2022-03-23
|
* @date 2022-03-23
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __BOARDS_ARM_IMXRT_IMXRT1052_OK_SRC_IMXRT_FLEXSPI_NOR_BOOT_H
|
#ifndef __BOARDS_ARM_IMXRT_XIDATONG_SRC_IMXRT_FLEXSPI_NOR_BOOT_H
|
||||||
#define __BOARDS_ARM_IMXRT_IMXRT1052_OK_SRC_IMXRT_FLEXSPI_NOR_BOOT_H
|
#define __BOARDS_ARM_IMXRT_XIDATONG_SRC_IMXRT_FLEXSPI_NOR_BOOT_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
#define FLASH_END 0x7f7fffff
|
#define FLASH_END 0x7f7fffff
|
||||||
#define SCLK 1
|
#define SCLK 1
|
||||||
|
|
||||||
#ifdef CONFIG_IMXRT1052_OK_SDRAM
|
#ifdef CONFIG_XIDATONG_SDRAM
|
||||||
# define DCD_ADDRESS &g_dcd_data
|
# define DCD_ADDRESS &g_dcd_data
|
||||||
#else
|
#else
|
||||||
# define DCD_ADDRESS 0
|
# define DCD_ADDRESS 0
|
||||||
|
@ -144,8 +144,8 @@ struct boot_data_s
|
||||||
|
|
||||||
extern const struct boot_data_s g_boot_data;
|
extern const struct boot_data_s g_boot_data;
|
||||||
|
|
||||||
#ifdef CONFIG_IMXRT1052_OK_SDRAM
|
#ifdef CONFIG_XIDATONG_SDRAM
|
||||||
extern const uint8_t g_dcd_data[];
|
extern const uint8_t g_dcd_data[];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __BOARDS_ARM_IMXRT_IMXRT1052_OK_SRC_IMXRT_FLEXSPI_NOR_BOOT_H */
|
#endif /* __BOARDS_ARM_IMXRT_XIDATONG_SRC_IMXRT_FLEXSPI_NOR_BOOT_H */
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/src/imxrt_flexspi_nor_flash.c
|
* boards/arm/imxrt/xidatong/src/imxrt_flexspi_nor_flash.c
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
* Public Data
|
* Public Data
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#if defined (CONFIG_IMXRT1052_OK_HYPER_FLASH)
|
#if defined (CONFIG_XIDATONG_HYPER_FLASH)
|
||||||
locate_data(".boot_hdr.conf")
|
locate_data(".boot_hdr.conf")
|
||||||
const struct flexspi_nor_config_s g_flash_config =
|
const struct flexspi_nor_config_s g_flash_config =
|
||||||
{
|
{
|
||||||
|
@ -84,7 +84,7 @@ const struct flexspi_nor_config_s g_flash_config =
|
||||||
.is_uniform_blocksize = 1,
|
.is_uniform_blocksize = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
#elif defined (CONFIG_IMXRT1052_OK_QSPI_FLASH)
|
#elif defined (CONFIG_XIDATONG_QSPI_FLASH)
|
||||||
locate_data(".boot_hdr.conf")
|
locate_data(".boot_hdr.conf")
|
||||||
const struct flexspi_nor_config_s g_flash_config =
|
const struct flexspi_nor_config_s g_flash_config =
|
||||||
{
|
{
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/src/imxrt_flexspi_nor_flash.h
|
* boards/arm/imxrt/xidatong/src/imxrt_flexspi_nor_flash.h
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
@ -27,8 +27,8 @@
|
||||||
* @date 2022-03-23
|
* @date 2022-03-23
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __BOARDS_ARM_IMXRT_IMXRT1052_OK_SRC_IMXRT_FLEXSPI_NOR_FLASH_H
|
#ifndef __BOARDS_ARM_IMXRT_XIDATONG_SRC_IMXRT_FLEXSPI_NOR_FLASH_H
|
||||||
#define __BOARDS_ARM_IMXRT_IMXRT1052_OK_SRC_IMXRT_FLEXSPI_NOR_FLASH_H
|
#define __BOARDS_ARM_IMXRT_XIDATONG_SRC_IMXRT_FLEXSPI_NOR_FLASH_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
|
@ -356,4 +356,4 @@ struct flexspi_nor_config_s
|
||||||
uint32_t reserve2[11]; /* Reserved for future use */
|
uint32_t reserve2[11]; /* Reserved for future use */
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* __BOARDS_ARM_IMXRT_IMXRT1052_OK_SRC_IMXRT_FLEXSPI_NOR_FLASH_H */
|
#endif /* __BOARDS_ARM_IMXRT_XIDATONG_SRC_IMXRT_FLEXSPI_NOR_FLASH_H */
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/src/imxrt_gpio.c
|
* boards/arm/imxrt/xidatong/src/imxrt_gpio.c
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
|
|
||||||
#include <imxrt_gpio.h>
|
#include <imxrt_gpio.h>
|
||||||
#include "imxrt1052-ok.h"
|
#include "xidatong.h"
|
||||||
|
|
||||||
#if defined(CONFIG_DEV_GPIO) && !defined(CONFIG_GPIO_LOWER_HALF)
|
#if defined(CONFIG_DEV_GPIO) && !defined(CONFIG_GPIO_LOWER_HALF)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/src/imxrt_lcd.c
|
* boards/arm/imxrt/xidatong/src/imxrt_lcd.c
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
#include "imxrt_lcd.h"
|
#include "imxrt_lcd.h"
|
||||||
#include "imxrt_gpio.h"
|
#include "imxrt_gpio.h"
|
||||||
|
|
||||||
#include "imxrt1052-ok.h"
|
#include "xidatong.h"
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Functions
|
* Public Functions
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/src/imxrt_mmcsd_spi.c
|
* boards/arm/imxrt/xidatong/src/imxrt_mmcsd_spi.c
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/src/imxrt_sdram_ini_dcd.c
|
* boards/arm/imxrt/xidatong/src/imxrt_sdram_ini_dcd.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2017, NXP Semiconductors, Inc.
|
* Copyright (C) 2017, NXP Semiconductors, Inc.
|
||||||
*
|
*
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/src/imxrt_spi.c
|
* boards/arm/imxrt/xidatong/src/imxrt_spi.c
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
#include "imxrt_config.h"
|
#include "imxrt_config.h"
|
||||||
#include "imxrt_lpspi.h"
|
#include "imxrt_lpspi.h"
|
||||||
#include "imxrt_gpio.h"
|
#include "imxrt_gpio.h"
|
||||||
#include "imxrt1052-ok.h"
|
#include "xidatong.h"
|
||||||
|
|
||||||
#if defined(CONFIG_IMXRT_LPSPI1) || defined(CONFIG_IMXRT_LPSPI2) || \
|
#if defined(CONFIG_IMXRT_LPSPI1) || defined(CONFIG_IMXRT_LPSPI2) || \
|
||||||
defined(CONFIG_IMXRT_LPSPI3) || defined(CONFIG_IMXRT_LPSPI4)
|
defined(CONFIG_IMXRT_LPSPI3) || defined(CONFIG_IMXRT_LPSPI4)
|
||||||
|
@ -59,7 +59,7 @@
|
||||||
* Name: imxrt_spidev_initialize
|
* Name: imxrt_spidev_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Called to configure SPI chip select GPIO pins for the imxrt1052-ok
|
* Called to configure SPI chip select GPIO pins for the xidatong
|
||||||
* board.
|
* board.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/src/imxrt_userleds.c
|
* boards/arm/imxrt/xidatong/src/imxrt_userleds.c
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
|
|
||||||
#include "imxrt_gpio.h"
|
#include "imxrt_gpio.h"
|
||||||
#include "imxrt_iomuxc.h"
|
#include "imxrt_iomuxc.h"
|
||||||
#include "imxrt1052-ok.h"
|
#include "xidatong.h"
|
||||||
|
|
||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* boards/arm/imxrt/imxrt1052-ok/src/imxrt1052-ok.h
|
* boards/arm/imxrt/xidatong/src/xidatong.h
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file imxrt1052-ok.h
|
* @file xidatong.h
|
||||||
* @brief nuttx source code
|
* @brief nuttx source code
|
||||||
* https://github.com/apache/incubator-nuttx.git
|
* https://github.com/apache/incubator-nuttx.git
|
||||||
* @version 10.2.0
|
* @version 10.2.0
|
||||||
|
@ -27,8 +27,8 @@
|
||||||
* @date 2022-03-23
|
* @date 2022-03-23
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __BOARDS_ARM_IMXRT_IMXRT1052_OK_SRC_IMXRT1052_OK_H
|
#ifndef __BOARDS_ARM_IMXRT_XIDATONG_SRC_XIDATONG_H
|
||||||
#define __BOARDS_ARM_IMXRT_IMXRT1052_OK_SRC_IMXRT1052_OK_H
|
#define __BOARDS_ARM_IMXRT_XIDATONG_SRC_XIDATONG_H
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
|
@ -199,4 +199,4 @@ int imxrt_gpio_initialize(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
#endif /* __BOARDS_ARM_IMXRT_IMXRT1052_OK_SRC_IMXRT1052_OK_H */
|
#endif /* __BOARDS_ARM_IMXRT_XIDATONG_SRC_XIDATONG_H */
|
|
@ -18,6 +18,6 @@ cp -rf $current/nuttx $nuttx
|
||||||
cp -rf $current/apps $nuttx
|
cp -rf $current/apps $nuttx
|
||||||
cp -rf $nuttx/aiit_board/aiit-arm32-board $nuttx/nuttx/boards/arm/stm32
|
cp -rf $nuttx/aiit_board/aiit-arm32-board $nuttx/nuttx/boards/arm/stm32
|
||||||
cp -rf $nuttx/aiit_board/aiit-riscv64-board $nuttx/nuttx/boards/risc-v/k210
|
cp -rf $nuttx/aiit_board/aiit-riscv64-board $nuttx/nuttx/boards/risc-v/k210
|
||||||
cp -rf $nuttx/aiit_board/imxrt1052-ok $nuttx/nuttx/boards/arm/imxrt
|
cp -rf $nuttx/aiit_board/xidatong $nuttx/nuttx/boards/arm/imxrt
|
||||||
|
|
||||||
cd ../nuttx
|
cd ../nuttx
|
||||||
|
|
|
@ -445,15 +445,15 @@ config ARCH_BOARD_IMXRT1050_EVK
|
||||||
This is the board configuration for the port of NuttX to the NXP i.MXRT
|
This is the board configuration for the port of NuttX to the NXP i.MXRT
|
||||||
evaluation kit, MIMXRT1050-EVKB. This board features the MIMXRT1052DVL6A MCU.
|
evaluation kit, MIMXRT1050-EVKB. This board features the MIMXRT1052DVL6A MCU.
|
||||||
|
|
||||||
config ARCH_BOARD_IMXRT1052_OK
|
config ARCH_BOARD_XIDATONG
|
||||||
bool "NXP i.MX RT 1052 OK"
|
bool "NXP i.MX RT 1052 XIDATONG"
|
||||||
depends on ARCH_CHIP_MIMXRT1052CVL5B
|
depends on ARCH_CHIP_MIMXRT1052CVL5B
|
||||||
select ARCH_HAVE_LEDS
|
select ARCH_HAVE_LEDS
|
||||||
select ARCH_HAVE_BUTTONS
|
select ARCH_HAVE_BUTTONS
|
||||||
select ARCH_HAVE_IRQBUTTONS
|
select ARCH_HAVE_IRQBUTTONS
|
||||||
---help---
|
---help---
|
||||||
This is the board configuration for the port of NuttX to the NXP i.MXRT
|
This is the board configuration for the port of NuttX to the NXP i.MXRT
|
||||||
evaluation kit, MIMXRT1052-OK. This board features the MIMXRT1052CVL5B MCU.
|
evaluation kit, MIMXRT1052-XIDATONG. This board features the MIMXRT1052CVL5B MCU.
|
||||||
|
|
||||||
config ARCH_BOARD_IMXRT1060_EVK
|
config ARCH_BOARD_IMXRT1060_EVK
|
||||||
bool "NXP i.MX RT 1060 EVK"
|
bool "NXP i.MX RT 1060 EVK"
|
||||||
|
@ -2392,7 +2392,7 @@ config ARCH_BOARD
|
||||||
default "hymini-stm32v" if ARCH_BOARD_HYMINI_STM32V
|
default "hymini-stm32v" if ARCH_BOARD_HYMINI_STM32V
|
||||||
default "imxrt1020-evk" if ARCH_BOARD_IMXRT1020_EVK
|
default "imxrt1020-evk" if ARCH_BOARD_IMXRT1020_EVK
|
||||||
default "imxrt1050-evk" if ARCH_BOARD_IMXRT1050_EVK
|
default "imxrt1050-evk" if ARCH_BOARD_IMXRT1050_EVK
|
||||||
default "imxrt1052-ok" if ARCH_BOARD_IMXRT1052_OK
|
default "xidatong" if ARCH_BOARD_XIDATONG
|
||||||
default "imxrt1060-evk" if ARCH_BOARD_IMXRT1060_EVK
|
default "imxrt1060-evk" if ARCH_BOARD_IMXRT1060_EVK
|
||||||
default "imxrt1064-evk" if ARCH_BOARD_IMXRT1064_EVK
|
default "imxrt1064-evk" if ARCH_BOARD_IMXRT1064_EVK
|
||||||
default "kwikstik-k40" if ARCH_BOARD_KWIKSTIK_K40
|
default "kwikstik-k40" if ARCH_BOARD_KWIKSTIK_K40
|
||||||
|
@ -2671,8 +2671,8 @@ endif
|
||||||
if ARCH_BOARD_IMXRT1050_EVK
|
if ARCH_BOARD_IMXRT1050_EVK
|
||||||
source "boards/arm/imxrt/imxrt1050-evk/Kconfig"
|
source "boards/arm/imxrt/imxrt1050-evk/Kconfig"
|
||||||
endif
|
endif
|
||||||
if ARCH_BOARD_IMXRT1052_OK
|
if ARCH_BOARD_XIDATONG
|
||||||
source "boards/arm/imxrt/imxrt1052-ok/Kconfig"
|
source "boards/arm/imxrt/xidatong/Kconfig"
|
||||||
endif
|
endif
|
||||||
if ARCH_BOARD_IMXRT1060_EVK
|
if ARCH_BOARD_IMXRT1060_EVK
|
||||||
source "boards/arm/imxrt/imxrt1060-evk/Kconfig"
|
source "boards/arm/imxrt/imxrt1060-evk/Kconfig"
|
||||||
|
|
Loading…
Reference in New Issue