- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After building a project which has Amux1 and other components, The API for Amux1_Start() is not available (same for other components). There's Amux1_Stop(), and in my other projects there is the _Start(); but not here. Why would this be????
Solved! Go to Solution.
- Labels:
-
PSoC Creator Software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
From your image I observe that you are typing Amux1_St at line#17 which is out side the main() function. Hence PSoC Creator is listing only the Amux1_Stop as it's a macro.
Now try typing Amux1_St at line#28 (inside the main() function) and you will see Amux1_Start() API in the code editor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I copy one component at a time into another project file, the API's are generated properly. If I continue until I have the EXACT top-level design, the APIs are generated properly for every component. BUT if I copy the entire original top-level design and then paste it into a new project, I get the same problem; no _Start() API's are generated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FYI, I made sure it was set as the active project, and it was definitely building from the correct file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I opened your project, updated the components (was requestedt) and compiled without any errors. Seems as if something in project dependencies (menu) might be wrong. Which Creator version are you using? I've got 4.1 and 4.2
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
From your image I observe that you are typing Amux1_St at line#17 which is out side the main() function. Hence PSoC Creator is listing only the Amux1_Stop as it's a macro.
Now try typing Amux1_St at line#28 (inside the main() function) and you will see Amux1_Start() API in the code editor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
srds- that was it, Brilliant. Thanks a lot