Page 1 of 1

Building the STM32F4 DISCOVERY demo

Posted: Tue Jan 03, 2012 4:37 am
by blundar
The code for the STM32F4 DISCOVERY doesn't exist in the latest stable version. I also have a couple STM32F1 dev boards. Should I try using one of them to learn because they seem to be a little bit more mature?

I took a look at the SVN and saw that the STM32F4 code was being worked on very recently, like past day or so.
I've already grabbed the boards/ and demos/ files for this target from SVN.

What I am wondering about:

1. Can I build the STM32F4 DISCOVERY demo against the latest stable release code or does it depend on things that are in the TRUNK?

2. Is the STM32F4 HAL functional in the stable code or is this also something that is being worked on with the SVN code?

3. Is the STM32F2 HAL functional in the stable code or is this also something that is being worked on with the SVN code?

Thanks in advance,
-Dave

Re: Building the STM32F4 DISCOVERY demo

Posted: Tue Jan 03, 2012 9:19 am
by Giovanni
Hi,

The stable code does not include support for the STM32F4, you should download the latest development version 2.3.4. Note that "unstable" refers to the API being not finalized, it does not mean that the code crashes or something like that, the stable branch is a finalized version that is maintained with bug fixes only, the API does not change and rarely receives new features. Usually even the code on the repository is stable enough, a lot of people use that one because want the latest code.

About your questions:

1) no, the stable branch does not support F4
2) no, it is in 2.3.4
3) no, it is in trunk only, will be in 2.3.5

Stable version 2.4.0 will include everything is in the current unstable version or is being developed on the repository.

If you want to learn then I suggest to use 2.3.4 or the repository code.

Giovanni