That is correct Sid, the F1 and the F4 have different GPIO architectures so
the flags are incompatible.
--Chuck


On Tue, Jan 31, 2017 at 12:41 PM, Sid Price <[email protected]> wrote:

> The project I am porting to STM32F411RE makes use of an ADC, when looking
> at the f4/gpio.h file I don’t see “GPIO_CNF_INPUT_ANALOG” defined, in fact
> the F4 file has many defines not included. It is defined in the F1/gpio.h
> file. Does this mean the gpio.h header needs updating for the F4? How can I
> resolve this?
>
>
>
> Also, a similar situation exists for some ADC definitions. The define
> “ADC_SMPR_SMP_28DOT5CYC” is defined in f1/adc.h but not in f4/adc.h.
>
>
>
> Is it OK to use the F1 includes?
>
>
>
> Any input would be appreciated,
>
> Sid
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> libopencm3-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libopencm3-devel
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
libopencm3-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libopencm3-devel

Reply via email to