I'm porting segger emwin demo from LPC54608 to i.MX RT,
I see LPC54608 has special setup of Flash_SDRAM__SPIFI_segger.sct.
It can make LPC54608 to run a huge code of emwin demo.
Is there similar .scf ready which can be used in i.MX RT 1050?
So I can run emwin without ram limitation.
#! armcc -E
#define Stack_Size 1024
#define Heap_Size 0
; must use "VECTOR_RAM", "RW_m_data", "VECTOR_ROM" as names to work with "InstallIRQHandler()" API
LR_Flash 0 512*1024 { ; load region size_region
; >>> RO regions
VECTOR_ROM +0 0x200 { ; vector table
* (RESET,+FIRST)
}
TEXT_ROM +0 { ; load address = execution address
* (InRoot$$Sections)
.ANY (+RO)
}
; <<<
; >>> RAMX regions
; RAM vector table, unless "InstallIRQHandler()" is called, not used
VECTOR_RAM 0x04000000 EMPTY 0x200 { ; RAM vector region (in RAMX)
}
SPAN_CYCLE_RAM +0 UNINIT 16 {
*(sect_span_cycle)
}
; Generic fast RAM for performance critical code and/or data
FAST_RAM +0 EMPTY 32*1024-0x200-16-Stack_Size { ; Fast RAM region (in RAMX)
}
; Main stack
ARM_LIB_STACK +0 EMPTY Stack_Size { ; Stack region growing down (in RAMX)
}
; <<<
; >>> AHB RAM (2 cycles access) regions, main R/W
RW_m_data 0x20000000 (64+64+32)*1024 { ; RW data
.ANY (+RW +ZI)
}
; <<<
; >>> SDRAM >>>
RW_FB 0xA0000000 UNINIT 1024*1024 {
*(FB)
}
RW_SDRAM 0xA0100000 EMPTY UNINIT (32-1)*1024*1024 {
}
; <<<
}
LR_SPIFI 0x10000000 2048*1024 {
ER_SPIFI +0 {
GUIDEMO*.o (+RO)
}
}
Hi,
There are emWin examples as part of the i.MX RT MCUXpresso SDK. Please refer to the following link to generate the proper SDK package according with the desired features/used IDE:
https://mcuxpresso.nxp.com/en/select
Right now, they are not supported yet on MCUXpresso IDE, but you can use it on IAR and Keil IDEs.
In case of having specific emWin issues, you could directly contact Segger:
https://www.segger.com/products/user-interface/emwin/
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------