2386154_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2386154_en-US

2386154_en-US

Overlay file can't worked in frdm_mcxw72 board

I tried to run the adc_dt code sample in frdm_mcxw72 board, but it can't be build successfully even i already added the overlay file in the device tree folder and modified the board name in Cmakelist file. it always prompt  error: #error "No suitable devicetree overlay specified" during building . can you help me find the cause, thanks in advance!

Re: Overlay file can't worked in frdm_mcxw72 board

Hello RomanVR,

i put the the overlay file in the position. but it still can't work. you can find more information about my workbench in below snapshot. i used the zephyr version is V4.4.0.  any finding please me know. 

anliu114036_0-1782436585270.png

Best regards!


Re: Overlay file can't worked in frdm_mcxw72 board

Hello @anliu114036, hope you are doing well.

Would you please share which Zephyr version are you working on? Also, please clarify if you are using MCUXpresso for VS Code extension to build the example.

In the meantime, to ease the process, make sure that your overlay is created inside the "boards" folder that should be inside of your project files; make sure that your overlay file is named as "frdm_mcxw72.overlay", following these two steps will make Zephyr fetch your overlay in build process without the need of setting its path explicitly in CMake.

If you are using our MCUXpresso for VS Code extension, your project view should look as the image below:

RomanVR_0-1782411957734.png

Please let me know if this helps.

Tags (1)
No ratings
Version history
Last update:
7 hours ago
Updated by: