Skip to content
Permalink
Browse files

Initial commit

  • Loading branch information...
robertinant committed Oct 22, 2018
0 parents commit be5c1c235874dafa30cdd26098d76ebf26d3e1de
Showing 6,175 changed files with 1,317,952 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
@@ -0,0 +1 @@
# msp432e-core
@@ -0,0 +1,30 @@
##############################################################
menu.cpu=Processor
MSP-EXP432E401Y.vid.0=0x2341
MSP-EXP432E401Y.pid.0=0x0c9f
MSP-EXP432E401Y.name=LaunchPad w/ msp432e EMT (120MHz)
MSP-EXP432E401Y.build.mcu=cortex-m4
MSP-EXP432E401Y.build.f_cpu=120000000L
MSP-EXP432E401Y.build.core=msp432e
MSP-EXP432E401Y.build.variant=MSP_EXP432E401Y
MSP-EXP432E401Y.build.board=MSP_EXP432E401Y
MSP-EXP432E401Y.build.ldscript=linker.cmd
MSP-EXP432E401Y.upload.tool=dslite
MSP-EXP432E401Y.upload.protocol=dslite
MSP-EXP432E401Y.upload.maximum_size=1048576
MSP-EXP432E401Y.upload.maximum_data_size=262144
##############################################################
menu.cpu=Processor
EK-TM4C1294XL.vid.0=0x2341
EK-TM4C1294XL.pid.0=0x0c9f
EK-TM4C1294XL.name=LaunchPad w/ tm4c1294 EMT (120MHz)
EK-TM4C1294XL.build.mcu=cortex-m4
EK-TM4C1294XL.build.f_cpu=120000000L
EK-TM4C1294XL.build.core=msp432e
EK-TM4C1294XL.build.variant=EK_TM4C1294XL
EK-TM4C1294XL.build.board=EK_TM4C1294XL
EK-TM4C1294XL.build.ldscript=linker.cmd
EK-TM4C1294XL.upload.tool=dslite
EK-TM4C1294XL.upload.protocol=dslite
EK-TM4C1294XL.upload.maximum_size=1048576
EK-TM4C1294XL.upload.maximum_data_size=262144
@@ -0,0 +1,188 @@
/*
* Copyright (c) 2014, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* * Neither the name of Texas Instruments Incorporated nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/** ============================================================================
* @file Board.h
*
* @brief Generic Board Support APIs
*
* This header file should be included in library modules as follows:
* @code
* #include <ti/drivers/bsp/Board.h>
* @endcode
*
* ============================================================================
*/
#ifndef __ti_drivers_bsp_Board_H
#define __ti_drivers_bsp_Board_H

#include <ti/drivers/UART.h>
#include <ti/drivers/I2C.h>
#include <ti/drivers/SPI.h>

#ifdef __cplusplus
extern "C" {
#endif

#define Board_LED_OFF (0) /* turn LED off */
#define Board_LED_ON (~0) /* turn LED on */

/* 0 is always a valid id for any configured driver with an "open" method */
#define Board_UART (0)
#define Board_SPI (0)
#define Board_SDSPI (0)
#define Board_I2C (0)
#define Board_WATCHDOG (0)
#define Board_WIFI (0)
#define Board_WIFI_SPI (1)

/*!
* @brief Initialize all board specific peripherals
*
* This function calls the peripheral specific initilization functions for all peripherals used.
*/
extern void Board_init(void);

/*!
* @brief Initialize board specific DMA settings
*
* This function creates a hwi in case the DMA controller creates an error
* interrupt, enables the DMA and supplies it with a uDMA control table.
*/
extern void Board_initDMA(void);

/*!
* @brief Initialize the general board specific settings
*
* This function initializes the general board specific settings. This include
* - Enable clock sources for peripherals
*/
extern void Board_initGeneral(void);

/*!
* @brief Initialize board specific GPIO settings
*
* This function initializes the board specific GPIO settings and
* then calls the GPIO_init API to initialize the GPIO module.
*
* The GPIOs controlled by the GPIO module are determined by the GPIO_config
* variable.
*/
extern void Board_initGPIO(void);

/*!
* @brief Initialize board specific SDSPI settings
*
* This function initializes the board specific SDSPI settings and then calls
* the SDSPI_init API to initialize the SDSPI module.
*
* The SDSPI peripherals controlled by the SDSPI module are determined by the
* SDSPI_config variable.
*/
extern void Board_initSDSPI(void);

/*!
* @brief Initialize board specific Power management
*
* This function initializes the board specific power settings and then calls
* the Power_init API to initialize the Power module.
*
*/
extern void Board_initPower(void);

/*!
* @brief Initialize board specific Watchdog settings
*
* This function initializes the board specific Watchdog settings and then
* calls the Watchdog_init API to initialize the Watchdog module.
*
* The Watchdog peripherals controlled by the Watchdog module are determined
* by the Watchdog_config variable.
*/
extern void Board_initWatchdog(void);

/*!
* @brief Initialize board specific WiFi settings
*
* This function initializes the board specific WiFi settings and then calls
* the WiFi_init API to initialize the WiFi module.
*
* The hardware resources controlled by the WiFi module are determined by the
* WiFi_config variable.
*/
extern void Board_initWiFi(void);

/*!
* @brief Initialize all board specific settings
*
* This function simply calls all defined board specific initilization
* functions; e.g., driver initializtion, device pin configuration, ...
*/
extern void Board_init(void);

/*!
* @brief Board specific I2C open function
*
* This function initializes the board specific I2C driver, the port specific
* I2C pins, and then calls I2C_open() to return a I2C handle.
*
* The I2C peripherals controlled by the I2C module are determined by the
* I2C_config variable.
*/
extern I2C_Handle Board_openI2C(UInt i2cPortIndex, I2C_Params *i2cParams);

/*!
* @brief Board specific SPI open function
*
* This function initializes the board specific SPI driver, the port specific
* SPI pins, and then calls SPI_open() to return a SPI handle.
*
* The SPI peripherals controlled by the SPI module are determined by the
* SPI_config variable.
*/
extern SPI_Handle Board_openSPI(UInt spiPortIndex, SPI_Params *spiParams);

/*!
* @brief Board specific UART open function
*
* This function initializes the board specific UART driver, the port specific
* UART pins, and then calls UART_open() to return a UART handle.
*
* The UART peripherals controlled by the UART module are determined by the
* UART_config variable.
*/
extern UART_Handle Board_openUART(UInt uartPortIndex, UART_Params *uartParams);

#ifdef __cplusplus
}
#endif

