search for: progmem

Displaying 4 results from an estimated 4 matches for "progmem".

Did you mean: profmem
2019 Oct 09
4
Built in progmem variables in AVR
Hello. I was wondering if it is possible to implement placing RO variables within progmem sections. For now it is possible to just use [[gnu::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...
2013 Jun 10
3
[LLVMdev] AVR back end
Hi All, For quite some time there's been a side project for developing an AVR back end for LLVM: http://sourceforge.net/projects/avr-llvm/ What is required from us to be able to add this work to the LLVM repo? And when do you think would be a good time for us to do that? If this is located somewhere in the docs and I've missed it, pointers would certainly be appreciated. Thanks, Eric
2013 Jun 12
0
[LLVMdev] AVR back end
...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 that will get done in the future, aswell as storing jump/switch tables in progmem. If you want to know any other specific thing about the backend let me know. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130612/6b57efbd/attachment.html>
2020 Mar 25
2
Build Clang/LLVM for AVR
...--target=avr -nostdlibinc -isystem /opt/avr/avr-libc/avr/include --gcc-toolchain=/opt/avr/avr-gcc -mmcu=atmega328p -c main.cpp -o main.o However, when I'm running a compilation on a more complicated embedded programm I get a lot of troubling warnings, e.g. warning: unknown attribute '__progmem__' ignored [-Wunknown-attributes] (which are troubling me, because if all those string constants are put in RAM instead of Flash the RAM will be pretty soon empty ;) ). But those warnings aside I run ultimately into problems when getting to the linking step where it appears there are trouble...