1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/msp430_common: update vendor header files

This commit is contained in:
Marian Buschsieweke 2023-05-22 18:02:34 +02:00 committed by Marian Buschsieweke
parent 72914bb197
commit 6df03ecb93
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94
14 changed files with 788 additions and 738 deletions

View File

@ -1,6 +1,42 @@
Build 1.212 (GCC)
=================
07/19/2021
New device support:
------------------
- None
New features / changes:
-----------------------
- None
Bug fixes:
----------
- Fix missing lowtext section for GCC linker files
Build 1.211 (GCC)
=================
11/16/2020
New device support:
------------------
- None
New features / changes:
-----------------------
- Aligned GCC linker command file template for MSP430FR and other MSP430 devices
to allow for easier diffs
Bug fixes:
----------
- Fixed faulty PORT register definition and references for several FR2xx, FR5xx
and FR6xx devices
- Fixed typo in MSP430G2 family device header files
Build 1.210 (GCC)
=================
05/14/2020
05/05/2020
New device support:
------------------

File diff suppressed because it is too large Load Diff

View File

@ -33,7 +33,7 @@
*
******************************************************************************/
/* 1.210 */
/* 1.212 */
#ifndef __IN430_H__
#define __IN430_H__

View File

@ -33,7 +33,7 @@
*
******************************************************************************/
/* 1.210 */
/* 1.212 */
#if !defined(_IOMACROS_H_)
#define _IOMACROS_H_

View File

@ -57,7 +57,7 @@
#ifndef __msp430x16x
#define __msp430x16x
#define __MSP430_HEADER_VERSION__ 1210
#define __MSP430_HEADER_VERSION__ 1212
#ifdef __cplusplus
extern "C" {

View File

@ -1,5 +1,5 @@
/* ============================================================================ */
/* Copyright (c) 2020, Texas Instruments Incorporated */
/* Copyright (c) 2021, Texas Instruments Incorporated */
/* All rights reserved. */
/* */
/* Redistribution and use in source and binary forms, with or without */
@ -31,7 +31,7 @@
/* ============================================================================ */
/* This file supports MSP430F1611 devices. */
/* Version: 1.210 */
/* Version: 1.212 */
/* Default linker script, for normal executables */
OUTPUT_ARCH(msp430)
@ -128,10 +128,10 @@ SECTIONS
directory crtbegin.o is in. */
KEEP (*crtbegin*.o(.ctors))
/* We don't want to include the .ctor section from from the
crtend.o file until after the sorted ctors. The .ctor section
from the crtend file contains the end of ctors marker and it
must be last */
/* We don't want to include the .ctor section from the crtend.o
file until after the sorted ctors. The .ctor section from
the crtend file contains the end of ctors marker and it must
be last */
KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
KEEP (*(SORT(.ctors.*)))
KEEP (*(.ctors))
@ -250,6 +250,8 @@ SECTIONS
.infoA : {} > INFOA /* MSP430 INFO FLASH MEMORY SEGMENTS */
.infoB : {} > INFOB
/* The rest are all not normally part of the runtime image. */
.MSP430.attributes 0 :
{
KEEP (*(.MSP430.attributes))
@ -257,8 +259,6 @@ SECTIONS
KEEP (*(__TI_build_attributes))
}
/* The rest are all not normally part of the runtime image. */
/* Stabs debugging sections. */
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }
@ -270,16 +270,16 @@ SECTIONS
/* DWARF debug sections.
Symbols in the DWARF debugging sections are relative to the beginning
of the section so we begin them at 0. */
/* DWARF 1 */
/* DWARF 1. */
.debug 0 : { *(.debug) }
.line 0 : { *(.line) }
/* GNU DWARF 1 extensions */
/* GNU DWARF 1 extensions. */
.debug_srcinfo 0 : { *(.debug_srcinfo) }
.debug_sfnames 0 : { *(.debug_sfnames) }
/* DWARF 1.1 and DWARF 2 */
/* DWARF 1.1 and DWARF 2. */
.debug_aranges 0 : { *(.debug_aranges) }
.debug_pubnames 0 : { *(.debug_pubnames) }
/* DWARF 2 */
/* DWARF 2. */
.debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
.debug_abbrev 0 : { *(.debug_abbrev) }
.debug_line 0 : { *(.debug_line .debug_line.* .debug_line_end ) }
@ -287,11 +287,17 @@ SECTIONS
.debug_str 0 : { *(.debug_str) }
.debug_loc 0 : { *(.debug_loc) }
.debug_macinfo 0 : { *(.debug_macinfo) }
/* SGI/MIPS DWARF 2 extensions */
/* SGI/MIPS DWARF 2 extensions. */
.debug_weaknames 0 : { *(.debug_weaknames) }
.debug_funcnames 0 : { *(.debug_funcnames) }
.debug_typenames 0 : { *(.debug_typenames) }
.debug_varnames 0 : { *(.debug_varnames) }
/* DWARF 3 */
.debug_pubtypes 0 : { *(.debug_pubtypes) }
.debug_ranges 0 : { *(.debug_ranges) }
/* DWARF Extension. */
.debug_macro 0 : { *(.debug_macro) }
/DISCARD/ : { *(.note.GNU-stack) }
}

