GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem I am setting up a TSN demo based on the repository at https://github.com/NXP/GenAVB_TSN-rtos-apps, and I have followed the step-by-step guide at https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/Step-by-Step-Guide-to-Running-the-GenAVB-TSN-Stack-FreeRTOS/ta-p/2390969 strictly. However, after importing the project, only the ram_release build configuration is available in the project options,no release_no_enetc0,so it can not program to flash. I have retry the import process many times, but the outcome stays the same. I imported the project in accordance with NXP_GenAVB_TSN_MCUXpresso_User_s_Guide_8_0_rev0.pdf, and also executed the corresponding setup scripts. Could anyone please help figure out what is causing this issue? Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem Dear @ChandlerY ,
Please make sure to select the 8_0 branch on GitHub:
https://github.com/NXP/GenAVB_TSN-rtos-apps/tree/8_0
The README file for this branch explicitly states that it is supported:
Best Regards,
Shelly
Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem Hi,shelly, Thanks for your reply! I have repeated the whole process, but the issue still persists. I am using the latest version of VS Code and the latest MCUXpresso installer. My build steps are listed below. Could you please help check if I have missed any required steps? Thank you. 1. Import the SDK(I have tried both 8_0_0 & 8_0) 2.Execute the patch scripts(file《NXP_GenAVB_TSN_MCUXpresso_User_s_Guide_8_0_rev0》 required) 1) cd E:\111\genavb_tsn_rtos_apps_800\GenAVB_TSN-rtos-apps\scripts 2) bootstrap.bat and it excute successfully. 3.import the project 4.There are still only two build configurations available for the project Additionally, I am able to compile the project and flash the device via the command line, and normal log output can be observed after programing. However, this workflow is not convenient enough for daily development. I would prefer to have the one-click compile-and-flash functionality with selectable build configurations in the IDE. Could you please help how to resolve this? I would appreciate your early response. Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem Dear shelly, thanks for your reply. In addition, I have another issue. When importing the project, the build can only succeed when Repository application is selected as the App type. Builds with either standalone application or freestanding application will fail. Could you please help resolve this problem as well? Thank you. Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem Dear @ChandlerY ,
Thank you for your patience.
I pulled the latest code from the repository and was able to reproduce the issue on my side. At this moment, the root cause is still unclear. It may be related to some inconsistency between the VS Code display settings and the tool configuration.
As a temporary workaround, please use the west build command to create/build the project. For example:
west build -p always boards/src/demo_apps/avb_tsn/tsn_app --toolchain armgcc --config release_no_enetc0 -b evkmimxrt1180 -Dcore_id=cm33
We will continue to follow up on this issue.
Best Regards,
Shelly
Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem Dear @ChandlerY ,
We have identified the cause of the issue. It appears to be related to the newer version of MCUXpresso for VS Code.
After rolling back to version 26.5.57, I can see all the available build configurations correctly:
Please refer to the screenshot below and roll back to version 26.5.57 from the Extensions view:
Also, the TSN application currently does not support Freestanding Application. Please use Repository Application instead.
Best regards, Shelly
Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem Hi,shelly, I have tried your solution,it works! Thanks a lot. Please tell me when fixing this problem at the newer version of mcuxpresso for vscode. Limited exclusively to the Repository Application type is inconvenient for project modification and porting. Are there any plans to introduce support for the Standalone Application type in future releases? Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem Dear @ChandlerY ,
Glad to hear that the workaround works for you.
I have shared both the issue and your request with our internal team for further consideration.
In the meantime, please note that the TSN application is primarily intended for feature testing and evaluation. For actual product development, we recommend creating your own standalone application project and porting the required TSN functionality to it.
Best regards, Shelly
View full article