search for: __flash

Displaying 2 results from an estimated 2 matches for "__flash".

Did you mean: _flash
2019 Oct 09
4
Built in progmem variables in AVR
...u::progmem]] and read variables using assembly. My proposal is to: Use those variables as any other, without creating assembly. While reading them, compiler has all necessary knowledge where the variable is and can generate assembly Possible future improvements: Automatic placement of variables in __flash sections. Take care of reading across 64KB boundary If a variable is const, it can be places automatically in some __flash section AVR devices are old, but still widely used. This feature could improve code quality even further. -------------- next part -------------- An HTML attachment was scru...
2013 Jun 12
0
[LLVMdev] AVR back end
...I've focused first on getting correct code generation for any program, and then when the backend is sort of stable get focused on getting those optimizations done. On the frontend side, we're using clang. We have support for ISR's (signal and interrupt function attributes) and for the __flash keyword to store data in program memory using the named address space extension. @Carlo I haven't tested any C++ program with the backend so no idea about that. We don't have those sort of optimizations implemented yet so it will depend on the default llvm behaviour. It's something tha...