now I'm able to compile FemtoOS examples using AVR Studio 5.0. So I hope, you can participate.
If you use the newer toolchain, the mint8-switch gives an internal segmentation fault (for Studio V4.19 with AVR toolchain and also for Studio V5.0). Therefore unfortunately at the moment the produced code is larger than Ruud's examples.
Yesterday I have analyzed the gcc option-recommendation and so final I have found an option set for Compilation / Linker / Assembler in AVR Studio 5:
Hi,
now I'm able to compile FemtoOS examples using AVR Studio 5.0. So I hope, you can participate.
If you use the newer toolchain, the mint8-switch gives an internal segmentation fault (for Studio V4.19 with AVR toolchain and also for Studio V5.0). Therefore unfortunately at the moment the produced code is larger than Ruud's examples.
Yesterday I have analyzed the gcc option-recommendation and so final I have found an option set for Compilation / Linker / Assembler in AVR Studio 5:
AVR/GNU C Compiler: -funsigned-char -Os -fpack-struct -fshort-enums -g3 -Wall -c -ffunction-sections -fdata-sections -fomit-frame-pointer -Winline -Wno-main -Wundef -mmcu=atmega16
AVR/GNU C Linker: -Wl,-gc-sections -Wl,-defsym=__stack=xOS+xOSstackShift -Wl,-relax -mmcu=atmega16
AVR/GNU C Assembler: -Wa,-gdwarf2 -x assembler-with-cpp -c -o"femtoos_startup.o" -mmcu=atmega16
My hardware is ATmega16 and Tiny45.
best regards
Magnus
the error persists in both the 4.19 and in the 5