This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

migration of 14.2 FDS app back to 12.3

I have a fairly extensive application built in 12.3.

To add FDS to this I started with 14.2, replaced the logging with RTT and I know I'll have the change the FDS calls.

This builds fine in 14.2 for pca10040 and runs OK.

However, I was not expecting this error when building 12.3:

In file included from ../../../../../../components/boards/boards.h:43:0,
                 from ../../../../../../components/boards/boards.c:40:
../../../../../../components/drivers_nrf/hal/nrf_gpio.h:67:2: error: #error "Not supported."
 #error "Not supported."

This seems to indicate a problem with boards which is odd because pca10040 is supported in bother cases.

Any suggestions please?

Thx.

Parents Reply
  • paul_tanner said:
    The two Makefiles are identical so this evidently has to do with different mechanisms for pulling in GPIO components between the SDKs.

    The Makefiles are identical and the file structure is identical, and still for some reason nrf_gpio.h cannot see nrf52840_peripherals.h file. If the compiler is also the same, then this will be a mystery difficult to solve. 

    Why not brute force add the header into nrf_gpio.h file? You will be able to move on I hope?

Children
Related