Using an RT1021, I started with the FeeRTOS hello project, using the 1020 dev kit as my HW board, I added in the USB CDC libraries no probs, and got the CDC USB functions and talking fine. I need NVM, so I added in the flexspi_nor_flash example, after searching finally found that the HW was crashing since the linker scripts were not there. So I brought over the linker scripts, containing
*(EXCLUDE_FILE(*flexspi_nor_flash_ops.o *fsl_flexspi.o) .text*)
and
<#if memory.name=="SRAM_ITC">
*flexspi_nor_flash_ops.o(.text*)
*fsl_flexspi.o(.text*)
</#if>
and
<#if memory.name=="BOARD_SDRAM">
*(.bss*)
</#if>
However once I do this, the USB CDC stops working, in device manager it
complains code 43, a request for the USB descriptor failed. Has anyone
else run into this? The UART on this board still works fine.
If I remove the linker scripts and comment out calling the nor_flash
functions, the USB starts working again.
Thanks and much appreciated.