AnsweredAssumed Answered

CUBEMX -> code -> add TSL Lib something is wrong

Question asked by mickey on Mar 30, 2016
Latest reply on Apr 1, 2016 by Amel N
                                   
           
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 ? 
           

Outcomes