# # Auto-generated specs for AVR device atmega4808 (core avrxmega3, 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 # 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 for a description # of how to use such own spec files. *avrlibc_startfile: crtatmega4808.o%s *avrlibc_devicelib: %{!nodevicelib:-latmega4808} *cc1_n_flash: %{!mn-flash=*:-mn-flash=1} *cc1_rmw: %{mrmw} *cc1_errata_skip: %{!mskip-bug: -mno-skip-bug} *cc1_absdata: %{mabsdata} *asm_arch: -mmcu=avrxmega3 *asm_relax: %{mrelax:--mlink-relax} *asm_rmw: %{mrmw} *asm_errata_skip: %{!mskip-bug: -mno-skip-bug} # Ergaenzung https://www.mikrocontroller.net/topic/477852#5919108 *asm_gccisr: %{!mno-gas-isr-prologues: -mgcc-isr} *link_pmem_wrap: *link_relax: %{mrelax:--relax} *link_arch: %{mmcu=*:-m%*} *link_data_start: -Tdata 0x802800 *link_text_start: *self_spec: %{!mmcu=avr*: % # #elif ... # # If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ # as fallback to determine the name of the device header as # # "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" # # If you provide your own specs file for a device not yet known to # AVR-LibC, you can now define the hook macro __AVR_DEV_LIB_NAME__ # as needed so that # # #include # # will include the desired device header. For ATmega8A the supplement # to *cpp would read # # -D__AVR_DEV_LIB_NAME__=m8a *cpp: -D__AVR_ATmega4808__ -D__AVR_DEVICE_NAME__=atmega4808 -D__AVR_DEV_LIB_NAME__=m4808 %rename link old_link *link: %(old_link)--defsym=__RODATA_PM_OFFSET__=0x4000 # End of file