Gpio_ctrl.h not found when building flexcan_network example iMX7

Hello everyone,

When building the flexcan_network example from the freertos imx7_colibri_m4 examples, it gives me the following error:

../Documents/freertos-colibri-imx7/examples/imx7_colibri_m4/gpio_pins.c:34:23: fatal error:   gpio_ctrl.h: No such file or directory
 #include "gpio_ctrl.h"

I checked other examples and the gpio_ctrl.h and gpio_ctrl.c are in the example folders. However in the flexcan_network example these files are not present.

Could it be that these files were not added?

When building from the imx7d_sdb_m4 examples, it throws this error:

../gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld: cannot open linker script file MCIMX7D_M4.ld: No such file or directory

Any ideas how this can be fixed?

There seem to be an issue with include. Removing the include helps already. I pushed the change to our git repository:

We changed linker files slightly so they work well with our modules and for convenience. However, we did not fix the examples for the SDB reference board, that is why building this example fails…

Thanks for the response, It compiles correctly now!
I thought about removing the include, but wasn’t sure if this would break other things.