Author |
Message |
Fred
Moderator
Joined: Tue Jan 15, 2008 2:31 pm Posts: 15071 Location: Home sweet home!
|
I submitted this pearl of a snippet to the daily WTF this morning :
<constant name="twoStroke">"Four-stroke"</constant>
NOT Otto OR YES?
how about :
<constant name="Strokes">Four</constant>
What do you think?
I think that if they are going to do it that way, they should do it like this :
<constant name="twoStroke?">Four-stroke!</constant>
Got any gems like that?
Fred.
_________________DIYEFI.org - where Open Source means Open Source, and Free means Freedom FreeEMS.org - the open source engine management system FreeEMS dev diary and its comments thread and my turbo truck!n00bs, do NOT PM or email tech questions! Use the forum! The ever growing list of FreeEMS success stories!
|
Tue Feb 12, 2008 1:01 pm |
|
 |
ababkin
LQFP112 - Up with the play
Joined: Tue Jan 15, 2008 5:14 pm Posts: 215
|
haha this is awesome!
i bet they've also implemented the wiwntoi() function
/* this function converts a number from the written-in-words number form to the integer representation*/ int wiwntoi(char* wn){
...
}
_________________ Legal disclaimer for all my posts: I'm not responsible for anything, you are responsible for everything. This is an open and free world with no strings attached.
|
Tue Feb 12, 2008 10:28 pm |
|
 |
Fred
Moderator
Joined: Tue Jan 15, 2008 2:31 pm Posts: 15071 Location: Home sweet home!
|
Bruce wrote: For a logic one, the data direction register sets the processor port as an *input*, so there is no drive OMFG WTF?? http://www.msefi.com/viewtopic.php?p=191125#191125Another "clever hack" that is highly likely to cause headaches in the future...
_________________DIYEFI.org - where Open Source means Open Source, and Free means Freedom FreeEMS.org - the open source engine management system FreeEMS dev diary and its comments thread and my turbo truck!n00bs, do NOT PM or email tech questions! Use the forum! The ever growing list of FreeEMS success stories!
|
Sun Mar 02, 2008 10:18 am |
|
 |
jbelanger
LQFP144 - On Top Of The Game
Joined: Sat Feb 23, 2008 8:58 pm Posts: 387
|
Fred wrote: Bruce wrote: For a logic one, the data direction register sets the processor port as an *input*, so there is no drive OMFG WTF?? http://www.msefi.com/viewtopic.php?p=191125#191125Another "clever hack" that is highly likely to cause headaches in the future... I'd be curious to hear what the Freescale people would think about that one: driving a 3.3V device from a 5V one by using the pin as an input. That's a clever hack for bench testing but an automotive environment is not a friendly one for hacks. But it's going to be interesting to see what happens with that one. Jean
|
Sun Mar 02, 2008 5:46 pm |
|
 |
Fred
Moderator
Joined: Tue Jan 15, 2008 2:31 pm Posts: 15071 Location: Home sweet home!
|
I bet you more than a few people cook the cpld by coding it as an output by accident as force of habit during dev. It's a clever cool idea, and I like such tricks, but they aren't a full blooded solution. Also, using C32 devices on it... hmmmm.
_________________DIYEFI.org - where Open Source means Open Source, and Free means Freedom FreeEMS.org - the open source engine management system FreeEMS dev diary and its comments thread and my turbo truck!n00bs, do NOT PM or email tech questions! Use the forum! The ever growing list of FreeEMS success stories!
|
Sun Mar 02, 2008 10:11 pm |
|
 |
jbelanger
LQFP144 - On Top Of The Game
Joined: Sat Feb 23, 2008 8:58 pm Posts: 387
|
Fred wrote: Also, using C32 devices on it... hmmmm. Isn't it how you do design? See what the requirements are and then use what you have (instead of what should be used). hmmmm indeed.
|
Sun Mar 02, 2008 11:07 pm |
|
 |
Fred
Moderator
Joined: Tue Jan 15, 2008 2:31 pm Posts: 15071 Location: Home sweet home!
|
Thats also why i don't want to try to do too much with our chip. But I'll discuss that where it belongs in that other thread when I find time to do it.
_________________DIYEFI.org - where Open Source means Open Source, and Free means Freedom FreeEMS.org - the open source engine management system FreeEMS dev diary and its comments thread and my turbo truck!n00bs, do NOT PM or email tech questions! Use the forum! The ever growing list of FreeEMS success stories!
|
Sun Mar 02, 2008 11:33 pm |
|
 |
Fred
Moderator
Joined: Tue Jan 15, 2008 2:31 pm Posts: 15071 Location: Home sweet home!
|
_________________DIYEFI.org - where Open Source means Open Source, and Free means Freedom FreeEMS.org - the open source engine management system FreeEMS dev diary and its comments thread and my turbo truck!n00bs, do NOT PM or email tech questions! Use the forum! The ever growing list of FreeEMS success stories!
|
Mon Mar 03, 2008 7:15 pm |
|
 |
ababkin
LQFP112 - Up with the play
Joined: Tue Jan 15, 2008 5:14 pm Posts: 215
|
Fred wrote: http://www.msefi.com/viewtopic.php?p=191248#191248 Poor Ken  this would be a great time for them to change camps 
_________________ Legal disclaimer for all my posts: I'm not responsible for anything, you are responsible for everything. This is an open and free world with no strings attached.
|
Mon Mar 03, 2008 7:53 pm |
|
 |
Fred
Moderator
Joined: Tue Jan 15, 2008 2:31 pm Posts: 15071 Location: Home sweet home!
|
But but but, they'll try to optimise our code with GASP assembly GASP :-|
I'm sure some of them will come sooner or later, I'm not sure that now is the right time, I've already fallen victim to thinking inside the box a bit too much. I'm making a concerted effort to avoid that. They might be a bit too close to "how it's done" rather than "how it could be done".
When I was looking at memory structure trying to figure our how to setup memory.x at all, I was appalled to find stuff in there that fully isn't required and is misleading and just unused etc. I was expecting a nice modular clean set of files, instead I found Al's code modified and spread out :-| not bad, but not good either. They should have started from blank. Or at least gutted it totally first. and put stuff back in selectively. IMO anyway.
I want them over here (though I doubt Ken will come) but not yet.
Fred.
_________________DIYEFI.org - where Open Source means Open Source, and Free means Freedom FreeEMS.org - the open source engine management system FreeEMS dev diary and its comments thread and my turbo truck!n00bs, do NOT PM or email tech questions! Use the forum! The ever growing list of FreeEMS success stories!
|
Mon Mar 03, 2008 7:58 pm |
|
|