I'm using MCUXpresso v11.5.0, and SDK_2.x_FRDM-K66F 2.11.0. My board is a FRDM-K66F.
For ADC0 and ADC1, both of which have "hardware averaging disabled" in the Peripherals configuration screen, I get:
.hardwareAverageMode = kADC16_HardwareAverageDisabled,
in the generated "peripherals.c" file. However, that gives me a compiler error:
../board/peripherals.c:400:4: error: 'adc16_config_t' {aka 'const struct _adc16_config'} has no member named 'hardwareAverageMode'
400 | .hardwareAverageMode = kADC16_HardwareAverageDisabled,
| ^~~~~~~~~~~~~~~~~~~I've commented it out so I can compile, but I'm perplexed that I'm getting this error at all in a MCUXpresso-generated file. It also risks breaking the XML needed by the Peripherals page.
Any suggestion for why this is happening, and how to fix it?
Thanks, Aaron