3 years, 2 months ago.

How can I include the "fsl_adc_hal.h" with a mbed version 120 and above? [FRDM-K64F]

I use the differential analog inputs of the K64F with the library AnalogIN_DIFF_OK. This library includes in its header file the "fsl_adc_hal.h".

With the library version 120 and above there is a compiler error: "Error: Cannot open source input file "fsl_adc_hal.h": No such file or directory in "AnalogIn_Diff_ok/AnalogIn_Diff.h", Line: 27, Col: 26".

Was the "fsl_adc_hal.h" renamed in the newer versions of the mbed library? And how can I include the "fsl_adc_hal.h" with a mbed version 120 and above?

Greetings Ole

Comment on this question

1 Answer

3 years, 2 months ago.

Hi,

KSDK was updated to v2 and their HAL was changed. It is now a driver, therefore the header file does not exist there. Please check the KSDK v2 structure for your target. API was changed as well, therefore you might not only include a new header file but update also the implementation.


You need to log in to post a question