Open andreaslarssonublox opened 8 years ago
Can we get which ADC is the handle to, obj->adc contains the information, the question is how to use it? Lookup table ? To enable only those ADC clocks which are being used?
@bcostm
Yes exactely. You must do the same thing as done in mbedClassic analogin_api.c file: https://github.com/mbedmicro/mbed/blob/master/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/analogin_api.c But ADC2 is missing in this file and must be added.
Ok, I've updated the file.
Apparently you still use this repo. Why ? It was for mbed-os-3. We (@ARMmbed/team-st-mcd) don't maintain it anymore since several years...
@0xc0170 Can we remove all these repos ?
@0xc0170 Can we remove all these repos ?
That is a good question, I believe this could be still used, we rather just add a note that its deprecated. We can add it to the repo description?
Yes, we're still using it for mbed 3 but deprecating it sounds good.
ADC2 and ADC3 clocks are needed for stm32f439 ADCs to work.