FreeCalypso > hg > fc-magnetite
changeset 588:f2e752052db5
beginning of SE J100 target support
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 13 Mar 2019 18:08:34 +0000 |
parents | 36eb33f1d45a |
children | 9b81b68e8e64 |
files | components/riviera_cust_flash configure.sh src/cs/drivers/drv_core/armio/armio.c targets/j100.conf targets/j100.h |
diffstat | 5 files changed, 21 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/components/riviera_cust_flash Wed Mar 13 16:52:48 2019 +0000 +++ b/components/riviera_cust_flash Wed Mar 13 18:08:34 2019 +0000 @@ -6,7 +6,7 @@ if [ "$MMI" = 0 ] then case "$TARGET" in - c11x|c139|c155) + c11x|c139|c155|j100) CPPFLAGS="$CPPFLAGS -DPSEUDO_MODEM_KEEPALIVE" ;; pirelli)
--- a/configure.sh Wed Mar 13 16:52:48 2019 +0000 +++ b/configure.sh Wed Mar 13 18:08:34 2019 +0000 @@ -273,7 +273,7 @@ cat makefile-frags/link-steps >> $BUILD_DIR/Makefile case "$TARGET" in - c11x|c139) + c11x|c139|j100) cat makefile-frags/m0-to-bin-c139 >> $BUILD_DIR/Makefile ;; c155)
--- a/src/cs/drivers/drv_core/armio/armio.c Wed Mar 13 16:52:48 2019 +0000 +++ b/src/cs/drivers/drv_core/armio/armio.c Wed Mar 13 18:08:34 2019 +0000 @@ -237,6 +237,14 @@ AI_ConfigBitAsOutput(8); /* MUSIC_A0 */ AI_ConfigBitAsOutput(12); /* MUSIC_ON */ + #elif defined(CONFIG_TARGET_J100) + + /* GPIO out all zeros - the LCD backlight is OFF */ + *((volatile SYS_UWORD16 *) ARMIO_OUT) = 0x0000; + + AI_ConfigBitAsOutput(1); /* LCD backlight control */ + AI_ConfigBitAsOutput(3); /* LCDA0 (?) */ + #elif defined(CONFIG_TARGET_PIRELLI) *((volatile SYS_UWORD16 *) ARMIO_OUT) = 0x0000;
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/targets/j100.conf Wed Mar 13 18:08:34 2019 +0000 @@ -0,0 +1,7 @@ +LINK_SCRIPT_SRC=src/cs/system/template/gsm_ds_motc139.template +MAIN_blob=blobs/patches/main-rvtmodem.lib +INIT_blob=blobs/patches/main-rvtmodem/init.obj +TPUDRV_blob= +FLASH_BASE_ADDR=0x10000 +FLASH_SECTOR_SIZE=0x10000 +RVTMUX_ON_MODEM=1