rt-thread-official/bsp/imxrt/imxrt1052-nxp-evk
Tangyuxin d724eed9fc
分离内存分配接口与内存分配算法 (#5175)
* [kernel][mem] Multiple instances of small memory allocation algorithm

* [kernel][mem] Change small memory management algorithm memory header flag

* [kernel][mem] Fix assertion problem

* [kernel][slab] Multiple instances of slab memory management algorithm

* [kernel][memheap] Remove rt_malloc/rt_free/rt_realloc and other related memory interfaces

* [kernel][mem] Clean up memory space of small memory management objects

* [kernel][kservice] Add memory application interface and thread protection interface

* [kernel][kservice] Fix function return value problem

* [kernel][memheap] Optimize memheaptrace print

* [kernel][memheap] Support best mode

* [kernel][memory] Remove semaphore lock

* [kernel][memheap] Add locked flag

* [kernel][memory] Support malloc memory in interrupt

* [kernel][memheap] Add 'memheapcheck' cmd

* [kernel][mem] Fix failure to request full memory

* [kernel][memheap] Fix compilation warning

* [kernel][mem] Fix mem realloc ASSERT

* [examples][testcases] Add small mem testcase

* [examples][mem_tc] Modify test memory size

* [examples][testcases] Add slab memory management algorithm test case

* [examples][testcases] fix small memory management algorithm test case

* [kernel][memory] Adjusting memory allocation algorithm object definition and interface

* [kernel][memory] Fix compilation warning

* [examples][utest] Fix mem test case

* [examples][utest] fix slab test case

* [utest][testcases] Shorten test time

* [kernel][memory] Formatting code

* [examples][utest] Adjust test run time

* [examples][utest] Formatting code

* [bsp] update all rtconfig.h
2021-12-16 16:23:58 +08:00
..
applications imxrt:enet: Support imxrt ethernet interface 2019-09-19 11:21:42 +08:00
board 修复board/Kconfig的错误 2021-05-03 09:28:03 +08:00
figures [bsp/nxp] add new imxrt series 2019-06-13 14:08:36 +08:00
xip [bsp/nxp] add new imxrt series 2019-06-13 14:08:36 +08:00
.config 分离内存分配接口与内存分配算法 (#5175) 2021-12-16 16:23:58 +08:00
Kconfig [bsp/nxp] add new imxrt series 2019-06-13 14:08:36 +08:00
README.md Update BSP README with EN Version. 2020-09-09 18:22:26 +08:00
README_zh.md Update BSP README with EN Version. 2020-09-09 18:22:26 +08:00
SConscript [bsp/nxp] add new imxrt series 2019-06-13 14:08:36 +08:00
SConstruct Revert "Fix compiler flags issue" 2021-10-14 14:36:18 +08:00
project.ewd [bsp/nxp] add new imxrt series 2019-06-13 14:08:36 +08:00
project.ewp 分离内存分配接口与内存分配算法 (#5175) 2021-12-16 16:23:58 +08:00
project.eww [bsp/nxp] add new imxrt series 2019-06-13 14:08:36 +08:00
project.uvoptx [bsp] update project configure file for finsh component change 2019-09-26 15:40:13 +08:00
project.uvprojx 分离内存分配接口与内存分配算法 (#5175) 2021-12-16 16:23:58 +08:00
rtconfig.h 分离内存分配接口与内存分配算法 (#5175) 2021-12-16 16:23:58 +08:00
rtconfig.py fixed gcc assembly option and objcopy option in rtconfig.py for imxrt1052-nxp-evk 2020-08-06 18:03:15 +08:00
template.ewd [bsp/nxp] add new imxrt series 2019-06-13 14:08:36 +08:00
template.ewp [bsp/nxp] add new imxrt series 2019-06-13 14:08:36 +08:00
template.ewt [bsp/nxp] add new imxrt series 2019-06-13 14:08:36 +08:00
template.eww [bsp/nxp] add new imxrt series 2019-06-13 14:08:36 +08:00
template.uvoptx [bsp/nxp] add new imxrt series 2019-06-13 14:08:36 +08:00
template.uvprojx [bsp/nxp] add new imxrt series 2019-06-13 14:08:36 +08:00

README.md

NXP i. MX RT1050 EVK BSP(Board Support Package) Execution Instruction.

中文页 |

Introduction

This document records the execution instruction of the BSP (board support package) provided by the RT-Thread development team for the NXP i. MX RT1050 EVK development board.

The document is covered in three parts:

  • NXP i. MX RT1050 EVK Board Resources Introduction
  • Quickly Get Started
  • Advanced Features

By reading the Quickly Get Started section developers can quickly get their hands on this BSP and run RT-Thread on the board. More advanced features will be introduced in the Advanced Features section to help developers take advantage of RT-Thread to drive more on-board resources.

Board Resources Introduction

The i.MX RT1050 EVK is a development board based on ARM Cortex-M7. The maximum main frequency is 600 MHz, and it has a wealth of on-board resources that can take full advantage of the RT1052's chip performance.

board

The mainly-used resources of this board are shown as follows:

  • MCU: MIMXRT1052DVL6A. Main Frequency 600MHz,
  • Memory: 256MB SDRAM、512MB Hyper FLASH
  • Common-used peripherals:
    • Motion Sensors: FXOS8700CQ
    • LED
  • Common-used interfaces: USB、SD Card、Ethernet、LCD、Camera.
  • Debug interface: Standard JTAG/SWD. For more details about this board, please refer to nxp.com

Peripheral Condition

Each peripheral supporting condition for this BSP is as follows:

On-chip Peripheral Support Remark
GPIO Support
UART Support UART1

Execution Instruction

Quickly Get Started

This BSP provides MDK 5 and IAR projects for developers and it supports the GCC development environment. Here's an example of the MDK5 development environment, to introduce how to run the system.

Hardware Connection

Use a USB cable to connect the development board to the PC and turn on the power switch.

Compile and Download

Double-click the project.uvprojx file, to open the MDK 5 project, compile and download the project to the board.

By default, the project uses the CMSIS-DAP to download the program, when the CMSIS-DAP connects the board, clicking the download button can download the program to the board.

Running Results

Once the project is successfully downloaded, the system runs automatically. The green LED on the board will flash periodically.

Connect the serial port of the board to the PC, communicate with it via a serial terminal tool(115200-8-1-N). Reset the board and the startup information of RT-Thread will be observed:

 \ | /
- RT -     Thread Operating System
 / | \     4.0.1 build May 5 2019
 2006 - 2019 Copyright by rt-thread team

Advanced Features

This BSP only enables GPIO and serial port 1 by default. If you need more advanced features, you need to configure the BSP with RT-Thread Env tools, as follows:

  1. Open the env tool under BSP;
  2. Enter menuconfig command to configure the project, then save and exit;
  3. Enter pkgs --update command to update the package;
  4. Enter scons --target=mdk4/mdk5/iar command to regenerate the project.

Learn how to use RT-Thread Env, click Here.