View File

@ -1,5 +1,5 @@
/* ============================================================================ */
/* Copyright (c) 2020, Texas Instruments Incorporated */
/* Copyright (c) 2021, Texas Instruments Incorporated */
/* All rights reserved. */
/* */
/* Redistribution and use in source and binary forms, with or without */
@ -31,7 +31,7 @@
/* ============================================================================ */
/* This file supports MSP430F1611 devices. */
/* Version: 1.210 */
/* Version: 1.212 */
/************************************************************
* STANDARD BITS

View File

@ -57,7 +57,7 @@
#ifndef __msp430x16x
#define __msp430x16x
#define __MSP430_HEADER_VERSION__ 1210
#define __MSP430_HEADER_VERSION__ 1212
#ifdef __cplusplus
extern "C" {

View File

@ -1,5 +1,5 @@
/* ============================================================================ */
/* Copyright (c) 2020, Texas Instruments Incorporated */
/* Copyright (c) 2021, Texas Instruments Incorporated */
/* All rights reserved. */
/* */
/* Redistribution and use in source and binary forms, with or without */
@ -31,7 +31,7 @@
/* ============================================================================ */
/* This file supports MSP430F1612 devices. */
/* Version: 1.210 */
/* Version: 1.212 */
/* Default linker script, for normal executables */
OUTPUT_ARCH(msp430)
@ -128,10 +128,10 @@ SECTIONS
directory crtbegin.o is in. */
KEEP (*crtbegin*.o(.ctors))
/* We don't want to include the .ctor section from from the
crtend.o file until after the sorted ctors. The .ctor section
from the crtend file contains the end of ctors marker and it
must be last */
/* We don't want to include the .ctor section from the crtend.o
file until after the sorted ctors. The .ctor section from
the crtend file contains the end of ctors marker and it must
be last */
KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
KEEP (*(SORT(.ctors.*)))
KEEP (*(.ctors))
@ -250,6 +250,8 @@ SECTIONS
.infoA : {} > INFOA /* MSP430 INFO FLASH MEMORY SEGMENTS */
.infoB : {} > INFOB
/* The rest are all not normally part of the runtime image. */
.MSP430.attributes 0 :
{
KEEP (*(.MSP430.attributes))
@ -257,8 +259,6 @@ SECTIONS
KEEP (*(__TI_build_attributes))
}
/* The rest are all not normally part of the runtime image. */
/* Stabs debugging sections. */
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }
@ -270,16 +270,16 @@ SECTIONS
/* DWARF debug sections.
Symbols in the DWARF debugging sections are relative to the beginning
of the section so we begin them at 0. */
/* DWARF 1 */
/* DWARF 1. */
.debug 0 : { *(.debug) }
.line 0 : { *(.line) }
/* GNU DWARF 1 extensions */
/* GNU DWARF 1 extensions. */
.debug_srcinfo 0 : { *(.debug_srcinfo) }
.debug_sfnames 0 : { *(.debug_sfnames) }
/* DWARF 1.1 and DWARF 2 */
/* DWARF 1.1 and DWARF 2. */
.debug_aranges 0 : { *(.debug_aranges) }
.debug_pubnames 0 : { *(.debug_pubnames) }
/* DWARF 2 */
/* DWARF 2. */
.debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
.debug_abbrev 0 : { *(.debug_abbrev) }
.debug_line 0 : { *(.debug_line .debug_line.* .debug_line_end ) }
@ -287,11 +287,17 @@ SECTIONS
.debug_str 0 : { *(.debug_str) }
.debug_loc 0 : { *(.debug_loc) }
.debug_macinfo 0 : { *(.debug_macinfo) }
/* SGI/MIPS DWARF 2 extensions */
/* SGI/MIPS DWARF 2 extensions. */
.debug_weaknames 0 : { *(.debug_weaknames) }
.debug_funcnames 0 : { *(.debug_funcnames) }
.debug_typenames 0 : { *(.debug_typenames) }
.debug_varnames 0 : { *(.debug_varnames) }
/* DWARF 3 */
.debug_pubtypes 0 : { *(.debug_pubtypes) }
.debug_ranges 0 : { *(.debug_ranges) }
/* DWARF Extension. */
.debug_macro 0 : { *(.debug_macro) }
/DISCARD/ : { *(.note.GNU-stack) }
}

