- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi guys, im new to programing and psoc. On my project i cant acess to other funcions in my header files.
i have my main:
#include <project.h>
#include <./ble.h>
void InitSystem(){
CyGlobalIntEnable; /* Enable global interrupts. */
CyBle_Start(eventHandler);
}
int main(void)
{
InitSystem();
}
and my ble.h
#ifndef _BLE_H_
#define _BLE_H_
#include <project.h>
//Funções
void eventHandler(uint32 event, void * eventParam);
#endif
im not able to acess to any funcion in ble.h and i cant understand why
- Labels:
-
Other
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please provide us with your project.Which creator version are you using.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have also same problem,
i am using PSoC creator 4.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
do you name your .c as ble.c?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using
#include <./ble.h>
is strange - it should be just
#include <ble.h>
because the compiler is managing the search path.
Then I think it should be
CyBle_Start(&eventHandler);
- you need to supply the address of the function.
Can you tell us the actual error message you are seeing?