Hello,
I wanted to create a project in IAR Workbench IDE on top of the RemoTI Application Framework (RTI). The project that I intend to develop will be developed for the white remote control included in RF4CE hardware kit. The purpose of the project that I wanted to create is similar to the purpose of Basic Remote project from RemoTI software, process key inputs and send the corresponding ZRC command over-the-air to a target node.
The difference is in some few things I wanted to add ( process some of keys that are not been processed in Basic Remote application), change (map differently the special keys as recommanded in RemoTI Sample Application) and exclude (test mode).
I dont want to use RemoTI_OadDemo because I wanted to learn from scratch how to create a new RemoTI project. To build my own project I am guiding through the samples application projects but I am a bit confused about which files from HAL , OSAL and Profile components I have to include in my project.
For OSAL component:
I added to my project those files.
C:\Texas Instruments\RemoTI-CC253xDK-1.3.1\Components\osal\common :
OSAL.c
OSAL_clock.c
OSAL_Memory.c
OSAL_PwrMgr.c
OSAL_Timers.c
C:\Texas Instruments\RemoTI-CC253xDK-1.3.1\Components\osal\mcu\cc2530:
osal_snv.c
OSAL_Math.s51.
I noted that OSAL component files are the same in all of sample application projects. And it made sense for me because I read in RemoTI developer's guide that only HAL component have to be modified to suit the hardware available on our device. So I built OSAL component as a black box.
1. Will OSAL component be the same for any RemoTI project?
For HAL component:
This part have been the most difficult part for me. I am a bit lost between all this HAL files.
2. Will HAL component be the same of Basic Remote Project, once I will use the same resources of hardware?
For Profile component:
3. I wanted to use only ZRC Profile, so that I dont need to include ZID and GDP files, do I?
These files rcn_config.c, rsa.h, rsa_main.c, rsa_osal.c which are included in common group in Application component of Basic Remote Project, they should be included in my project? Why?
I am sorry for this long post and those question, I would be happy if you could answer at least some of them.
Best regards,
Jessica Inocencio