- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a design in PSoC Creator 2.1 which works on a PSoC 5. I recently moved over to a PSoC5LP, which mean I must move my design over to PSoC Creator 2.2. I updated all the components and all of them compiles fine except the PSoC Sensei Parallel FIFO. I deleted it and recreated it with the default name so that all its source code is cleaned and recompiled but still no luck. The error message is:
.\Generated_Source\PSoC5\FIFOIn_1.c:60: error: 'FIFOIn_1_AsyncCtl_ControlReg__CONTROL_REG' undeclared (first use in this function)
In the h file it is used as a define:
#define FIFOIn_1_CONTROL_REG (* (reg8 *) FIFOIn_1_AsyncCtl_ControlReg__CONTROL_REG)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The FIFOIn_1.c file has a #include FIFOIn_1.h in it ?
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FIFOIn_1.h is included in the c file. This all works in PSoC Creator 2.1. It looks like the compiler cannot resolve
FIFOIn_1_AsyncCtl_ControlReg__CONTROL_REG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content