boards/arm/timva/tm4c123g-launchpad: Update paths for boards/ restructuring. Update paths to board directories in documentation and scripts.

This commit is contained in:
Nathan Hartman 2019-08-12 12:16:40 -06:00 committed by Gregory Nutt
parent bcfabcbe53
commit 0b501304c7
11 changed files with 29 additions and 26 deletions

View file

@ -230,7 +230,7 @@ Using OpenOCD and GDB with an FT2232 JTAG emulator
Building OpenOCD under Cygwin:
Refer to boards/olimex-lpc1766stk/README.txt
Refer to boards/arm/lpc17xx_40xx/olimex-lpc1766stk/README.txt
Installing OpenOCD in Linux:
@ -258,7 +258,7 @@ Using OpenOCD and GDB with an FT2232 JTAG emulator
I have been using the on-board In-Circuit Debug Interface (ICDI) interface.
OpenOCD requires a configuration file. I keep the one I used last here:
boards/tm4c123g-launchpad/tools/tm4c123g-launchpad.cfg
boards/arm/tiva/tm4c123g-launchpad/tools/tm4c123g-launchpad.cfg
However, the "correct" configuration script to use with OpenOCD may
change as the features of OpenOCD evolve. So you should at least
@ -276,7 +276,7 @@ Using OpenOCD and GDB with an FT2232 JTAG emulator
- Possibly the value of OPENOCD_PATH and TARGET_PATH
- It assumes that the correct script to use is the one at
boards/tm4c123g-launchpad/tools/tm4c123g-launchpad.cfg
boards/arm/tiva/tm4c123g-launchpad/tools/tm4c123g-launchpad.cfg
Starting OpenOCD
@ -285,8 +285,10 @@ Using OpenOCD and GDB with an FT2232 JTAG emulator
oocd.sh $PWD
The relative path to the oocd.sh script is boards/tm4c123g-launchpad/tools.
You may want to add that path to you PATH variable.
The relative path to the oocd.sh script is:
boards/arm/tiva/tm4c123g-launchpad/tools.
You may want to add that path to your PATH variable.
Note that OpenOCD needs to be run with administrator privileges in
some environments (sudo).
@ -333,12 +335,13 @@ LEDs
The TM4C123G has a single RGB LED. If CONFIG_ARCH_LEDS is defined, then
support for the LaunchPad LEDs will be included in the build. See:
- boards/tm4c123g-launchpad/include/board.h - Defines LED constants, types and
prototypes the LED interface functions.
- boards/arm/tiva/tm4c123g-launchpad/include/board.h - Defines LED
constants, types and prototypes the LED interface functions.
- boards/tm4c123g-launchpad/src/tm4c123g-launchpad.h - GPIO settings for the LEDs.
- boards/arm/tiva/tm4c123g-launchpad/src/tm4c123g-launchpad.h - GPIO
settings for the LEDs.
- boards/tm4c123g-launchpad/src/up_leds.c - LED control logic.
- boards/arm/tiva/tm4c123g-launchpad/src/up_leds.c - LED control logic.
OFF:
- OFF means that the OS is still initializing. Initialization is very fast so
@ -497,8 +500,8 @@ TM4C123G LaunchPad Configuration Options
CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt
stack. If defined, this symbol is the size of the interrupt
stack in bytes. If not defined, the user task stacks will be
used during interrupt handling.
stack in bytes. If not defined, the user task stacks will be
used during interrupt handling.
CONFIG_ARCH_STACKDUMP - Do stack dumps after assertions
@ -551,8 +554,8 @@ TM4C123G LaunchPad Configuration Options
Configurations
==============
Each TM4C123G LaunchPad configuration is maintained in a
sub-directory and can be selected as follow:
Each TM4C123G LaunchPad configuration is maintained in a sub-directory of
boards/arm/tiva/tm4c123g-launchpad/configs/ and can be selected as follows:
tools/configure.sh tm4c123g-launchpad:<subdir>
@ -562,8 +565,8 @@ Where <subdir> is one of the following:
---
Configures the NuttShell (nsh) located at apps/examples/nsh. The
configuration enables the serial VCOM interfaces on UART0. Support for
builtin applications is enabled, but in the base configuration no
builtin applications are selected.
builtin applications is enabled, but in the base configuration no builtin
applications are selected.
NOTES:

View file

@ -1,5 +1,5 @@
/************************************************************************************
* boards/tm4c123g-launchpad/include/board.h
* boards/arm/tiva/tm4c123g-launchpad/include/board.h
*
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View file

@ -1,5 +1,5 @@
############################################################################
# boards/tm4c123g-launchpad/scripts/Make.defs
# boards/arm/tiva/tm4c123g-launchpad/scripts/Make.defs
#
# Copyright (C) 2014, 2017 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View file

@ -1,5 +1,5 @@
/****************************************************************************
* boards/tm4c123g-launchpad/scripts/tm4c123g-launchpad.ld
* boards/arm/tiva/tm4c123g-launchpad/scripts/tm4c123g-launchpad.ld
*
* Copyright (C) 2014, 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View file

@ -1,5 +1,5 @@
############################################################################
# boards/tm4c123g-launchpad/src/Makefile
# boards/arm/tiva/tm4c123g-launchpad/src/Makefile
#
# Copyright (C) 2014-2015 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>

View file

@ -1,5 +1,5 @@
/************************************************************************************
* boards/tm4c123g-launchpad/src/tm4c123g-launchpad.h
* boards/arm/tiva/tm4c123g-launchpad/src/tm4c123g-launchpad.h
*
* Copyright (C) 2014-2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View file

@ -1,5 +1,5 @@
/************************************************************************************
* boards/tm4c123g-launchpad/tm4c_adc.c
* boards/arm/tiva/tm4c123g-launchpad/tm4c_adc.c
*
* Copyright (C) 2015-2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View file

@ -1,5 +1,5 @@
/****************************************************************************
* boards/tm4c123g-launchpad/src/tm4c_leds.c
* boards/arm/tiva/tm4c123g-launchpad/src/tm4c_leds.c
*
* Copyright (C) 2014-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View file

@ -1,5 +1,5 @@
/************************************************************************************
* boards/tm4c123g-launchpad/src/tm4c_boot.c
* boards/arm/tiva/tm4c123g-launchpad/src/tm4c_boot.c
*
* Copyright (C) 2014, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View file

@ -1,5 +1,5 @@
/************************************************************************************
* boards/tm4c123g-launchpad/src/tm4c_ssi.c
* boards/arm/tiva/tm4c123g-launchpad/src/tm4c_ssi.c
*
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
# See boards/tm4c123g-launchpad/README.txt for information about
# See boards/arm/tiva/tm4c123g-launchpad/README.txt for information about
# this file.
TOPDIR=$1
@ -28,7 +28,7 @@ TARGET_PATH="/usr/share/openocd/scripts"
# OPENOCD_EXE=openocd.exe
OPENOCD_EXE=openocd
OPENOCD_CFG="${TOPDIR}/boards/tm4c123g-launchpad/tools/tm4c123g-launchpad.cfg"
OPENOCD_CFG="${TOPDIR}/boards/arm/tiva/tm4c123g-launchpad/tools/tm4c123g-launchpad.cfg"
OPENOCD_ARGS="-f ${OPENOCD_CFG} -s ${TARGET_PATH}"
if [ "X$2" = "X-d" ]; then