Building FreeEMS on MacOS X
Posted: Mon Mar 08, 2010 3:28 am
I'm new to this forum and to ECU hacking in general, so I think a quick introduction is in order.
I'm located in Chicago, USA and am endeavoring to build an ECU for a genset unit. My ultimate goal is to have complete control and monitoring of my power generators over IP. Obviously, that's a pretty lofty goal, but I figured that this project was a great starting point.
I'm a fairly competent C programmer and have plenty of time to work on this. My electronics background is rather lacking compared to many of you, but I don't really see that as a limiting factor since much of the EE work can be gleaned from the interweb or the experts that seem to hang around here.
I already have the TA board and a jimstim. I was planning to buy a BDM box, but seeing that nobody else here uses them perhaps I'll spend that money on beverages for late-night hacking.
I've read quite a bit of the material here and want to congratulate you on what looks like a pretty nice piece of OSS. I managed to get a toolchain built and have also successfully compiled FreeEms.
I'm not entirely sure of the protocol on this, but I did have to make a quick change to the Makefile to get it to build. I'm not sure what ld you're using, but mine (2.17) doesn't have the
--print-gc-sections option. But, I didn't really think it was that important so I just removed it and everything built fine.
EDIT: I just read your thread about building on Windows and realized that you already knew about the print-gc-sections issue. I also noticed that you already asked for a MacOS tutorial. I'll go ahead and put one together.
I'm going to load it to the board in a few minutes and see what happens.
Also, if you'd like a quick tutorial on building the toolchain on Macos, I'm happy to write one.
I'm located in Chicago, USA and am endeavoring to build an ECU for a genset unit. My ultimate goal is to have complete control and monitoring of my power generators over IP. Obviously, that's a pretty lofty goal, but I figured that this project was a great starting point.
I'm a fairly competent C programmer and have plenty of time to work on this. My electronics background is rather lacking compared to many of you, but I don't really see that as a limiting factor since much of the EE work can be gleaned from the interweb or the experts that seem to hang around here.
I already have the TA board and a jimstim. I was planning to buy a BDM box, but seeing that nobody else here uses them perhaps I'll spend that money on beverages for late-night hacking.
I've read quite a bit of the material here and want to congratulate you on what looks like a pretty nice piece of OSS. I managed to get a toolchain built and have also successfully compiled FreeEms.
I'm not entirely sure of the protocol on this, but I did have to make a quick change to the Makefile to get it to build. I'm not sure what ld you're using, but mine (2.17) doesn't have the
--print-gc-sections option. But, I didn't really think it was that important so I just removed it and everything built fine.
EDIT: I just read your thread about building on Windows and realized that you already knew about the print-gc-sections issue. I also noticed that you already asked for a MacOS tutorial. I'll go ahead and put one together.
I'm going to load it to the board in a few minutes and see what happens.
Also, if you'd like a quick tutorial on building the toolchain on Macos, I'm happy to write one.