FreeCalypso > hg > fc-magnetite
view src/gpf3/frame/frame.def @ 600:8f50b202e81f
board preprocessor conditionals: prep for more FC hw in the future
This change eliminates the CONFIG_TARGET_FCDEV3B preprocessor symbol and
all preprocessor conditionals throughout the code base that tested for it,
replacing them with CONFIG_TARGET_FCFAM or CONFIG_TARGET_FCMODEM. These
new symbols are specified as follows:
CONFIG_TARGET_FCFAM is intended to cover all hardware designs created by
Mother Mychaela under the FreeCalypso trademark. This family will include
modem products (repackagings of the FCDEV3B, possibly with RFFE or even
RF transceiver changes), and also my desired FreeCalypso handset product.
CONFIG_TARGET_FCMODEM is intended to cover all FreeCalypso modem products
(which will be firmware-compatible with the FCDEV3B if they use TI Rita
transceiver, or will require a different fw build if we switch to one of
Silabs Aero transceivers), but not the handset product. Right now this
CONFIG_TARGET_FCMODEM preprocessor symbol is used to conditionalize
everything dealing with MCSI.
At the present moment the future of FC hardware evolution is still unknown:
it is not known whether we will ever have any beyond-FCDEV3B hardware at all
(contingent on uncertain funding), and if we do produce further FC hardware
designs, it is not known whether they will retain the same FIC modem core
(triband), if we are going to have a quadband design that still retains the
classic Rita transceiver, or if we are going to switch to Silabs Aero II
or some other transceiver. If we produce a quadband modem that still uses
Rita, it will run exactly the same fw as the FCDEV3B thanks to the way we
define TSPACT signals for the RF_FAM=12 && CONFIG_TARGET_FCFAM combination,
and the current fcdev3b build target will be renamed to fcmodem. OTOH, if
that putative quadband modem will be Aero-based, then it will require a
different fw build target, the fcdev3b target will stay as it is, and the
two targets will both define CONFIG_TARGET_FCFAM and CONFIG_TARGET_FCMODEM,
but will have different RF_FAM numbers. But no matter which way we are
going to evolve, it is not right to have conditionals on CONFIG_TARGET_FCDEV3B
in places like ACI, and the present change clears the way for future
evolution.
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Mon, 01 Apr 2019 01:05:24 +0000 |
| parents | c41a534f33c6 |
| children |
line wrap: on
line source
LIBRARY DESCRIPTION "GPS Frame" EXPORTS vsi_m_new vsi_m_free vsi_m_cfree vsi_m_cnew vsi_m_attach vsi_m_init vsi_p_create vsi_p_exit vsi_p_delete vsi_p_start vsi_p_stop vsi_p_handle vsi_p_name vsi_c_open vsi_c_close vsi_c_clear vsi_c_send vsi_c_free vsi_c_pfree vsi_c_new vsi_c_new_sdu vsi_c_pnew vsi_c_await vsi_c_primitive vsi_c_psend vsi_c_pmax_size vsi_c_sync vsi_c_alloc_send vsi_c_ppass vsi_free vsi_drpo_new vsi_drp_new vsi_dp_new vsi_dp_sum vsi_dp_max_size 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_ttrace vsi_o_itrace _vsi_o_itrace vsi_o_ptrace vsi_o_error_ttrace vsi_o_func_ttrace vsi_o_event_ttrace vsi_o_strace vsi_o_assert vsi_o_set_htrace vsi_gettaskname vsi_gettaskhandle vsi_e_name vsi_e_handle vsi_gettaskflags vsi_gettracemask vsi_settracemask vsi_t_time vsi_t_sleep vsi_d_create vsi_d_init vsi_d_exit 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_d_flush vsi_trc_free vsi_trcsuspend vsi_object_info pf_StartAllTasks pf_CreateAllEntities pf_Init pf_get_frameenv os_CreateTask os_DestroyTask os_StartTask os_StopTask os_GetTaskName os_GetTaskHandle os_SuspendTask os_TaskInformation os_CreateQueue os_DestroyQueue os_OpenQueue os_GetQueueName os_create_extq 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 SuppressOK rt_RouteRead EntityNameBuf trc_hCommTrace FRM_TST_NAME FRM_RCV_NAME FRM_SYST_NAME FRM_PCO_NAME ext_data_pool_handle int_data_pool_handle PrimGroupHandle DmemGroupHandle
