Naive new user of Photon
(but very experienced with C/C++ on ARM Cortex in traditional C lib development)
How can one see the linker output summary from the map file? sizes of code, rodata, rwdata? How much flash,ram is left?
How do I see/control the stack and heap sizes?
How do I create a multi-file project with mixes of .c, .c++ and .h?
Searching posts here, it seems no one has documented how to bypass the Arduino-like Serial.println() and use printf, scanf et al, via the simple stdio __write() et al so stdin, stdout can be used on USB or hardware serial. Essential for me.
Use of CLI
Instructions need a rewrite- by someone who empathizes with a newbie to Photon. As is, the instructions “start in the middle”.
My oh my, from other projects, I must have 5 versions of GCC on this Windows 7 PC. I tried to find clear and concise instructions on how to use a local IDE/compiler for Photon. Web IDE will do for a while. Much better than mbed did with Keil.
Most of my work has been with IAR’s EWARM and ST’s HAL (not the depreciated Standard Peripheral Libraries/SPL).
But too, I’ve used the heck out of Visual Micro’s free IDE with the free Visual Studio 2013. It’s very good. I’ve used it with Teensy 3 (ARM Cortex).
And there’s Visual GDB Excellent. This and the above are Windows-only, so for the Mac people, and the 1.3% Linux people, they don’t get on to the radar.
Hindsight will show the above dumb newbie questions, but alas.