Gast
#4640654
Ich arbeite mit winAVR2010 und wollte auf den Atmega328pb umsteigen. Läuft leider nicht. Nach dieser Anleitung die toolchain geändert: Beitrag "WinAVR und neue Toolchain" winAVR scheint zu funktionieren. Nur leider kennt das Programm den pb nicht. iom328pb.h ist nicht vorhanden. Wenn man diese Datei hinzufügt, fehlt irgendwas wie crm328p.o. Es gibt eine Datei specs-atmega328pb, die wohl damit was zu tun haben muss, nur was man damit machen soll, ist mir leider völlig unklar. # # Auto-generated specs for AVR device atmega328pb (core avr5, 16-bit SP) # # Generated by : ./gcc/config/avr/gen-avr-mmcu-specs.c # Generated from : ./gcc/config/gcc.c # ./gcc/config/avr/specs.h # ./gcc/config/avr/avrlibc.h # Used by : avr-gcc compiler driver # Used for : building command options for sub-processes # # See <https://gcc.gnu.org/onlinedocs/gcc/Spec-Files.html> # for a documentation of spec files. # If you intend to use an existing device specs file as a starting point # for a new device spec file, make sure you are copying from a specs # file for a device from the same core architecture and SP width. # See <https://gcc.gnu.org/gcc-5/changes.html> for a description # of how to use such own spec files. *avrlibc_startfile: crtatmega328pb.o%s *avrlibc_devicelib: %{!nodevicelib:-latmega328pb} *cc1_n_flash: %{!mn-flash=*:-mn-flash=1} .... Bin für jede Hilfe dankbar.