FreeCalypso > hg > fc-magnetite
view scripts/mkcomp-test.sh @ 632:d968a3216ba0
new tangomdm build target
TCS211/Magnetite built for target leonardo runs just fine on the Tango-based
Caramel board, but a more proper tangomdm build target is preferable in order
to better market these Tango modems to prospective commercial customers. The
only differences are in GPIO and MCSI config:
* MCSI is enabled in the tangomdm build config.
* GPIO 1 is loudspeaker amplifier control on Leonardo, but on Tango platforms
it can be used for anything. On Caramel boards this GPIO should be
configured as an output driving high.
* GPIO 2 needs to be configured as Calypso input on Leonardo, but on Tango
platforms it can be used for anything. On Caramel boards this GPIO should be
configured as an output, either high or low is OK.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 04 Jan 2020 19:27:41 +0000 |
parents | 5fbcfd465de0 |
children | 8cf3029429f3 |
line wrap: on
line source
#!/bin/sh if [ -z "$BUILD_DIR" ] then BUILD_DIR=build-sb fi if [ -z "$USE_STR2IND" ] then USE_STR2IND=0 fi if [ -z "$CHIPSET" ] then CHIPSET=10 fi if [ -z "$DSP" ] then DSP=36 fi if [ -z "$RF" ] then RF=12 fi if [ -z "$L1_DYN_DSP_DWNLD" ] then L1_DYN_DSP_DWNLD=1 fi if [ -z "$TCSENV" ] then TCSENV=2 fi case "$TCSENV" in 2) CONDAT=condat2 GPF=gpf2 CDGINC=cdg211/cdginc CDGPRIM=cdg211/prim ACI=aci2 ;; 3) CONDAT=condat3 GPF=gpf3 CDGINC=cdg-hybrid/cdginc CDGPRIM=cdg-hybrid/sap-inline ACI=g23m-aci ;; *) echo "Error: bad TCSENV= setting" 1>&2 exit 1 ;; esac if [ -z "$MMI" ] then MMI=0 fi GPRS=1 SRVC=1 export ACI BUILD_DIR CDGINC CDGPRIM CHIPSET CONDAT DSP GPF GPRS export L1_DYN_DSP_DWNLD MMI RF SRVC USE_STR2IND exec scripts/mk-component.sh "$@"