RTE_Device.h file

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

RTE_Device.h file

3,845 次查看
tomsong
Contributor III

Hi,

      In the imported example project evkmimxrt1020_cmsis_lpspi_edma_b2b_transfer_master there is a file "RTE_Device.h" under board directory.  I wonder what is the main purpose of this file? What is RTE stand for? If I create a new project how can I make sure it is generated correctly or should I write the file myself?

    Thanks!

0 项奖励
回复
6 回复数

3,361 次查看
jimmychan
NXP TechSupport
NXP TechSupport

RTE is  Run-Time Environment. When you open it, you can see it is used to configure the DMA setting of SPI 1,2,3,4. You can modify it base on your needs. 

0 项奖励
回复

2,034 次查看
SimoneSciarretta
Contributor I

Could you explain what you mean for "You can modify it base on your needs"? I have problems modifying this file...every time I modify this file RTE_Device.h, then i develop my project, maybe adding some drivers from SDK Management, the MCUXpresso environment regenerate this RTE_Device.h overwriting all my changes... Can I avoid this?

0 项奖励
回复

3,361 次查看
tomsong
Contributor III

Here is the attchment file.

On Wednesday, August 8, 2018, 12:27:47 AM EDT, jimmychan <admin@community.nxp.com> wrote:

#yiv4049725910 * #yiv4049725910 a #yiv4049725910 body {font-family:Helvetica, Arial, sans-serif;}#yiv4049725910 #yiv4049725910 h1, #yiv4049725910 h2, #yiv4049725910 h3, #yiv4049725910 h4, #yiv4049725910 h5, #yiv4049725910 h6, #yiv4049725910 p, #yiv4049725910 hr {}#yiv4049725910 .yiv4049725910button td {}

|

NXP Community

|

Re: RTE_Device.h file

reply from jimmychan in i.MX Processors - View the full discussion

RTE is  Run-Time Environment. When you open it, you can see it is used to configure the DMA setting of SPI 1,2,3,4. You can modify it base on your needs. 

Reply to this message by replying to this email, or go to the message on NXP Community

Start a new discussion in i.MX Processors by email or at NXP Community

Following Re: RTE_Device.h file in these streams: Inbox

This email was sent by NXP Community because you are a registered user.

You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences

0 项奖励
回复

3,361 次查看
tomsong
Contributor III

Hi,

     Thanks for your explanation! I wonder how can I make sure this file is generated? For example if I just select edma in SDK components this file is not generated. If I also select CMSIS driver-> Device->SDK CMSIS drivers->lpspi_cmsis this file is generated. But the file is only for USART not for the SPI. Please see the attached file. 

0 项奖励
回复

3,361 次查看
jimmychan
NXP TechSupport
NXP TechSupport

In the example folder, there is the corresponding RTE_Device.h for that exampe.

e.g. SDK_MIMXRT1052xxxxx\boards\evkbimxrt1050\cmsis_driver_examples\lpspi\edma_b2b_transfer\master

0 项奖励
回复

3,361 次查看
tomsong
Contributor III

Hi Jimmy,

     I can find and open the RTE_Device.h file in the example. I have the following questions:

     1. Some example projects have the RTE_Device.h file but the others don't. What configuration determines if this file is generated or not?

     

     2. You mentioned RTE is  Run-Time Environment and the file is used to configure the DMA setting of SPI 1,2,3,4. Is the only purpose of this file or it may be used for other configurations?

     3. For a new project if I select CMSIS driver-> Device->SDK CMSIS drivers->lpspi_cmsis this file is generated. But the file only contains configurations for USART not for the SPI. 

     Thanks!

0 项奖励
回复