@aandrew, yes, same danadak over at PSOC Forum and PSOC Developer.com Sent a lot of guys and
gals off the cliff over there
Found your comments on IDE interesting, I claim not to be an IDE expert, that's why the comments
you raised caught my eye.
BTW, I thought the APIs were manually written, not some auto generated stuff, other than the GUI input
gnerated changes tot he basic API. I take it thats what HAL is ? Shows you how IDE clueless I apparently
am. I looked at more than one API when having speed issues, found some terrible stuff, and also
some canonical stuff, or at least I could not do better in ASM (that's not saying much
)
When learniung C I diod some testing several years back to see what got generated. Very dependent
on vendor/compiler I found. In one case using PSOC 1 running out of 32K even the typing differences
allowed me to regain almost 4K. Which to you point maybe had I looked deeper and understood make
better might have found more. I promptly used up the 4K......
Many people prefer a helpful editor, but a full blown IDE with all its "helpful" autocompletion and code generation and its own internal databases for generating an equivalent to a Makefile... it's just another layer of abstraction that when (not if, when) it breaks, costs the developer multiple hours of frustration to try to figure out.
You are right, the GUI makefile settings can be cryptic if not well documented. And there is usually bloat
in startup auto generated files. But increasingly I find getting the design done vs in deep understanding
of all those processes is, shamelessly, a welcome outcome. Especially in light of large amounts of FLASH
and speed good enough. If I was doing medical life support or space work or stuff that affected human
safety I would pay more attention. But I have a sizable case of ADD so that would not be a good idea....
life support that is.
My command line comments largely out of IC test work on PDP8 and Teradyne systems. Really got fed up
doing manual makes all the time, paper tape, ugh, and scripting was not effective/complete as an option.
Plus lack of decent editors, more keyboard effort.
For sure abstraction is a tradeoff, one that needs or should require a better understanding of impact.
Maybe I am too trusting...But then so is C, our confidence in it 40 years of use maybe removes most
doubt. But then the individual compiler issues that arise, chiseling away at confidence.
Probably best learning experience I could have is do a simple one off, make, and look at EVERYTHING
produced. Might be a good learning experience.
Sounds like I should re-examine my outlook, but then in a rush to implement ideas I have rattling around
in my head will I find the time or will the siren call of implementation win out as it has done so far as you
can see. Or maybe make is now so simple I have completely missed the boat.
Thanks for taking the time to respond. I am still learning.
Regards, Dana.