preenfm Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Latest pfm3 firmware : 1.03
Latest pfm2 firmware : 2.21b
Editor 3.1.4
Home
Help
Search
Login
Register
preenfm Forum
»
PreenFM
»
preenfm2 and preenfm3
»
Compile Toolchain
« previous
next »
Print
Pages: [
1
]
Author
Topic: Compile Toolchain (Read 9455 times)
funkyfli
Team Member
Posts: 108
Compile Toolchain
«
on:
December 30, 2014, 11:54:58 PM »
Hi Xavier,
probably a stupid question, but where can I find the setup information for the compile toolchain for Windows? I've been searching for a while...
Thanks,
Martin
Logged
funkyfli
Team Member
Posts: 108
Re: Compile Toolchain
«
Reply #1 on:
January 01, 2015, 01:21:31 PM »
tools here:
https://launchpad.net/gcc-arm-embedded/+download
Other stuff that can be installed...? (If you are missing a make) (I didn't use - but looks helpful)
guide to install stuff etc:
http://www.jann.cc/2013/10/10/embedded_development_with_open_source_tools_on_windows.html#build-a-simple-hello-world-program-with-gcc
«
Last Edit: January 01, 2015, 01:26:00 PM by funkyfli
»
Logged
Xavier
Administrator
Hero Member
Posts: 2259
Re: Compile Toolchain
«
Reply #2 on:
January 01, 2015, 02:57:45 PM »
Hi Martin,
Thanks fo your reply to your question
Seems like i'm too late and that you've found everything.
My answer would actually be to use
https://launchpad.net/gcc-arm-embedded
But i've never compiled the firmware under windows so i have not a clear idea of all the required tools.
With MacOS or Linux, it's really straightforward, let me know how it goes under Windows.
Happy hacking and happy new year,
Xavier
Logged
funkyfli
Team Member
Posts: 108
Re: Compile Toolchain
«
Reply #3 on:
January 01, 2015, 03:56:04 PM »
You're welcome.
Windows setup was very easy with the gcc-arm-embedded executable. (Especially, after setting up the Shruthi environment.) I had the other stuff already installed.
The compile worked fine with a number of warnings for the USB host code. The recompiled code is slightly smaller than the downloadable p2_106o.bin file. (probably due to the new compiler version?) Everything seems good on my initial tests. Now off to break it!
Happy New Year!
Martin.
Logged
funkyfli
Team Member
Posts: 108
Re: Compile Toolchain
«
Reply #4 on:
January 03, 2015, 06:45:18 PM »
Spoke too soon.
After first thinking my hacking damaged the firmware, I realized, that when I compile both the pfm and pfmo firmware on the latest gnu tools, I get a nasty high-frequency distortion on the waveforms. It's only really very evident on the sine wave. I'm going to try an older gnu tools version...
Logged
funkyfli
Team Member
Posts: 108
Re: Compile Toolchain
«
Reply #5 on:
January 03, 2015, 07:22:53 PM »
Well, 4.8 had the same issue and created bin files at 300kB. But, 4.7 has a clean sounding sine wave. I used the last release which created a slightly larger file...
https://launchpad.net/gcc-arm-embedded/4.7/4.7-2013-q3-update
Which version are you using?
Thanks.
Logged
Xavier
Administrator
Hero Member
Posts: 2259
Re: Compile Toolchain
«
Reply #6 on:
January 04, 2015, 10:04:16 AM »
The GCC installed on my main build Linux machine is :
gcc version 4.7.3 20121207 (release) [ARM/embedded-4_7-branch revision 194305] (GNU Tools for ARM Embedded Processors)
I never made the switch to 4.8.
Don't know what the problem is. What you describe is not really something expected.
What kind of hack did you do ?
Xavier
Logged
funkyfli
Team Member
Posts: 108
Re: Compile Toolchain
«
Reply #7 on:
January 04, 2015, 04:34:23 PM »
Thanks. I got the 'aliasing' type sound without any hacks. I re-downloaded your code to be certain.
The hacks create oscillators out of the step sequencers and envelope 8 which could easily create havoc. I get clean sine waves with the hacks and 4.7.
Logged
Print
Pages: [
1
]
« previous
next »
preenfm Forum
»
PreenFM
»
preenfm2 and preenfm3
»
Compile Toolchain