Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Projects created to include wifi_nxp fail to compile due to wrong reference to app_config.h (SDK 2.14.0) #3

Open
tgibson-work opened this issue Sep 20, 2023 · 0 comments

Comments

@tgibson-work
Copy link

tgibson-work commented Sep 20, 2023

In SDK 2.14 the template app_config.h is under core/components/wifi_bt_module/template. However, when creating a new project (QuickStart Panel -> Create or import a project -> Create a new C/C++ project...) including wifi_nxp and using linked sources, a reference to app_config.h is added to the .cproject file in the gnu.c.compiler.option.misc.other section at the SDK path middleware/wifi_nxp/components/wifi_bt_module/template. This latter path does not include app_config.h in SDK 2.14, and when using the github SDK to target version 2.13 (the other version available when using west to checkout the MCUX_2.14.0 tag) these references are not added to the .cproject at all. The inclusion of this erroneous reference causes the project to fail to compile with a fatal error: stdout: No such file or directory referencing the incorrect file path.

If instead the option to copy sources is chosen the .cproject file references a local project path at which app_config.h is expected, however it is missing, presumably because it failed to copy from the same incorrect path during project creation. This also causes the project to fail to compile with the same error, although it unhelpfully does not actually reference any file path or refer to app_config.h at all. The above has been tested whilst targeting the MIMXRT1064-EVK.

It is not immediately clear to me why this app_config.h reference has been added to the gnu.c.compiler.option.misc.other section in SDK version 2.14 yet appears omitted when targeting version 2.13 from the same github SDK, but presuming this is now required, the path is wrong in the generated project configuration and needs to be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant