2016-03-30 02:56 AM
hi,
CUBEMX made simple code which works, than i add Touch driver1.4.4 and get errors, why this two do not compatiable ? - KEIL , comman line: USE_HAL_DRIVER, STM32L152xB. compile : - '' GR1 has already been declared in the current scope '' etc. - '' PA2 has already been declared in the current scope '' etc. ..\..\..\..\32l1-touch-lib\STM32L1xx_STMTouch_Lib_V1.1.0\Libraries\STMTouch_Driver\src\tsl_acq_stm32l1xx_sw.c(79): error: #20: identifier ''RCC_AHBPeriph_GPIOA'' is undefined - it seems MDK in building process tied different things or not .. but why .. so I think I missed parameters .. but where ?2016-03-31 05:28 AM
2016-03-31 01:59 PM
Finaly:
..\Drivers\STM32_TouchSensing_Library\inc\tsl_check_config.h(406): error: #35: #error directive: ''TSLPRM_DELAY_DISCHARGE_ALL is not defined.''2016-04-01 03:24 AM
Hi mikey,
- TSLPRM_USE_SHIELD is defined in the file STM32Cube_FW_L1_V1.5.0\Middlewares\ST\STM32_TouchSensing_Library\inc\tsl_conf_stm32l1xx_template.h- TSLPRM_DELAY_DISCHARGE_ALL is defined in the file STM32Cube_FW_L1_V1.5.0\Middlewares\ST\STM32_TouchSensing_Library\inc\tsl_conf_tsc_template.h-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2016-04-01 06:46 AM
great,
which one to take and make tsl_conf.h ? at first misses second define at second first define2016-04-05 02:58 AM
Hi mickey,
Please note that you may find more details on how to use the TSL referring to thehttp://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00210526.pdf
: ''Developing applications on STM32Cube with touch sensing''.-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.