having trouble building espruino for STM32F411DISCOVERY #5469
Replies: 1 comment
-
Posted at 2016-09-08 by @gfwilliams Yes, RX and TX should be swapped, but you're not getting that far. Could you try getting the code using The lack of Posted at 2016-09-20 by user66772 In fact I had downloaded a zip. But today I tried the
method. And sort of good news, I got a different error.
I see it knew to grab my /usr/lib/gcc/arm-none-eabi this time, so i assume it's not a path problem. Posted at 2016-09-20 by user66772 the contents of
are:
[NOTE: in the contents above, I removed the "#" at the beginning of each line to prevent forum language from seeping through like this]
, seems like it is trying to call itself, via
and failing. Posted at 2016-09-20 by @gfwilliams Looks like you're maybe using the wrong compiler version. It's 6.2? Looking at https://launchpad.net/gcc-arm-embedded (the recommended one) the lastest stable version there is 5.4. Maybe you could try using that? Posted at 2016-09-29 by user66772 Okay I'm back. This time, I ditched Arch for Ubuntu 14.04 temporarily (This is a gnome-boxes VM) . And I ran the following commands starting inside the home folder:
I received the following error:
The stack trace is very long, but I can provide it if necessary via a bash output file. Posted at 2016-09-29 by @gfwilliams which version of GCC is it? try I usually:
And then run make. Posted at 2016-09-29 by user66772 The output of:
is:
so it's not 5.4 like you said earlier. I'll work on the tar-extraction method now. Posted at 2016-09-29 by user66772 The output of:
is:
so it's not 5.4 like you said earlier. I'll work on the tar-extraction method now. EDIT I removed the compiler package with Then, downloaded the tarball It has a SHA1 hash of unpacked it into my home folder, and afterward, listing home folder contents with ls:
Then I editted the Rebooted then At this point,
and
Posted at 2016-09-30 by @gfwilliams
But Posted at 2016-11-06 by user66772
The build process was successful on Arch Linux without a VM. I installed the compiler in the following manner: The AUR package took about 30 minutes to build on a 4GHz Core i7 Now for the hardware step |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-09-08 by user66772
Hello, I'm not at all familiar with compiling code, beyond some trusted AUR packages for Linux. All of this is quite foreign. After recieving this error, I went looking in espruino-master which i pulled down previously. I found many ".o" files adjacent to many like-named ".c" and ".h" files. Why are only a few of these ".o" files missing, while they're clearly needed to build a binary?
Also noteworthy is that im using a FT232RL USB-Serial converter and plugging into a breadboard with bare STM32F411CEU6 broken out to 0.1". No peripherals, just the capacitors that ST and my 3.3V regulator calls for. Pin 44(BOOT0) is connected to 3.3V and pin 20(PB2) is connected to GND
Are Rx and Tx supposed to cross on their way from FT232RL to STM32?
Any pointers are appreciated, thank you
Beta Was this translation helpful? Give feedback.
All reactions