Hello,
I want to measure myoelectric signals with a Clicker 2 for STM32 (STM32F407VGT6) and the EMG Click.
After downloading the EMG Click example in Lipstock I tried to build the Software and several Errors occured:
“Undeclared identifier ‘microbus_logWrite’ in expression Click_EMG_STM.c”
“Undeclared identifier ‘microbus_gpioInit’ in expression Click_EMG_STM.c”
“Undeclared identifier ‘microbus_logInit’ in expression Click_EMG_STM.c”
“Undeclared identifier ‘emg_gpioDriverInit’ in expression Click_EMG_STM.c”
“Undeclared identifier ‘_MIKROBUS1_GPIO’ in expression Click_EMG_STM.c”
The author of the example used the following hardware
MCU: STM32F107VCT6
Dev. Board: EasyMx PRO v7 for STM32
Can anyone help me out?
Thanks in advance and kind regards,
Nils
EMG Click Example on Clicker 2 for STM32
EMG Click Example on Clicker 2 for STM32
- Attachments
-
- Errors EMG-Click.JPG (278.01 KiB) Viewed 1993 times
- jovana.medakovic
- mikroElektronika team
- Posts: 986
- Joined: 18 Dec 2018 10:36
Re: EMG Click Example on Clicker 2 for STM32
Hello,
Please, press ALT+F9 to rebuild all sources.
Check if you included mikrosdk library from the Library Manager.
Can you tell me which version of the compiler you are using?
Kind regards,
Jovana
Please, press ALT+F9 to rebuild all sources.
Check if you included mikrosdk library from the Library Manager.
Can you tell me which version of the compiler you are using?
Kind regards,
Jovana
Re: EMG Click Example on Clicker 2 for STM32
I'm having a similar problem getting the Click Matrix RGB STM example from Libstock to compile for use on a Clicker 2 board (STM32F407VG CPU). I've gone thru a couple of iterations, adding Search Paths to the Project and including the mikroBUS BDF APF and Matrix RGB click libraries using the Library Manager. Correcting the path and library issues got me past 2 compile errors, but now I have a third issue as seen on the attached screen shot. However, this time, the Path to _c2_stm32_gpio.c is already in the Search Path for the project. I can only conclude that the missing "gpio" file is in a Library that needs to be included. But which one??? Can you please point me in the right direction?
FYI : I Rebuilt all sources and am using Package Managerv3.6.0.
FYI : I Rebuilt all sources and am using Package Managerv3.6.0.
- Attachments
-
- Libstock compile errors 3.png (162.2 KiB) Viewed 1903 times
Re: EMG Click Example on Clicker 2 for STM32
Problem solved. Sort of. I moved to a second computer, extracted the Click Matrix RGB example from LibStock. I then added the search paths ...\Matrix RGB Click/Uses/ and ...\mikroBUS DBF API\Uses\. Click on "Rebuild All" and everything compiled fine. Not sure why it would not compile on my laptop. That's still a mystery, but at least I can create a downloadable hex file.
- jovana.medakovic
- mikroElektronika team
- Posts: 986
- Joined: 18 Dec 2018 10:36
Re: EMG Click Example on Clicker 2 for STM32
Hello,
As I can see from the picture which you sent me, you included all mikroBUS BDF API libraries from the Library Manager, but you need to include only the library for clicker2.
Kind regards,
Jovana
As I can see from the picture which you sent me, you included all mikroBUS BDF API libraries from the Library Manager, but you need to include only the library for clicker2.
Kind regards,
Jovana
Re: EMG Click Example on Clicker 2 for STM32
OK. Thank you. I'll be more careful in the future.
Neal
Neal