Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
GrCa_1363456
Level 6
Level 6
50 likes received Beta tester First comment on KBA

Is the CapSense Tuner compatible with a Proximity Sensor?

Starting with CapSense_Proximity example for CY8CKIT_044, I attempted to enable the CapSense Tuner.

I updated all components.

I added an EZI2C component to the schematics.

I set "CapSense_TUNER_API_GENERATE" to 1uin CapSense.h

During the build an error occurs and "CapSense_TUNER_API_GENERATE" is switched back to 0u

An error appears in red text in the Output WIndow, I set the text that was red to bold below.

--------------- Build Started: 02/03/2021 20:47:18 Project: CY8CKIT_044_CapSense_Proximity, Configuration: ARM GCC 5.4-2016-q2-update Debug ---------------
The code generation step is up to date.
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_541\Debug/main.lst -g -D DEBUG -Wall -ffunction-sections -ffat-lto-objects -Og -c main.c -o .\CortexM0\ARM_GCC_541\Debug\main.o
In file included from Generated_Source\PSoC4/project.h:25:0,
from main.c:62:
Generated_Source\PSoC4/CapSense_TunerHelper.h:26:30: fatal error: CapSense_MBX.h: No such file or directory
compilation terminated.
The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.
--------------- Build Failed: 02/03/2021 20:47:19 ---------------

What is needed to enable the tuner?

Greg

 

0 Likes
1 Solution
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

I set "CapSense_TUNER_API_GENERATE" to 1uin CapSense.h

I think that we are not supposed to edit "Auto Generated" files.

Instead, how about setting it in the CapSense Configure Dialog?

001-CapSense_Config.JPG

moto

View solution in original post

1 Reply
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

I set "CapSense_TUNER_API_GENERATE" to 1uin CapSense.h

I think that we are not supposed to edit "Auto Generated" files.

Instead, how about setting it in the CapSense Configure Dialog?

001-CapSense_Config.JPG

moto