Hi,
I am tring to add usb cdc vcom in the soem_gpio_pulse_freertos example.
My setup is:
win11, armgcc, MCUXpresso for VSCode, SDK_2_13_0_MIMXRT1061xxxxB, evkmimxrt1060.
I copy all the necessary file and change the CMakeList and then compile successfully. But the usb port is not showing up in the PC. It is strange beacuse I have tested the porting in hello world project and get everything works fine.
I compared the two demo project and find out the difference in the linker script "MIMXRT1062xxxxx_flexspi_nor.ld" .
In the demo "dev cdc vcom freertos", the .bss is located in m_data.
But in the demo "soem_gpio_pulse_freertos ", the .bss is located in m_data2. I tried to modify it to m_data then get a error, the ram size is not enough.
I checked the "MCUXpresso SDK USB Stack User’s Guide" and find maybe the "USB_GLOBAL_DEDICATED_RAM" shoud be set. But there is no demo project about how to do it.
As a noob in linker script, I am seeking assistance to successfully complete this porting process.
Thank you in advance for your time and support.