mirror of
https://github.com/wagiminator/ATtiny814-USB-PD-Adapter.git
synced 2025-08-08 12:50:58 +03:00
Editorial changes
This commit is contained in:
4667
software/include/avr/iotn1604.h
Normal file
4667
software/include/avr/iotn1604.h
Normal file
File diff suppressed because it is too large
Load Diff
5536
software/include/avr/iotn1614.h
Normal file
5536
software/include/avr/iotn1614.h
Normal file
File diff suppressed because it is too large
Load Diff
4658
software/include/avr/iotn204.h
Normal file
4658
software/include/avr/iotn204.h
Normal file
File diff suppressed because it is too large
Load Diff
5296
software/include/avr/iotn214.h
Normal file
5296
software/include/avr/iotn214.h
Normal file
File diff suppressed because it is too large
Load Diff
4658
software/include/avr/iotn404.h
Normal file
4658
software/include/avr/iotn404.h
Normal file
File diff suppressed because it is too large
Load Diff
5296
software/include/avr/iotn414.h
Normal file
5296
software/include/avr/iotn414.h
Normal file
File diff suppressed because it is too large
Load Diff
4667
software/include/avr/iotn804.h
Normal file
4667
software/include/avr/iotn804.h
Normal file
File diff suppressed because it is too large
Load Diff
5278
software/include/avr/iotn814.h
Normal file
5278
software/include/avr/iotn814.h
Normal file
File diff suppressed because it is too large
Load Diff
64
software/include/component-version.h
Normal file
64
software/include/component-version.h
Normal file
@@ -0,0 +1,64 @@
|
||||
/**
|
||||
* \file
|
||||
*
|
||||
* \brief Component version header file
|
||||
*
|
||||
* Copyright (c) 2021 Atmel Corporation, a wholly owned subsidiary of Microchip Technology Inc.
|
||||
*
|
||||
* \license_start
|
||||
*
|
||||
* \page License
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* \license_stop
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _COMPONENT_VERSION_H_INCLUDED
|
||||
#define _COMPONENT_VERSION_H_INCLUDED
|
||||
|
||||
#define COMPONENT_VERSION_MAJOR 2
|
||||
#define COMPONENT_VERSION_MINOR 7
|
||||
|
||||
//
|
||||
// The COMPONENT_VERSION define is composed of the major and the minor version number.
|
||||
//
|
||||
// The last four digits of the COMPONENT_VERSION is the minor version with leading zeros.
|
||||
// The rest of the COMPONENT_VERSION is the major version.
|
||||
//
|
||||
#define COMPONENT_VERSION 20007
|
||||
|
||||
//
|
||||
// The build number does not refer to the component, but to the build number
|
||||
// of the device pack that provides the component.
|
||||
//
|
||||
#define BUILD_NUMBER 128
|
||||
|
||||
//
|
||||
// The COMPONENT_VERSION_STRING is a string (enclosed in ") that can be used for logging or embedding.
|
||||
//
|
||||
#define COMPONENT_VERSION_STRING "2.7"
|
||||
|
||||
//
|
||||
// The COMPONENT_DATE_STRING contains a timestamp of when the pack was generated.
|
||||
//
|
||||
// The COMPONENT_DATE_STRING is written out using the following strftime pattern.
|
||||
//
|
||||
// "%Y-%m-%d %H:%M:%S"
|
||||
//
|
||||
//
|
||||
#define COMPONENT_DATE_STRING "2021-07-13 10:42:36"
|
||||
|
||||
#endif/* #ifndef _COMPONENT_VERSION_H_INCLUDED */
|
||||
|
BIN
software/include/dev/attiny1604/avrxmega3/crtattiny1604.o
Normal file
BIN
software/include/dev/attiny1604/avrxmega3/crtattiny1604.o
Normal file
Binary file not shown.
BIN
software/include/dev/attiny1604/avrxmega3/libattiny1604.a
Normal file
BIN
software/include/dev/attiny1604/avrxmega3/libattiny1604.a
Normal file
Binary file not shown.
107
software/include/dev/attiny1604/device-specs/specs-attiny1604
Normal file
107
software/include/dev/attiny1604/device-specs/specs-attiny1604
Normal file
@@ -0,0 +1,107 @@
|
||||
#
|
||||
# Auto-generated specs for AVR device attiny1604 (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 <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:
|
||||
crtattiny1604.o%s
|
||||
|
||||
*avrlibc_devicelib:
|
||||
%{!nodevicelib:-lattiny1604}
|
||||
|
||||
*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_gccisr:
|
||||
%{!mno-gas-isr-prologues: -mgcc-isr}
|
||||
|
||||
*asm_errata_skip:
|
||||
%{!mskip-bug: -mno-skip-bug}
|
||||
|
||||
*link_pmem_wrap:
|
||||
%{mpmem-wrap-around: --pmem-wrap-around=16k}
|
||||
|
||||
*link_relax:
|
||||
%{mrelax:--relax}
|
||||
|
||||
*link_arch:
|
||||
%{mmcu=*:-m%*}
|
||||
|
||||
*link_data_start:
|
||||
-Tdata 0x803C00
|
||||
|
||||
*link_text_start:
|
||||
|
||||
|
||||
*self_spec:
|
||||
%<mmcu=* -mmcu=avrxmega3 %<mshort-calls %<msp8
|
||||
|
||||
# AVR-LibC's avr/io.h uses the device specifying macro to determine
|
||||
# the name of the device header. For example, -mmcu=atmega8a triggers
|
||||
# the definition of __AVR_ATmega8A__ and avr/io.h includes the device
|
||||
# header 'iom8a.h' by means of:
|
||||
#
|
||||
# ...
|
||||
# #elif defined (__AVR_ATmega8A__)
|
||||
# # include <avr/iom8a.h>
|
||||
# #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 <avr/io.h>
|
||||
#
|
||||
# will include the desired device header. For ATmega8A the supplement
|
||||
# to *cpp would read
|
||||
#
|
||||
# -D__AVR_DEV_LIB_NAME__=m8a
|
||||
|
||||
|
||||
*cpp:
|
||||
-D__AVR_ATtiny1604__ -D__AVR_DEVICE_NAME__=attiny1604 -D__AVR_DEV_LIB_NAME__=tn1604
|
||||
|
||||
%rename link old_link
|
||||
|
||||
*link:
|
||||
%(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000
|
||||
|
||||
# End of file
|
BIN
software/include/dev/attiny1614/avrxmega3/crtattiny1614.o
Normal file
BIN
software/include/dev/attiny1614/avrxmega3/crtattiny1614.o
Normal file
Binary file not shown.
BIN
software/include/dev/attiny1614/avrxmega3/libattiny1614.a
Normal file
BIN
software/include/dev/attiny1614/avrxmega3/libattiny1614.a
Normal file
Binary file not shown.
107
software/include/dev/attiny1614/device-specs/specs-attiny1614
Normal file
107
software/include/dev/attiny1614/device-specs/specs-attiny1614
Normal file
@@ -0,0 +1,107 @@
|
||||
#
|
||||
# Auto-generated specs for AVR device attiny1614 (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 <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:
|
||||
crtattiny1614.o%s
|
||||
|
||||
*avrlibc_devicelib:
|
||||
%{!nodevicelib:-lattiny1614}
|
||||
|
||||
*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_gccisr:
|
||||
%{!mno-gas-isr-prologues: -mgcc-isr}
|
||||
|
||||
*asm_errata_skip:
|
||||
%{!mskip-bug: -mno-skip-bug}
|
||||
|
||||
*link_pmem_wrap:
|
||||
%{mpmem-wrap-around: --pmem-wrap-around=16k}
|
||||
|
||||
*link_relax:
|
||||
%{mrelax:--relax}
|
||||
|
||||
*link_arch:
|
||||
%{mmcu=*:-m%*}
|
||||
|
||||
*link_data_start:
|
||||
-Tdata 0x803800
|
||||
|
||||
*link_text_start:
|
||||
|
||||
|
||||
*self_spec:
|
||||
%<mmcu=* -mmcu=avrxmega3 %<mshort-calls %<msp8
|
||||
|
||||
# AVR-LibC's avr/io.h uses the device specifying macro to determine
|
||||
# the name of the device header. For example, -mmcu=atmega8a triggers
|
||||
# the definition of __AVR_ATmega8A__ and avr/io.h includes the device
|
||||
# header 'iom8a.h' by means of:
|
||||
#
|
||||
# ...
|
||||
# #elif defined (__AVR_ATmega8A__)
|
||||
# # include <avr/iom8a.h>
|
||||
# #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 <avr/io.h>
|
||||
#
|
||||
# will include the desired device header. For ATmega8A the supplement
|
||||
# to *cpp would read
|
||||
#
|
||||
# -D__AVR_DEV_LIB_NAME__=m8a
|
||||
|
||||
|
||||
*cpp:
|
||||
-D__AVR_ATtiny1614__ -D__AVR_DEVICE_NAME__=attiny1614 -D__AVR_DEV_LIB_NAME__=tn1614
|
||||
|
||||
%rename link old_link
|
||||
|
||||
*link:
|
||||
%(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000
|
||||
|
||||
# End of file
|
Binary file not shown.
Binary file not shown.
107
software/include/dev/attiny204/device-specs/specs-attiny204
Normal file
107
software/include/dev/attiny204/device-specs/specs-attiny204
Normal file
@@ -0,0 +1,107 @@
|
||||
#
|
||||
# Auto-generated specs for AVR device attiny204 (core avrxmega3, 16-bit SP, short-calls)
|
||||
#
|
||||
# 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:
|
||||
crtattiny204.o%s
|
||||
|
||||
*avrlibc_devicelib:
|
||||
%{!nodevicelib:-lattiny204}
|
||||
|
||||
*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_gccisr:
|
||||
%{!mno-gas-isr-prologues: -mgcc-isr}
|
||||
|
||||
*asm_errata_skip:
|
||||
%{!mskip-bug: -mno-skip-bug}
|
||||
|
||||
*link_pmem_wrap:
|
||||
|
||||
|
||||
*link_relax:
|
||||
%{mrelax:--relax}
|
||||
|
||||
*link_arch:
|
||||
%{mmcu=*:-m%*}
|
||||
|
||||
*link_data_start:
|
||||
-Tdata 0x803F80
|
||||
|
||||
*link_text_start:
|
||||
|
||||
|
||||
*self_spec:
|
||||
%<mmcu=* -mmcu=avrxmega3 -mshort-calls %<msp8
|
||||
|
||||
# AVR-LibC's avr/io.h uses the device specifying macro to determine
|
||||
# the name of the device header. For example, -mmcu=atmega8a triggers
|
||||
# the definition of __AVR_ATmega8A__ and avr/io.h includes the device
|
||||
# header 'iom8a.h' by means of:
|
||||
#
|
||||
# ...
|
||||
# #elif defined (__AVR_ATmega8A__)
|
||||
# # include <avr/iom8a.h>
|
||||
# #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 <avr/io.h>
|
||||
#
|
||||
# will include the desired device header. For ATmega8A the supplement
|
||||
# to *cpp would read
|
||||
#
|
||||
# -D__AVR_DEV_LIB_NAME__=m8a
|
||||
|
||||
|
||||
*cpp:
|
||||
-D__AVR_ATtiny204__ -D__AVR_DEVICE_NAME__=attiny204 -D__AVR_DEV_LIB_NAME__=tn204
|
||||
|
||||
%rename link old_link
|
||||
|
||||
*link:
|
||||
%(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000
|
||||
|
||||
# End of file
|
Binary file not shown.
Binary file not shown.
107
software/include/dev/attiny214/device-specs/specs-attiny214
Normal file
107
software/include/dev/attiny214/device-specs/specs-attiny214
Normal file
@@ -0,0 +1,107 @@
|
||||
#
|
||||
# Auto-generated specs for AVR device attiny214 (core avrxmega3, 16-bit SP, short-calls)
|
||||
#
|
||||
# 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:
|
||||
crtattiny214.o%s
|
||||
|
||||
*avrlibc_devicelib:
|
||||
%{!nodevicelib:-lattiny214}
|
||||
|
||||
*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_gccisr:
|
||||
%{!mno-gas-isr-prologues: -mgcc-isr}
|
||||
|
||||
*asm_errata_skip:
|
||||
%{!mskip-bug: -mno-skip-bug}
|
||||
|
||||
*link_pmem_wrap:
|
||||
|
||||
|
||||
*link_relax:
|
||||
%{mrelax:--relax}
|
||||
|
||||
*link_arch:
|
||||
%{mmcu=*:-m%*}
|
||||
|
||||
*link_data_start:
|
||||
-Tdata 0x803F80
|
||||
|
||||
*link_text_start:
|
||||
|
||||
|
||||
*self_spec:
|
||||
%<mmcu=* -mmcu=avrxmega3 -mshort-calls %<msp8
|
||||
|
||||
# AVR-LibC's avr/io.h uses the device specifying macro to determine
|
||||
# the name of the device header. For example, -mmcu=atmega8a triggers
|
||||
# the definition of __AVR_ATmega8A__ and avr/io.h includes the device
|
||||
# header 'iom8a.h' by means of:
|
||||
#
|
||||
# ...
|
||||
# #elif defined (__AVR_ATmega8A__)
|
||||
# # include <avr/iom8a.h>
|
||||
# #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 <avr/io.h>
|
||||
#
|
||||
# will include the desired device header. For ATmega8A the supplement
|
||||
# to *cpp would read
|
||||
#
|
||||
# -D__AVR_DEV_LIB_NAME__=m8a
|
||||
|
||||
|
||||
*cpp:
|
||||
-D__AVR_ATtiny214__ -D__AVR_DEVICE_NAME__=attiny214 -D__AVR_DEV_LIB_NAME__=tn214
|
||||
|
||||
%rename link old_link
|
||||
|
||||
*link:
|
||||
%(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000
|
||||
|
||||
# End of file
|
Binary file not shown.
Binary file not shown.
107
software/include/dev/attiny404/device-specs/specs-attiny404
Normal file
107
software/include/dev/attiny404/device-specs/specs-attiny404
Normal file
@@ -0,0 +1,107 @@
|
||||
#
|
||||
# Auto-generated specs for AVR device attiny404 (core avrxmega3, 16-bit SP, short-calls)
|
||||
#
|
||||
# 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:
|
||||
crtattiny404.o%s
|
||||
|
||||
*avrlibc_devicelib:
|
||||
%{!nodevicelib:-lattiny404}
|
||||
|
||||
*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_gccisr:
|
||||
%{!mno-gas-isr-prologues: -mgcc-isr}
|
||||
|
||||
*asm_errata_skip:
|
||||
%{!mskip-bug: -mno-skip-bug}
|
||||
|
||||
*link_pmem_wrap:
|
||||
|
||||
|
||||
*link_relax:
|
||||
%{mrelax:--relax}
|
||||
|
||||
*link_arch:
|
||||
%{mmcu=*:-m%*}
|
||||
|
||||
*link_data_start:
|
||||
-Tdata 0x803F00
|
||||
|
||||
*link_text_start:
|
||||
|
||||
|
||||
*self_spec:
|
||||
%<mmcu=* -mmcu=avrxmega3 -mshort-calls %<msp8
|
||||
|
||||
# AVR-LibC's avr/io.h uses the device specifying macro to determine
|
||||
# the name of the device header. For example, -mmcu=atmega8a triggers
|
||||
# the definition of __AVR_ATmega8A__ and avr/io.h includes the device
|
||||
# header 'iom8a.h' by means of:
|
||||
#
|
||||
# ...
|
||||
# #elif defined (__AVR_ATmega8A__)
|
||||
# # include <avr/iom8a.h>
|
||||
# #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 <avr/io.h>
|
||||
#
|
||||
# will include the desired device header. For ATmega8A the supplement
|
||||
# to *cpp would read
|
||||
#
|
||||
# -D__AVR_DEV_LIB_NAME__=m8a
|
||||
|
||||
|
||||
*cpp:
|
||||
-D__AVR_ATtiny404__ -D__AVR_DEVICE_NAME__=attiny404 -D__AVR_DEV_LIB_NAME__=tn404
|
||||
|
||||
%rename link old_link
|
||||
|
||||
*link:
|
||||
%(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000
|
||||
|
||||
# End of file
|
Binary file not shown.
Binary file not shown.
107
software/include/dev/attiny414/device-specs/specs-attiny414
Normal file
107
software/include/dev/attiny414/device-specs/specs-attiny414
Normal file
@@ -0,0 +1,107 @@
|
||||
#
|
||||
# Auto-generated specs for AVR device attiny414 (core avrxmega3, 16-bit SP, short-calls)
|
||||
#
|
||||
# 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:
|
||||
crtattiny414.o%s
|
||||
|
||||
*avrlibc_devicelib:
|
||||
%{!nodevicelib:-lattiny414}
|
||||
|
||||
*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_gccisr:
|
||||
%{!mno-gas-isr-prologues: -mgcc-isr}
|
||||
|
||||
*asm_errata_skip:
|
||||
%{!mskip-bug: -mno-skip-bug}
|
||||
|
||||
*link_pmem_wrap:
|
||||
|
||||
|
||||
*link_relax:
|
||||
%{mrelax:--relax}
|
||||
|
||||
*link_arch:
|
||||
%{mmcu=*:-m%*}
|
||||
|
||||
*link_data_start:
|
||||
-Tdata 0x803F00
|
||||
|
||||
*link_text_start:
|
||||
|
||||
|
||||
*self_spec:
|
||||
%<mmcu=* -mmcu=avrxmega3 -mshort-calls %<msp8
|
||||
|
||||
# AVR-LibC's avr/io.h uses the device specifying macro to determine
|
||||
# the name of the device header. For example, -mmcu=atmega8a triggers
|
||||
# the definition of __AVR_ATmega8A__ and avr/io.h includes the device
|
||||
# header 'iom8a.h' by means of:
|
||||
#
|
||||
# ...
|
||||
# #elif defined (__AVR_ATmega8A__)
|
||||
# # include <avr/iom8a.h>
|
||||
# #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 <avr/io.h>
|
||||
#
|
||||
# will include the desired device header. For ATmega8A the supplement
|
||||
# to *cpp would read
|
||||
#
|
||||
# -D__AVR_DEV_LIB_NAME__=m8a
|
||||
|
||||
|
||||
*cpp:
|
||||
-D__AVR_ATtiny414__ -D__AVR_DEVICE_NAME__=attiny414 -D__AVR_DEV_LIB_NAME__=tn414
|
||||
|
||||
%rename link old_link
|
||||
|
||||
*link:
|
||||
%(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000
|
||||
|
||||
# End of file
|
Binary file not shown.
Binary file not shown.
107
software/include/dev/attiny804/device-specs/specs-attiny804
Normal file
107
software/include/dev/attiny804/device-specs/specs-attiny804
Normal file
@@ -0,0 +1,107 @@
|
||||
#
|
||||
# Auto-generated specs for AVR device attiny804 (core avrxmega3, 16-bit SP, short-calls)
|
||||
#
|
||||
# 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:
|
||||
crtattiny804.o%s
|
||||
|
||||
*avrlibc_devicelib:
|
||||
%{!nodevicelib:-lattiny804}
|
||||
|
||||
*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_gccisr:
|
||||
%{!mno-gas-isr-prologues: -mgcc-isr}
|
||||
|
||||
*asm_errata_skip:
|
||||
%{!mskip-bug: -mno-skip-bug}
|
||||
|
||||
*link_pmem_wrap:
|
||||
%{!mno-pmem-wrap-around: --pmem-wrap-around=8k}
|
||||
|
||||
*link_relax:
|
||||
%{mrelax:--relax}
|
||||
|
||||
*link_arch:
|
||||
%{mmcu=*:-m%*}
|
||||
|
||||
*link_data_start:
|
||||
-Tdata 0x803E00
|
||||
|
||||
*link_text_start:
|
||||
|
||||
|
||||
*self_spec:
|
||||
%<mmcu=* -mmcu=avrxmega3 -mshort-calls %<msp8
|
||||
|
||||
# AVR-LibC's avr/io.h uses the device specifying macro to determine
|
||||
# the name of the device header. For example, -mmcu=atmega8a triggers
|
||||
# the definition of __AVR_ATmega8A__ and avr/io.h includes the device
|
||||
# header 'iom8a.h' by means of:
|
||||
#
|
||||
# ...
|
||||
# #elif defined (__AVR_ATmega8A__)
|
||||
# # include <avr/iom8a.h>
|
||||
# #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 <avr/io.h>
|
||||
#
|
||||
# will include the desired device header. For ATmega8A the supplement
|
||||
# to *cpp would read
|
||||
#
|
||||
# -D__AVR_DEV_LIB_NAME__=m8a
|
||||
|
||||
|
||||
*cpp:
|
||||
-D__AVR_ATtiny804__ -D__AVR_DEVICE_NAME__=attiny804 -D__AVR_DEV_LIB_NAME__=tn804
|
||||
|
||||
%rename link old_link
|
||||
|
||||
*link:
|
||||
%(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000
|
||||
|
||||
# End of file
|
Binary file not shown.
Binary file not shown.
107
software/include/dev/attiny814/device-specs/specs-attiny814
Normal file
107
software/include/dev/attiny814/device-specs/specs-attiny814
Normal file
@@ -0,0 +1,107 @@
|
||||
#
|
||||
# Auto-generated specs for AVR device attiny814 (core avrxmega3, 16-bit SP, short-calls)
|
||||
#
|
||||
# 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:
|
||||
crtattiny814.o%s
|
||||
|
||||
*avrlibc_devicelib:
|
||||
%{!nodevicelib:-lattiny814}
|
||||
|
||||
*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_gccisr:
|
||||
%{!mno-gas-isr-prologues: -mgcc-isr}
|
||||
|
||||
*asm_errata_skip:
|
||||
%{!mskip-bug: -mno-skip-bug}
|
||||
|
||||
*link_pmem_wrap:
|
||||
%{!mno-pmem-wrap-around: --pmem-wrap-around=8k}
|
||||
|
||||
*link_relax:
|
||||
%{mrelax:--relax}
|
||||
|
||||
*link_arch:
|
||||
%{mmcu=*:-m%*}
|
||||
|
||||
*link_data_start:
|
||||
-Tdata 0x803E00
|
||||
|
||||
*link_text_start:
|
||||
|
||||
|
||||
*self_spec:
|
||||
%<mmcu=* -mmcu=avrxmega3 -mshort-calls %<msp8
|
||||
|
||||
# AVR-LibC's avr/io.h uses the device specifying macro to determine
|
||||
# the name of the device header. For example, -mmcu=atmega8a triggers
|
||||
# the definition of __AVR_ATmega8A__ and avr/io.h includes the device
|
||||
# header 'iom8a.h' by means of:
|
||||
#
|
||||
# ...
|
||||
# #elif defined (__AVR_ATmega8A__)
|
||||
# # include <avr/iom8a.h>
|
||||
# #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 <avr/io.h>
|
||||
#
|
||||
# will include the desired device header. For ATmega8A the supplement
|
||||
# to *cpp would read
|
||||
#
|
||||
# -D__AVR_DEV_LIB_NAME__=m8a
|
||||
|
||||
|
||||
*cpp:
|
||||
-D__AVR_ATtiny814__ -D__AVR_DEVICE_NAME__=attiny814 -D__AVR_DEV_LIB_NAME__=tn814
|
||||
|
||||
%rename link old_link
|
||||
|
||||
*link:
|
||||
%(old_link)--defsym=__RODATA_PM_OFFSET__=0x8000
|
||||
|
||||
# End of file
|
Reference in New Issue
Block a user