Hi all,
I just bought an arduino r4 wifi, and I'd like to be able to use C with make. No arduino IDE if possible. I'll use it some, but my goal is to get better at C programming and understanding how things work under the hood. I know there's avr-gcc for other arduino boards, but what about the uno r4 wifi? It's an arm processor, and doesn't support avr.
Any ideas of where I can start? I've looked at the datasheet, schematics and the like.
Is your real goal learning how to use 'make' files manually or to improve your C coding skills? If the later, there's no reason to leave the IDE environment.
The problem is that much of standard C/C++ doesn't work because there is no standard display, keyboard, storage, or operating system.
And standard C/C++ doesn't include anything to read/write an I/O pin, or anything for Wi-Fi, or a lot of other things like graphics or a mouse or color, etc. C++ itself is still HUGE (C is more "manageable") but all of that is handled by additional libraries.
If you wanted to really get "under the hood" you could study machine/assembly language for the particular processor and maybe write a compiler. But, I'd guess that writing a compiler is at-least 4th-year university computer science.