Hello, riot developers.
Yesterday i have seen an update regarding RIOT support on stm32f4discovery board.
I downloaded and tried to compile hello-world project for this board, but got a bunch of errors. After fixing some path 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’
May be there are something wrong with my toolchain, which one do you use to build the project for stm32?
Thats the log i got with modifed makefiles: [http://pastebin.com/5gjhn87F](http://pastebin.com/5gjhn87F) And thats log from raw sources from git(downloaded and no any modification made with them):
http://pastebin.com/G28j1xtR
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.)
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!