[En-Nut-Discussion] STM32F2 status

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Fri Jan 25 10:55:45 CET 2013

>>>>> "Henrik" == Henrik Maier <hmnews at proconx.com> writes:

    Henrik> On 24/01/2013 7:54 PM, Uwe Bonnes wrote:
    >> Well, I did some few tests with the usps_f205c and steval_pcc010v2
    >> after porting to F2. I think, I fixed all issues I saw.

    Henrik> Thanks for letting me know. I failed to compile for the F2 using
    Henrik> the configurator. The configurator does not set the MCU_STM32F2
    Henrik> macro required in cfg/arch.h.

    Henrik> I had a look at the conf files but could not figure out why
    Henrik> nutconfig generates the MCU macro correctly for the F1 part but
    Henrik> not when a F2 part is selected. Maybe there is still something
    Henrik> missing in the .nut files.  Maybe you have an idea?

    Henrik> I used yesterdays trunk for those tests.

I rarely use the graphic configuartor, I use hand-crafted nutconfigure on
the .conf files. So flaws there might be unnoticed.

However I guess, you trapped into the "LICENSE_XXX" trap. The
MCU_STM32F2 macros is only evaluated and created with
accepted. Further evaluation also needs
accepted. It's a pity with all these licenses.

I mostly create the .conf file by hand and then run
./Make_Tree.cm3dbg <my config(without .conf)>
in e.g. ../nut/build.
with ../nut/build/Make_Tree.cm3dbg

../nut/tools/nutconf/src/nutconfigure -b ./$1 -c ../nut/conf/$1.conf \
-l ./$1/lib -r ./../nut/conf/repository.nut -s ../nut -mcm3-gccdbg \
cd $1
../../nut/tools/nutconf/src/nutconfigure -a ./apps -b . \
-c ../../nut/conf/$1.conf -l ./lib -r ../../nut/conf/repository.nut \
-s ../../nut -mcm3-gccdbg create-apptree
cd -

Try to run an existing STM32F2 configuration with
added and report back.

Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

More information about the En-Nut-Discussion mailing list