EMG Click Example on Clicker 2 for STM32

General discussion on mikroC PRO for ARM.
Post Reply
Author
Message
Nils
Posts: 2
Joined: 04 Nov 2019 09:20

EMG Click Example on Clicker 2 for STM32

#1 Post by Nils » 13 Nov 2019 12:05

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
Attachments
Errors EMG-Click.JPG
Errors EMG-Click.JPG (278.01 KiB) Viewed 1993 times

User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: EMG Click Example on Clicker 2 for STM32

#2 Post by jovana.medakovic » 15 Nov 2019 10:13

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

nealbert
Posts: 13
Joined: 07 Jun 2013 04:40

Re: EMG Click Example on Clicker 2 for STM32

#3 Post by nealbert » 20 Mar 2020 22:26

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.
Attachments
Libstock compile errors 3.png
Libstock compile errors 3.png (162.2 KiB) Viewed 1903 times

nealbert
Posts: 13
Joined: 07 Jun 2013 04:40

Re: EMG Click Example on Clicker 2 for STM32

#4 Post by nealbert » 22 Mar 2020 19:49

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.

User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: EMG Click Example on Clicker 2 for STM32

#5 Post by jovana.medakovic » 23 Mar 2020 12:44

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

nealbert
Posts: 13
Joined: 07 Jun 2013 04:40

Re: EMG Click Example on Clicker 2 for STM32

#6 Post by nealbert » 25 Mar 2020 21:27

OK. Thank you. I'll be more careful in the future.

Neal

Post Reply

Return to “mikroC PRO for ARM General”