Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#37938 - [simavr] not built with support for Atmega16
Attached to Project:
Community Packages
Opened by Pinee Smith (chaikovzki) - Thursday, 28 November 2013, 11:23 GMT
Last edited by Jakob Gruber (schuay) - Sunday, 01 December 2013, 10:11 GMT
Opened by Pinee Smith (chaikovzki) - Thursday, 28 November 2013, 11:23 GMT
Last edited by Jakob Gruber (schuay) - Sunday, 01 December 2013, 10:11 GMT
|
DetailsDescription:
simavr is built without Atmega16 core support ! Atmega16 is a high-performance, low-cost microcontroller compared with atmega128 and atmega8.It's a low-cost chip for learner. I don't konw why compile simavr without support for it. Having atmega16 support is nice because it also supports atmega8, and it is easy to add this support (anymore support). I got sim_mega16.c from https://github.com/buserror-uk/simavr/tree/master/simavr/cores.Then rebuilt a atmega16 support version simavr successfully merely by a few steps and it works fine. But if new official version were released, I'd need to rebuild it. That's as dry as a chip.So I believe maintainer could not despite atmega16 support.Thanks!Happy Thanksgiving Day! Additional info: simavr 1.1-1 sim_mega16.c My steps to add feature: 1)Download PKGBUILD by yaourt or abs; 2)cd to the directory and exec makepkg with option '-o'; 3)Download 'sim_mega16.c' from the site mentioned above to 'src/simavr/simavr/cores/'; 4)Add a newline with '#define CONFIG_MEGA16 1' into sim_core_config.h which is placed in 'src/simavr/simavr/'; 5)Add these into 'sim_core_decl.h' which is placed in the same directory: #if CONFIG_MEGA16 extern avr_kind_t mega16; #endif #if CONFIG_MEGA16 &mega16, #endif 6)cd to the PKGBUILD directory,exec makepkg with option '-e'; 7)Install the rebuilt package. |
This task depends upon
Comment by Pinee Smith (chaikovzki) -
Thursday, 28 November 2013, 11:38 GMT
I'm sorry the site I gave you have a annoying tail '.Then'. It belongs to the next sentence. Suppose you can pick out a correct website.
Comment by Jakob Gruber (schuay) -
Sunday, 01 December 2013, 10:11 GMT
The ATMega16 core was created 4 days ago. It'll be in this package once it's actually released ;)