FreeCalypso > hg > fc-magnetite
changeset 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 | 597869e59805 |
children | f760e858098b |
files | src/cs/drivers/drv_core/armio/armio.c src/cs/layer1/tpu_drivers/source0/tpudrv12.h targets/tangomdm.conf targets/tangomdm.h |
diffstat | 4 files changed, 14 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cs/drivers/drv_core/armio/armio.c Sat Jan 04 19:07:02 2020 +0000 +++ b/src/cs/drivers/drv_core/armio/armio.c Sat Jan 04 19:27:41 2020 +0000 @@ -268,7 +268,7 @@ // if we are in an MMI!=0 build - for ACI builds use the AT@SPKR command. #ifdef CONFIG_TARGET_GTM900 *((volatile SYS_UWORD16 *) ARMIO_OUT) = 0x3F01; -#elif (MMI != 0) +#elif (MMI != 0) || defined(CONFIG_GPIO1_HIGH) *((volatile SYS_UWORD16 *) ARMIO_OUT) = 0x3F02; #else *((volatile SYS_UWORD16 *) ARMIO_OUT) = 0x3F00;
--- a/src/cs/layer1/tpu_drivers/source0/tpudrv12.h Sat Jan 04 19:07:02 2020 +0000 +++ b/src/cs/layer1/tpu_drivers/source0/tpudrv12.h Sat Jan 04 19:27:41 2020 +0000 @@ -234,7 +234,8 @@ #define TEST_TX_ON 0 #define TEST_RX_ON 0 -#if defined(CONFIG_TARGET_LEONARDO) || defined(CONFIG_TARGET_ESAMPLE) +#if defined(CONFIG_TARGET_LEONARDO) || defined(CONFIG_TARGET_ESAMPLE) || \ + defined(CONFIG_TARGET_TANGO) // 4-band config (E-sample, P2, Leonardo) #define FEM_7 BIT_2 // act2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/targets/tangomdm.conf Sat Jan 04 19:27:41 2020 +0000 @@ -0,0 +1,6 @@ +LINK_SCRIPT_SRC=src/cs/system/template/gsm_ds_amd8_compact.template +MAIN_blob=blobs/patches/main-fchw.lib +INIT_blob=blobs/patches/main-fchw/init.obj +TPUDRV_blob= +FLASH_BASE_ADDR=0 +FLASH_SECTOR_SIZE=0x10000