This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Ping^1: [patch,avr] Add suport for devices from the 0-series.


Ping ?

Am 08.11.19 um 17:19 schrieb Georg-Johann Lay:
Hi,

this patch adds support for a few more AVR devices.  Because the offset where flash is seen in RAM deviates from the settings for the family (and hence also from the linker script defaults), a new field in avr_mcu_t is needed to express this so that specs can be generated appropriately.

The AVR_MCU lines in avr-mcus.def are longer than 80 chars because it's easier to maintain 1 device = 1 line entries.  And it's easier to scan them with the awk scripts.

Ok for trunk?

Johann

     Add support for AVR devices from the 0-series.

     * config/avr/avr-arch.h (avr_mcu_t) <flash_pm_offset>: New field.
     * config/avr/avr-devices.c (avr_mcu_types): Adjust initializers.
     * config/avr/avr-mcus.def (AVR_MCU): Add respective field.
     * config/avr/specs.h (LINK_SPEC) <%(link_pm_base_address)>: Add.
     * config/avr/gen-avr-mmcu-specs.c (print_mcu)
     <*cpp, *cpp_mcu, *cpp_avrlibc, *link_pm_base_address>: Emit code
     for spec definitions.
     * doc/avr-mmcu.texi: Regenerate.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]