Other Parts Discussed in Thread: OPT3001, CC2650
I have setup a OPT3001 I2C sensor running in Sensor Controller Studio. It works just fine. I have a custom board that uses the 5X5 RHB chip variant.
In the SCS project properties i have chosen the Operating System as TI-RTOS and the Chip Package as QFN32 5X5RHB
However when i generate the CCS files and make necessary changes as mentioned in Integrating SCS Examples to Project Zero Section 9.2 i get the following error -
#35 #error directive: "SCIF driver has incorrect target chip package configuration for this example. Please change to 'QFN48 7x7 RGZ' in the Sensor Controller Studio project panel and re-generate the driver."
Also i see the following lines in the main.c (renamed appropriately as sense_read.c) file inside SCS folder and notice a cross mark beside the penultimate line -
// Display error message if the SCIF driver has been generated with incorrect operating system setting #ifndef SCIF_OSAL_TIRTOS_H #error "SCIF driver has incorrect operating system configuration for this example. Please change to 'TI-RTOS' in the Sensor Controller Studio project panel and re-generate the driver." #endif // Display error message if the SCIF driver has been generated with incorrect target chip package #ifndef SCIF_TARGET_CHIP_PACKAGE_QFN48_7X7_RGZ #error "SCIF driver has incorrect target chip package configuration for this example. Please change to 'QFN48 7x7 RGZ' in the Sensor Controller Studio project panel and re-generate the driver." #endif
Any tips how to mitigate this error?