Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
4 years, 4 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?
4 years, 3 months ago.
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.