custom_board.h not found

Hi,

I have created a custom board with a nrf52840 on it. I am working with Embedded Studio v5.64 and the Nordic SDK v. 17.1.0. When I use the preprocessor definition BOARD_PCA10056, my code builds and I am able to flash my board.
Then I try to use my custom_board.h. It is placed in the components/boards folder, the same one where the pca10056.h file is located. I changed the preprocessor definition. Now when I try to build and debug i get an error message that the custom_board.h file was not found. The custom_board.h file is not hidden, protected or anything like that. The directory is included in the common project configurations at User Include Directories.
Am I missing something to be able to use my custom board file? How can I further investigate what might cause the problem?

Related