libopencm3/scripts/data/lpc43xx
Lars Kruse 5968b8a856 Update python references to python3
Python2 is end-of-life [1] since the 1st of January 2020.

Some distributions (most notably: Debian and its derivatives) will stop
providing a `python` executable in order to encourage users to specify
the interpreter language of local scripts explicitly.  Users of such
environments will be forced to work around this in one of these ways:

* create a virtual environment or
* manipulate the shebangs of the scripts or
* install the python2 package (as long as it is provided by distributions)

All currently maintained distribution releases provide python3.
In the near future distributions will need to remove python2, since it
is not maintained anymore.

PEP-394 [2] recommends to reference a specific python version
(python2 or python3), if the script is not expected to run in a virtual
environment.

Closes: #1265

[1] https://www.python.org/dev/peps/pep-0373/#update-april-2014
[2] https://www.python.org/dev/peps/pep-0394/#for-python-script-publishers

Amended-by: Karl Palsson <karlp@tweak.net.au>
* moved lpc43xx scripts to explicitly call python2, they have not been
  ported, and are effectively unmaintained, but switching them to
  python3 unconditionally would be unhelpful.
2020-11-28 22:13:25 +00:00
..
README csv contributions from GNU Radio Conference 2012 HackFest. Thanks, David! 2013-07-07 13:52:08 -07:00
adc.yaml lpc43xx: Convert register definitions to YAML 2013-07-07 13:52:14 -07:00
atimer.yaml lpc43xx: Convert register definitions to YAML 2013-07-07 13:52:14 -07:00
ccu.yaml lpc43xx: Convert register definitions to YAML 2013-07-07 13:52:14 -07:00
cgu.yaml lpc43xx: Convert register definitions to YAML 2013-07-07 13:52:14 -07:00
creg.yaml lpc43xx: Convert register definitions to YAML 2013-07-07 13:52:14 -07:00
csv2yaml.py Update python references to python3 2020-11-28 22:13:25 +00:00
eventrouter.yaml lpc43xx: Convert register definitions to YAML 2013-07-07 13:52:14 -07:00
gen.py Update python references to python3 2020-11-28 22:13:25 +00:00
gima.yaml lpc43xx: Convert register definitions to YAML 2013-07-07 13:52:14 -07:00
gpdma.yaml lpc43xx: Convert register definitions to YAML 2013-07-07 13:52:14 -07:00
gpio.yaml lpc43xx: Convert register definitions to YAML 2013-07-07 13:52:14 -07:00
i2c.yaml lpc43xx: Convert register definitions to YAML 2013-07-07 13:52:14 -07:00
i2s.yaml lpc43xx: Convert register definitions to YAML 2013-07-07 13:52:14 -07:00
rgu.yaml lpc43xx: Convert register definitions to YAML 2013-07-07 13:52:14 -07:00
ritimer.yaml lpc43xx: Convert register definitions to YAML 2013-07-07 13:52:14 -07:00
scu.yaml lpc43xx: Convert register definitions to YAML 2013-07-07 13:52:14 -07:00
sgpio.yaml lpc43xx: Convert register definitions to YAML 2013-07-07 13:52:14 -07:00
ssp.yaml lpc43xx: Convert register definitions to YAML 2013-07-07 13:52:14 -07:00
usb.yaml lpc43xx: Convert register definitions to YAML 2013-07-07 13:52:14 -07:00
yaml_odict.py lpc43xx: Move YAML OrderedDict code to separate module 2013-07-07 13:52:14 -07:00

README

These files contain information derived from the LPC43xx user manual (UM10503).
They are intended to be used by scripts for the generation of header files and
functions.

Each line describes a field within a register.  The comma separated values are:
	register name (as found in include/lpc43xx/*.h),
	bit position,
	length in bits,
	field name,
	description/comment (may be empty if not specified in data sheet),
	reset value (may be empty if not specified in data sheet),
	access (may be empty if not specified in data sheet)

The access field may consist of any of the following codes:
	r:   read only
	rw:  read/write
	rwc: read/write one to clear
	rwo: read/write once
	rws: read/write one to set
	w:   write only
	ws:  write one to set

Descriptions containing commas are quoted.