aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/lpc2294.cfg
AgeCommit message (Collapse)AuthorFilesLines
2022-06-24tcl/target: add SPDX tagAntonio Borneo1-0/+2
For historical reasons, no license information was added to the tcl files. This makes trivial adding the SPDX tag through script: fgrep -rL SPDX tcl/ target| while read a;do \ sed -i '1{i# SPDX-License-Identifier: GPL-2.0-or-later\n }' $a;done With no specific license information from the author, let's extend the OpenOCD project license GPL-2.0-or-later to the files. Change-Id: I7b2610300b24cccd07bfa6fb5f1266970d5d3a1b Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7027 Tested-by: jenkins
2020-05-09tcl: remove trailing whitespaceAntonio Borneo1-2/+2
The script checkpatch available in new Linux kernel offers an experimental feature for automatically fix the code in place. While still experimental, the feature works quite well for simple fixes, like spacing. This patch has been created automatically with the script under review for inclusion in OpenOCD, using the command: find tcl/ -type f -exec ./tools/scripts/checkpatch.pl \ -q --types TRAILING_WHITESPACE --fix-inplace -f {} \; The patch only changes amount and position of whitespace, thus the following commands show empty diff git diff -w git log -w -p git log -w --stat Change-Id: Ie7e3a236f4db9c70019e3b3c7e851edbd3a9dd84 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5616 Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Tested-by: jenkins
2011-01-09Add another level of procedures to LPC2xxx initialization - procedures for ↵Freddie Chopin1-3/+15
specific targets (setup_lpc<number>) take core clock and adapter clock as parameters. This way "constant" parameters (flash size and type, CPUTAPID, etc.) do not need to be copied if one wishes to change the "variable" parameters - like the core clock or adapter clock - in a board config file or somewhere else. Signed-off-by: Freddie Chopin <freddie_chopin@op.pl>
2011-01-07Add common LPC2xxx setup procedure, use in all LPC2xxx files.Freddie Chopin1-27/+9
Signed-off-by: Freddie Chopin <freddie_chopin@op.pl>
2010-12-09remove srst_pulls_trst from LPC2xxx target scriptsFreddie Chopin1-2/+1
LPC2xxx do not require reset_config srst_pulls_trst. This can cause various "strange" problems when flashing the chip, because "reset halt" actually allows the chip to run for some short period of time and execute some code. Signed-off-by: Freddie Chopin <freddie_chopin@op.pl>
2010-08-11config scripts: remove useless reference to OpenOCD docsØyvind Harboe1-3/+0
clutters config scripts. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-05-24There are no variants of arm7tdmi targetFreddie Chopin1-1/+1
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-05-24All LPC2xxx chips are little endian and that cannot be changed - update ↵Freddie Chopin1-7/+1
config scripts Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-05-24Update "flash bank" helper comments for LPC2xxx chipsFreddie Chopin1-1/+1
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2010-03-15rename jtag_nsrst_delay as adapter_nsrst_delayDavid Brownell1-1/+1
Globally rename "jtag_nsrst_delay" as "adapter_nsrst_delay", and move it out of the "jtag" command group ... it needs to be used with non-JTAG transports Includes a migration aid (in jtag/startup.tcl) so that old user scripts won't break. That aid should Sunset in about a year. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-19update 'flash bank' usage in scriptsZachary T Welch1-1/+2
Sets $_FLASHNAME to "$_CHIPNAME.flash" and passes it as the first argument to 'flash bank'.
2009-11-08target.cfg: remove "-work-area-virt 0"David Brownell1-1/+1
The semantics of "-work-area-virt 0" (or phys) changed with the patch to require specifying physical or virtrual work area addresses. Specifying zero was previously a NOP. Now it means that address zero is valid. This patch addresses three related issues: - MMU-less processors should never specify work-area-virt; remove those specifications. Such processors include ARM7TDMI, Cortex-M3, and ARM966. - MMU-equipped processors *can* specify work-area-virt... but zero won't be appropriate, except in mischievous contexts (which hide null pointer exceptions). Remove those specs from those processors too. If any of those mappings is valid, someone will need to submit a patch adding it ... along with a comment saying what OS provides the mapping, and in which context. Example, say "works with Linux 2.6.30+, in kernel mode". (Note that ARM Linux doesn't map kernel memory to zero ...) - Clarify docs on that "-virt" and other work area stuff. Seems to me work-area-virt is quite problematic; not every operating system provides such static mappings; if they do, they're not in every MMU context... Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-31target.cfg: use $_TARGETNAME for flashFreddie Chopin1-1/+1
This gets rid of runtime warnings from the use of numbers. STM32 and LPC2103 were tested. Other LPC updates are the same, and so are safe. The CFI updates match other tested changes now in the tree. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-09-21Remove annoying end-of-line whitespace from tcl/* filesdbrownell1-6/+6
git-svn-id: svn://svn.berlios.de/openocd/trunk@2743 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-04David Brownell <david-b@pacbell.net> "set _TARGETNAME ..." cleanupoharboe1-1/+1
git-svn-id: svn://svn.berlios.de/openocd/trunk@2665 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-27Move TCL script files -- Step 2 of 2:zwelch1-0/+38
- Move src/tcl to tcl/. - Update top Makefile.am to use new path name. git-svn-id: svn://svn.berlios.de/openocd/trunk@1919 b42882b7-edfa-0310-969c-e2dbd0fdcd60