annotate components/ccddata @ 629:3231dd9b38c1

armio.c: make GPIOs 8 & 13 outputs driving 1 on all "classic" targets Calypso GPIOs 8 & 13 are pinmuxed with MCUEN1 & MCUEN2, respectively, and on powerup these pins are MCUEN, i.e., outputs driving 1. TI's code for C-Sample and earlier turns them into GPIOs configured as outputs also driving 1 - so far, so good - but TI's code for BOARD 41 (which covers D-Sample, Leonardo and all real world Calypso devices derived from the latter) switches them from MCUEN to GPIOs, but then leaves them as inputs. Given that the hardware powerup state of these two pins is outputs driving 1, every Calypso board design MUST be compatible with such driving; typically these GPIO signals will be either unused and unconnected or connected as outputs driving some peripheral. Turning these pins into GPIO inputs will result in floating inputs on every reasonably-wired board, thus I am convinced that this configuration is nothing but a bug on the part of whoever wrote this code at TI. This floating input bug had already been fixed earlier for GTA modem and FCDEV3B targets; the present change makes the fix unconditional for all "classic" targets. The newly affected targets are D-Sample, Leonardo, Tango and GTM900.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 02 Jan 2020 05:38:26 +0000
parents 2cca8a0d71dd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
153
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # Building ccddata.lib using TCS3.2 CCD source
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 CFLAGS="-me -mt -o -pw2 -x -mw"
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 CPPFLAGS="-D_TMS470 -DNEW_FRAME -DNEW_ENTITY -DCCDDATA_STATIC_DATA"
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 # Includes
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/ccd"
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 CPPFLAGS="$CPPFLAGS -I../../$CDGINC"
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 # Source modules
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 SRCDIR=$SRC/gpf3/ccd
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 cfile_plain $SRCDIR/ccd_config.c
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 cfile_plain $SRCDIR/ccddata_mconst.c
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 cfile_plain $SRCDIR/ccddata_ccdmtab.c
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 cfile_plain $SRCDIR/ccddata_cdemval.c
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 cfile_plain $SRCDIR/ccddata_ccdent.c
2cca8a0d71dd ccddata.lib compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 cfile_plain $SRCDIR/ccddata_ccd.c