[En-Nut-Discussion] NutOs5.1 on STM32 controllers

bon at elektron.ikp.physik.tu-darmstadt.de bon at elektron.ikp.physik.tu-darmstadt.de
Mon Sep 16 12:36:56 CEST 2013


>>>>> "Holger" == Holger Mai, GEMAC <hmai at gemac-chemnitz.de> writes:

    Holger> Hello all i want to run NutOS on an Olimex STM32-E407 with a
    Holger> ST32F407 controller. Thera are some configurations near this for
    Holger> STM32 controllers, but with all of them it is impossible to
    Holger> compile the NutOS with Arm GCC. Looks like an error in basic
    Holger> configuration for gcc.

    Holger> One example for simple CM3 chip configuration usps_f107c.conf:

Please tell the exact steps.
> diff -uw  ../nut/conf/usps_f107c.conf ../nut/conf/usps_f107c_lic.conf
--- ../nut/conf/usps_f107c.conf 2013-06-18 14:04:44.945807653 +0200
+++ ../nut/conf/usps_f107c_lic.conf     2013-06-08 19:21:47.402487415 +0200
@@ -1,4 +1,6 @@
 PLATFORM = "USPS"
+LICENSE_MCD_ST_LIBERTY = ""
+LICENSE_ST_GUIDANCE_ONLY = ""
 CM3_GCC = ""
> ./Make_Trees.cm3dbg  usps_f107c_lic
> cd usps_f107c_lic
> make -s -j3
... <no error> ...
> arm-none-eabi-gcc -v
...
gcc version 4.7.4 20130613
...
> cd ..
> cat /Make_Trees.cm3dbg
../nut/tools/nutconf/src/nutconfigure -b ./$1 -c ../nut/conf/$1.conf -l ./$1/lib -r ./../nut/conf/repository.nut -s ../nut -mcm3-gcc create-buildtree
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-gcc create-apptree
cd -
-- 
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