1 Reply Latest reply on Apr 23, 2018 8:00 AM by SrikanthD_56

    CM0 does not have access to cy_ble_gap.h file definitions

    alca_3047856

      Does anyone know of this issue?

       

      I am using the example project:  CE212736 - PSoC 6 MCU with Bluetooth Low Energy (BLE) Connectivity - Find Me

       

      In cy_ble_gap.h which has been generated by the ide, there is a define:  #define CY_BLE_ADVERTISING_FAST                    (0x00u)

       

      In main_cm4.c    you can use the define: 

      if(CY_BLE_ADVERTISING_FAST){

      //do something

      }

       

      In main_cm0p.c   this same code is not working.  It cannot find the definition for CY_BLE_ADVERTISING_FAST.

       

       

      What I am trying to do is move all of the bluetooth code over to the cm0.  This project currently runs the ble handler on the cm4.  There is a lot of ble code that is generated by the IDE, and the cm0 for some reason is not able to access the files.

       

      Any help on this would be greatly appreciated.