Hello Bob, thanks for this explanation. The reason I'm asking such questions is, I want to find out wether there are cases where SystemInit() is unavoidable. I take your answer as a "no", because constructors usually go, well, into the constructor of a class. I have to admit I use C++ very rarely, though, prefering either plain C or Objective-C.
Am 10.11.2014 um 20:52 schrieb Bob Paddock: > Here is atomic.h ported to ARM which you'll need: > > https://github.com/PaulStoffregen/cores/blob/master/teensy3/util/atomic.h Funny coincident is, one co-developer of mine used Paul Stoffregens library (for Arduino) to port to Teensy3.1 (the port works) and this is exactly the reason why I'm coming up with a plan for an arm-libc. Because everything is custom, custom ... and you have to port over and over again for each new chip. Teensy 3.1 port (from Teensy3) was already the third port to ARM and it took almost as long as long as from Teensy2 (AVR) to Teensy3 (ARM). > There are other things there that may help you as well. I try to put no emphasis on what helps exactly me in exactly this case. IMO, code which helps everybody, everywhere matters. Sorry for such unpleasant words as an answer to your help attempt. It's the fourth time now people seem to assume I'm incapable to solve my particular task currently at hand, which bugs me a bit. If it were just about a single port of a single application for one user I hadn't even subscribed to this list and would already be done. Perhaps I'm a bit behind fashion when trying to solve tasks not only for me. :-} Cheers :-) Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-ing.de/ _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev