On 19 April 2016 at 19:53, Georg Icking-Konert <ick...@onlinehome.de> wrote: > Hi Nick, > > I totally agree that the SPL headers (and functions) are not very > convenient. However, "unfortunately“...
Hi Georg, Agreed. The frustrations I felt caused me to write an angry letter to ST product manager, but in the end I decided not to send it. They make good silicon, with great specs and at a great price. From my tests in brownout conditions more repeatable than AZ Microchip and with same paper specs ADCs seem slightly less noisy. In principle I agree with their apparent ethos of allowing things to develop through the market, but their apparent abdication of responsibility for setting the scene and establishing good standards in the software sector damages adoption of their products more than they appreciate. The interests of the tool vendors don't necessarily align well with the interests of developers or with the interests of STM. I think the STM8 development area is ripe for user friendly extension with free software. Arizona Microchip have the right idea introducing the XC headers to unify programming across their product range. > Due to the mentioned SPL licence issue and for convenience I developed my > own header for STM8S and STM8L, which is available as part of a loose > collection of templates under > > https://github.com/gicking/STM8_templates/blob/master/STM8_Lib/stm8as.h > > This header allows byte or bitfield access (where suitable). The templates > are compatible with both STVD/Cosmic and SDCC. The latter currently uses > Makefiles, since I am still looking for a suitable, lean, portable IDE to > facilitate development under SDCC. Any idea/hint…? > > Hope this is of use for you!? I'll certainly include it and try it out. I think you and I have the same ideas. Regarding IDEs... Since I don't have a lot of experience wit these, don't put too much weight onto my answer. The obvious answer, which you probably already know about is Eclipse IDE with CDT extension. This has nice code indentation, highlighting and will warn you if variables are undeclared. It will provide in-line code completion recursively for that which is defined in your headers and warns in-line about C syntax errors. Available through Linux package management systems, and for Windows and Mac and is FLOSS. It's not particularly light weight, but is snappy on modern hardware. Even without integrating a compiler and debugging features, it appears at first glance quite usable. I can imagine using it with some helper scripts called from the command line. I wouldn't be surprised to find an XML file somewhere, where the tools and standard includes can be defined. Regards Nick. ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user