[riot-users] RIOT on stm32f4discovery

Aleksandr Mikoff sir.enmity at gmail.com
Mon Mar 25 14:46:12 CET 2013


Oh, i actually forgot about pulling the last changes from your repository
and tried to fix the problems by myself.
Now all builds like a charm, thank you!

2013/3/25 Oleg Hahm <oleg at riot-os.org>

> Hi Aleksander,
>
> > I downloaded and tried to compile hello-world project for this board, but
> > got a bunch of errors. After fixing some path
> could you please tell us, what kind of path fixing was necessary for you?
> That
> would be really interesting.
>
> > i am a bit stuck with
> > following errors:
> >
> > >
> /home/mfa/sat/lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/lib/thumb/cortex-m4/libg.a(lib_a-sbrkr.o):
> > > In function `_sbrk_r':
> > >
> /home/mfa/Desktop/compiler/summon-arm-toolchain/build/arm-none-eabi/thumb/cortex-m4/newlib/libc/reent/../../../../../../../gcc-linaro-4.7-2013.01/newlib/libc/reent/sbrkr.c:58:
> > > undefined reference to `_sbrk'
> Seems that some libraries (particularly stm32f4xxstdperi and syscalls) are
> missing.
>
> > May be there are something wrong with my toolchain, which one do you use
> to
> > build the project for stm32?
> > That`s the log i got with modifed makefiles:
> > http://pastebin.com/5gjhn87F
> > And that`s log from raw sources from git(downloaded and no any
> modification
> > made with them):
> > http://pastebin.com/G28j1xtR
> Have you run a git-pull on the main RIOT repository before? At a first
> glance,
> it seems to me that the fixes in e6177e811a [1] are missing. (Probably
> fixing
> both of your problems.)
>
> Cheers,
> Oleg
>
> [1]
> https://github.com/RIOT-OS/RIOT/commit/e6177e811a611200696d75c5f1f4c06fde03117e
> --
> panic("Tell me what a watchpoint trap is, and I'll then
> deal with such a beast...");
>         linux-2.2.16/arch/arch/sparc/kernel/traps.c
> _______________________________________________
> users mailing list
> users at riot-os.org
> http://lists.riot-os.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/users/attachments/20130325/d52c2d1d/attachment.html>


More information about the users mailing list