View File

@ -1,5 +1,5 @@
/* ============================================================================ */
/* Copyright (c) 2020, Texas Instruments Incorporated */
/* Copyright (c) 2021, Texas Instruments Incorporated */
/* All rights reserved. */
/* */
/* Redistribution and use in source and binary forms, with or without */
@ -31,7 +31,7 @@
/* ============================================================================ */
/* This file supports MSP430F1612 devices. */
/* Version: 1.210 */
/* Version: 1.212 */
/************************************************************
* STANDARD BITS

View File

@ -54,7 +54,7 @@
#define __MSP430_HAS_MSP430X_CPU__ /* Definition to show that it has MSP430X CPU */
#define __MSP430_HEADER_VERSION__ 1210
#define __MSP430_HEADER_VERSION__ 1212
#ifdef __cplusplus
extern "C" {

View File

@ -1,5 +1,5 @@
/* ============================================================================ */
/* Copyright (c) 2020, Texas Instruments Incorporated */
/* Copyright (c) 2021, Texas Instruments Incorporated */
/* All rights reserved. */
/* */
/* Redistribution and use in source and binary forms, with or without */
@ -31,7 +31,7 @@
/* ============================================================================ */
/* This file supports MSP430F2617 devices. */
/* Version: 1.210 */
/* Version: 1.212 */
/* Default linker script, for normal executables */
OUTPUT_ARCH(msp430)
@ -172,10 +172,10 @@ SECTIONS
directory crtbegin.o is in. */
KEEP (*crtbegin*.o(.ctors))
/* We don't want to include the .ctor section from from the
crtend.o file until after the sorted ctors. The .ctor section
from the crtend file contains the end of ctors marker and it
must be last */
/* We don't want to include the .ctor section from the crtend.o
file until after the sorted ctors. The .ctor section from
the crtend file contains the end of ctors marker and it must
be last */
KEEP (*(EXCLUDE_FILE (*crtend*.o ) .ctors))
KEEP (*(SORT(.ctors.*)))
KEEP (*(.ctors))

View File

@ -1,5 +1,5 @@
/* ============================================================================ */
/* Copyright (c) 2020, Texas Instruments Incorporated */
/* Copyright (c) 2021, Texas Instruments Incorporated */
/* All rights reserved. */
/* */
/* Redistribution and use in source and binary forms, with or without */
@ -31,7 +31,7 @@
/* ============================================================================ */
/* This file supports MSP430F2617 devices. */
/* Version: 1.210 */
/* Version: 1.212 */
/************************************************************
* STANDARD BITS

View File

@ -5,7 +5,7 @@
set -e
URL="https://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/9_2_0_0/export/msp430-gcc-support-files-1.210.zip"
URL="https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/msp430-gcc-support-files-1.212.zip"
rm -Rf msp430-gcc-support-files
_CPUS="$(git -C ../../.. grep -o '^CPU_MODEL.=.*430.*$' | cut -d' ' -f 3 | sort -u)"
@ -17,3 +17,5 @@ unzip $(basename $URL)
rm $(ls | grep -v -E '(msp430\.h|in430\.h|legacy\.h|iomacros\.h|devices.csv)' | \
grep -v -F "${_CPUS}" )
)
find msp430-gcc-support-files -type f -exec dos2unix "{}" \;