GithubHelp home page GithubHelp logo

litao59 / ksdk2_mcimxrt1052 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sphinxevk/ksdk2_mcimxrt1052

0.0 0.0 0.0 39.69 MB

A templete IAR project based on MCUXpressoSDK 2.3 for IMX.RT1052

License: MIT License

C++ 4.74% C 94.83% Assembly 0.19% Batchfile 0.05% Shell 0.01% HTML 0.07% Makefile 0.03% Perl 0.03% CSS 0.01% JavaScript 0.01% PowerShell 0.05%

ksdk2_mcimxrt1052's Introduction

KSDK2_MCIMXRT1052

本项目为RT1052的IAR模板工程,采用了类似KSDK2_KV58-IAR-project repo里的文件组织结构,上电后核心工作在600Mhz。

硬件上,本工程基于我和网友Stackoverflow共同开发的SphinxEVK iMX RT1052开发板,使用24Mhz晶振。片外存储器主要使用的是Winbond W25Q256JVEQ,但同时也预留了SDRAM和兼容Hyperflash、OctaFlash的FlexSPI接口,可通过Boot开关[0010]->[0110]选择启动源。

软件上,本工程基于MCUXpressoSDK2.3.1驱动(/Library/MCUXpressoSDK),同时打包封装了CMSIS数学库、CMSIS-DSP库(/Library/CMSIS),并且添加了一些NXP提供的中间件软件(/Middleware)。本工程通过对GPIO_B0_15进行编程,实现了LED闪烁。

为了节约编译时间,IAR工程中并未添加所有的.c文件。如需用到其他外设驱动功能,请依照路径自行添加源代码文件。

注:下载算法使用了开发者自己编写的flashloader,目前仅适配Winbond W25QxxxJV系列和EVK同款Hyperflash。如需挂载其他型号的QSPI-Flash,请参照IMXRT_IARFlashloader里的文件,添加设备描述和FlexBus LUT表,自行编译对应的flashloader。

/App/: 用于放置自己编写的应用程序。

/Board/: 用于存放板级支持文件,比如管脚复用、时钟初始化,以及外设驱动配置。

/Drivers/: 用于存放自己编写的硬件驱动程序,如LCD、陀螺仪,etc。

/iar/: IAR工程根目录$PROJ_DIR$所在地址。存放了IAR工程的配置文件,以及工程中使用到的Linker配置文件和flashloader。

/Library/: NXP和ARM提供的驱动库,绝大多数文件ReadOnly。

/Middleware/: NXP提供的中间件文件。

/SEGGER/: SEGGER提供的RTT文件,可用于在线调试。

/Xip/: iMX.RT片外执行必须依赖的一些文件。除非特别了解,否则不要修改。

V0.4 添加CSI设备框架及MT9V034支持,采集了全分辨率数据并存放在SDRAM的最后8MByte(non-cacheable)空间。


第一次编译必读

  1. 确认IAR版本高于8.22
  2. 将IAR安装目录下的 /arm/CMSIS/Core/Include/cmsis_iccarm.h/ 拷贝至 /arm/inc/c/
  3. 删除 /arm/inc/c/cmsis_iar.h,将新拷贝的cmsis_iccarm.h重命名为cmsis_iar.h
  4. 打开repo下的快捷方式KSDK2_MCIMXRT1052.eww 进入IAR后make(F7),结束。

ksdk2_mcimxrt1052's People

Contributors

alexyzhov avatar xujunjie96 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.