#endif /* __ti_drivers_bsp_Board_H */
@@ -0,0 +1,13 @@
/*
* Do not modify this file; it is automatically
* generated and any modifications will be overwritten.
*
* @(#) xdc-D13
*/

#ifndef ti_drivers_bsp__
#define ti_drivers_bsp__



#endif /* ti_drivers_bsp__ */
@@ -0,0 +1,132 @@
/*
* Copyright (c) 2017, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* * Neither the name of Texas Instruments Incorporated nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

MEMORY
{
FLASH (RX) : ORIGIN = 0x00000000, LENGTH = 0x00100000
SRAM (WX) : ORIGIN = 0x20000000, LENGTH = 0x00040000
}

REGION_ALIAS("REGION_TEXT", FLASH);
REGION_ALIAS("REGION_BSS", SRAM);
REGION_ALIAS("REGION_DATA", SRAM);
REGION_ALIAS("REGION_STACK", SRAM);
REGION_ALIAS("REGION_HEAP", SRAM);
REGION_ALIAS("REGION_ARM_EXIDX", FLASH);
REGION_ALIAS("REGION_ARM_EXTAB", FLASH);

SECTIONS {

PROVIDE (_intvecs_base_address =
DEFINED(_intvecs_base_address) ? _intvecs_base_address : 0x0);

.intvecs (_intvecs_base_address) : AT (_intvecs_base_address) {
KEEP (*(.intvecs))
} > REGION_TEXT

PROVIDE (_vtable_base_address =
DEFINED(_vtable_base_address) ? _vtable_base_address : 0x20000000);

.vtable (_vtable_base_address) (NOLOAD) : {
KEEP (*(.vtable))
} > REGION_DATA

.text : {
CREATE_OBJECT_SYMBOLS
*(.text)
*(.text.*)
. = ALIGN(0x4);
KEEP (*(.ctors))
. = ALIGN(0x4);
KEEP (*(.dtors))
. = ALIGN(0x4);
__init_array_start = .;
KEEP (*(.init_array*))
__init_array_end = .;
*(.init)
*(.fini*)
} > REGION_TEXT AT> REGION_TEXT

PROVIDE (__etext = .);
PROVIDE (_etext = .);
PROVIDE (etext = .);

.rodata : {
*(.rodata)
*(.rodata*)
} > REGION_TEXT AT> REGION_TEXT

.data : ALIGN (4) {
__data_load__ = LOADADDR (.data);
__data_start__ = .;
*(.data)
*(.data*)
. = ALIGN (4);
__data_end__ = .;
} > REGION_DATA AT> REGION_TEXT

.ARM.exidx : {
__exidx_start = .;
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
__exidx_end = .;
} > REGION_ARM_EXIDX AT> REGION_ARM_EXIDX

.ARM.extab : {
*(.ARM.extab* .gnu.linkonce.armextab.*)
} > REGION_ARM_EXTAB AT> REGION_ARM_EXTAB

.bss : {
__bss_start__ = .;
*(.shbss)
*(.bss)
*(.bss.*)
*(COMMON)
. = ALIGN (4);
__bss_end__ = .;
} > REGION_BSS AT> REGION_BSS

.heap : {
__heap_start__ = .;
end = __heap_start__;
_end = end;
__end = end;
KEEP(*(.heap))
__heap_end__ = .;
__HeapLimit = __heap_end__;
} > REGION_HEAP AT> REGION_HEAP

.stack (NOLOAD) : ALIGN(0x8) {
_stack = .;
__stack = .;
KEEP(*(.stack))
} > REGION_STACK AT> REGION_STACK
}
@@ -0,0 +1,4 @@
// Stub for Arduino header file - For added compatibility with existing arduino libraries
// Include Energia instead
#include "Energia.h"

0 comments on commit be5c1c2

Please sign in to comment.
You can’t perform that action at this time.