view src/gpf3/frame/frame_ps.def @ 635:baa0a02bc676

niq32.c DTR handling restored for targets that have it TI's original TCS211 fw treated GPIO 3 as the DTR input (wired so on C-Sample and D-Sample boards, also compatible with Leonardo and FCDEV3B which have a fixed pull-down resistor on this GPIO line), and the code in niq32.c called UAF_DTRInterruptHandler() (implemented in uartfax.c) from the IQ_KeypadGPIOHandler() function. But on Openmoko's GTA02 with their official fw this GPIO is a floating input, all of the DTR handling code in uartfax.c including the interrupt logic is still there, but the hobbled TCS211-20070608 semi-src delivery which OM got from TI contained a change in niq32.c (which had been kept in FC until now) that removed the call to UAF_DTRInterruptHandler() as part of those not-quite-understood "CC test" hacks. The present change fixes this bug at a long last: if we are building fw for a target that has TI's "classic" DTR & DCD GPIO arrangement (dsample, fcmodem and gtm900), we bring back all of TI's original code in both uartfax.c and niq32.c, whereas if we are building fw for a target that does not use this classic GPIO arrangement, the code in niq32.c goes back to what we got from OM and all DTR & DCD code in uartfax.c is conditioned out. This change also removes the very last remaining bit of "CC test" bogosity from our FreeCalypso code base.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 19 Jan 2020 01:41:35 +0000
parents c41a534f33c6
children
line wrap: on
line source

LIBRARY
DESCRIPTION "GPS Frame"
EXPORTS
 vsi_m_new
 vsi_m_free
 vsi_c_open
 vsi_c_close
 vsi_c_clear
 vsi_c_send
 vsi_c_free
 vsi_c_new
 vsi_c_await
 vsi_c_primitive
 vsi_t_start
 vsi_t_pstart
 vsi_t_stop
 vsi_t_status
 vsi_t_config
 vsi_s_open
 vsi_s_close
 vsi_s_get
 vsi_s_release
 vsi_o_ttrace
 vsi_o_itrace
 vsi_o_ptrace
 vsi_o_strace
 vsi_o_assert
 vsi_gettaskname
 vsi_gettaskhandle
 vsi_gettaskflags
 vsi_gettracemask
 vsi_settracemask
 vsi_t_time
 vsi_t_sleep
 vsi_d_init
 vsi_d_open
 vsi_d_close
 vsi_d_read
 vsi_d_write
 vsi_d_setsignal
 vsi_d_resetsignal
 vsi_d_setconfig
 vsi_d_getconfig
 vsi_ppm_new
 vsi_ppm_rec 
 vsi_ppm_reuse
 vsi_ppm_access
 vsi_ppm_send
 vsi_ppm_free
 vsi_trc_free
 vsi_trc_new
 vsi_trcsuspend
 pf_StartAllTasks
 pf_CreateAllEntities
 pf_Init
 os_CreateTask
 os_DestroyTask
 os_StartTask
 os_StopTask
 os_GetTaskName
 os_GetTaskHandle
 os_SuspendTask
 os_TaskInformation
 os_CreateQueue
 os_DestroyQueue
 os_OpenQueue
 os_CloseQueue
 os_SendToQueue
 os_ReceiveFromQueue
 os_QueueInformation
 os_CreatePartitionPool
 os_AllocatePartition
 os_DeallocatePartition
 os_CreateMemoryPool
 os_AllocateMemory
 os_DeallocateMemory
 os_PartitionInformation
 os_MemoryInformation
 os_CreateTimer
 os_DestroyTimer
 os_StartTimer
 os_StopTimer
 os_QueryTimer
 os_TimerInformation
 os_CreateSemaphore
 os_DestroySemaphore
 os_OpenSemaphore
 os_CloseSemaphore
 os_ObtainSemaphore
 os_ReleaseSemaphore
 os_SemaphoreInformation
 os_GetTime
 os_ObjectInformation
 CondatMemPoolHandle
 PrimGroupHandle
 TestGroupHandle