Review/update of the TM4C1294 Launchpad code
This commit is contained in:
parent
31e9cd3b20
commit
7a9720e60c
16 changed files with 29 additions and 19 deletions
|
|
@ -1460,6 +1460,9 @@ endif
|
|||
if ARCH_BOARD_TM4C123G_LAUNCHPAD
|
||||
source "configs/tm4c123g-launchpad/Kconfig"
|
||||
endif
|
||||
if ARCH_BOARD_TM4C1294_LAUNCHPAD
|
||||
source "configs/tm4c1294-launchpad/Kconfig"
|
||||
endif
|
||||
if ARCH_BOARD_CC3200_LAUNCHPAD
|
||||
source "configs/cc3200-launchpad/Kconfig"
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -589,6 +589,12 @@ configs/tm4c123g-launchpad
|
|||
platform for ARM® Cortex™-M4F-based microcontrollers from Texas
|
||||
Instruments.
|
||||
|
||||
configs/tm4c1294-launchpad
|
||||
This is the port of NuttX to the Tiva® TM4C1294 LaunchPad. The
|
||||
Tiva® TM4C123G LaunchPad Evaluation Board is a low-cost evaluation
|
||||
platform for ARM® Cortex™-M4F-based microcontrollers from Texas
|
||||
Instruments.
|
||||
|
||||
configs/twr-k60n512
|
||||
Kinetis K60 Cortex-M4 MCU. This port uses the FreeScale TWR-K60N512
|
||||
development board.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/************************************************************************************
|
||||
* configs/tm4c1294-launchpad/include/board.h
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
############################################################################
|
||||
# configs/dk-tm4c129x/ipv6/Make.defs
|
||||
# configs/tm4c1294-launchpad/ipv6/Make.defs
|
||||
#
|
||||
# Copyright (C) 2015 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
############################################################################
|
||||
# configs/tm4c1294-launchpad/nsh/Make.defs
|
||||
#
|
||||
# Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
# Copyright (C) 2015 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
# configs/tm4c1294-launchpad/nsh/setenv.sh
|
||||
#
|
||||
# Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
# Copyright (C) 2015 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/****************************************************************************
|
||||
* configs/tm4c1294-launchpad/scripts/ld.script
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
############################################################################
|
||||
# configs/dk-tm4c129x/src/Makefile
|
||||
# configs/tm4c1294-launchpad/src/Makefile
|
||||
#
|
||||
# Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
# Copyright (C) 2015 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/************************************************************************************
|
||||
* configs/tm4c1294-launchpad/src/ek-tm4c1294xl.h
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
@ -177,4 +177,3 @@ int tiva_timer_initialize(void);
|
|||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
#endif /* __CONFIGS_TM4C1294_LAUNCHPAD_TM4C1294_LAUNCHPAD_H */
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/****************************************************************************
|
||||
* configs/tm4c1294-launchpad/src/tm4c_autoleds.c
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/****************************************************************************
|
||||
* config/tm4c1294-launchpad/src/tm4c_bringup.c
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/****************************************************************************
|
||||
* configs/tm4c1294-launchpad/src/tm4c_buttons.c
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/****************************************************************************
|
||||
* config/tm4c1294-launchpad/src/tm4c_nsh.c
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/************************************************************************************
|
||||
* configs/tm4c1294-launchpad/src/tm4c_ssi.c
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
#include "tiva_gpio.h"
|
||||
#include "tm4c1294-launchpad.h"
|
||||
|
||||
/* The DK-TM4C129X microSD CS is on SSI0 */
|
||||
/* The TM4C1294-Launchpad microSD CS is on SSI0 */
|
||||
|
||||
#if defined(CONFIG_TIVA_SSI0) || defined(CONFIG_TIVA_SSI1)
|
||||
|
||||
|
|
@ -101,7 +101,7 @@ void weak_function tm4c_ssiinitialize(void)
|
|||
* The external functions, tiva_spiselect and tiva_spistatus must be provided
|
||||
* by board-specific logic. The are implementations of the select and status
|
||||
* methods SPI interface defined by struct spi_ops_s (see include/nuttx/spi/spi.h).
|
||||
* All othermethods (including tiva_spiinitialize()) are provided by common
|
||||
* All other methods (including tiva_spiinitialize()) are provided by common
|
||||
* logic. To use this common SPI logic on your board:
|
||||
*
|
||||
* 1. Provide tiva_spiselect() and tiva_spistatus() functions in your
|
||||
|
|
|
|||
|
|
@ -101,9 +101,11 @@ int tiva_timer_initialize(void)
|
|||
{
|
||||
int ret;
|
||||
|
||||
timvdbg("Registering TIMER%d at %s\n", GPTM, CONFIG_TM4C1294_LAUNCHPAD_TIMER_DEVNAME);
|
||||
timvdbg("Registering TIMER%d at %s\n",
|
||||
GPTM, CONFIG_TM4C1294_LAUNCHPAD_TIMER_DEVNAME);
|
||||
|
||||
ret = tiva_timer_register(CONFIG_TM4C1294_LAUNCHPAD_TIMER_DEVNAME, GPTM, ALTCLK);
|
||||
ret = tiva_timer_register(CONFIG_TM4C1294_LAUNCHPAD_TIMER_DEVNAME,
|
||||
GPTM, ALTCLK);
|
||||
if (ret < 0)
|
||||
{
|
||||
timdbg("ERROR: Failed to register timer driver: %d\n", ret);
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/****************************************************************************
|
||||
* configs/tm4c1294-launchpad/src/tm4c_userleds.c
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue