Newbie Question Compiler Error with Mikromedia+ ARM

General discussion on mikroElektronika website & forums.
Post Reply
Author
Message
philippeb
Posts: 17
Joined: 15 May 2015 17:00

Newbie Question Compiler Error with Mikromedia+ ARM

#1 Post by philippeb » 17 May 2015 18:18

Hi

I am new to your product. I recently have purchased the ARM C Compiler and one Mikromedia+ for STM32 ARM with Shield.
I have downloaded the example available from your site to test the various modules included on the board and getting familiar with the code.
When I try to compile, I get several error for Fat32 and Ethernet Library

Example : the following line
// ethernet initalization
ethInitialized_mark = Net_Ethernet_Intern_Init(myMacAddr, myIpAddr, _ETHERNET_AUTO_NEGOTIATION, &_GPIO_MODULE_ETHERNET_G11_13_14);
returns one error (too many parameter)

To get rid of the error , I need to remove the last parameter. The method is invoke with 3 parameters for a Stellaris but with 4 for STM32
The STM32F407ZG is defined in the project settings

any idea's why this error is generated

Thanks for your help

User avatar
Aleksandar.Mitrovic
mikroElektronika team
Posts: 1697
Joined: 11 Mar 2015 12:48

Re: Newbie Question Compiler Error with Mikromedia+ ARM

#2 Post by Aleksandar.Mitrovic » 18 May 2015 14:23

Hi,

I suggest you to install Libraries from the links below and then try to compile:
1. http://www.libstock.com/projects/view/1 ... et-library
2. http://www.libstock.com/projects/view/108/fat32-library

Note you should install package whit compiler closed.
When finish with installation use "Rebuild Library" in Library manager to update libraries.

Best regards,
Aleksandar

philippeb
Posts: 17
Joined: 15 May 2015 17:00

Re: Newbie Question Compiler Error with Mikromedia+ ARM

#3 Post by philippeb » 22 May 2015 17:18

Thanks for the help

I did install the 2 libraries but I still have some errors left

Unresolved extern 'Net_Ethernet_Intern_arpCache' __Lib_NetEthInternal_STM32.c
Unresolved extern 'socket_Intern' __Lib_NetEthInternal_STM32.c
Unresolved extern 'udpRecord_Intern' __Lib_NetEthInternal_STM32.c
Unresolved extern 'tx_buffers_Intern' __Lib_NetEthInternal_STM32.c

So far, the original cod example has been untouched

Any suggestion for this one ?

Thanks

Philippe

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Newbie Question Compiler Error with Mikromedia+ ARM

#4 Post by filip » 25 May 2015 10:29

Hi,

Please, attach here the project that demonstrates this issue.

Regards,
Filip.

philippeb
Posts: 17
Joined: 15 May 2015 17:00

Re: Newbie Question Compiler Error with Mikromedia+ ARM

#5 Post by philippeb » 26 May 2015 10:00

Hi Filip

This is a project I have downloadd from your site.
So far, I didn't really change the code
The files are attached

Philippe
Attachments
CompileError.png
CompileError.png (37.46 KiB) Viewed 4782 times

User avatar
Aleksandar.Mitrovic
mikroElektronika team
Posts: 1697
Joined: 11 Mar 2015 12:48

Re: Newbie Question Compiler Error with Mikromedia+ ARM

#6 Post by Aleksandar.Mitrovic » 27 May 2015 08:33

Hi Philippe,

As @Filip mentioned before we will need project in small zipped form how could we will be able to see your settings of this project and all included libraries.

Please attach compiled project on forum or open support ticket on our site if you want to solve your problem in more private domain.

Best regards,
Aleksandar

philippeb
Posts: 17
Joined: 15 May 2015 17:00

Re: Newbie Question Compiler Error with Mikromedia+ ARM

#7 Post by philippeb » 27 May 2015 11:07

Hi Aleksandar, Filip

Sorry I though I did it...

I have attached the project. Note that as I told you, the code is normally the original one.
I tried to reinstall the Net Library but it didn't help in my case

Thanks for support

Philippe
Attachments
629_mikromedia___for_stm32_v1.0.0.0.zip
(6.54 MiB) Downloaded 150 times

User avatar
Aleksandar.Mitrovic
mikroElektronika team
Posts: 1697
Joined: 11 Mar 2015 12:48

Re: Newbie Question Compiler Error with Mikromedia+ ARM

#8 Post by Aleksandar.Mitrovic » 28 May 2015 16:00

Hi Philippe,

Can you try to enable all libraries for Network Ethernet like on picture in attachment?

Regards,
Aleksandar
Attachments
STMlibraries.JPG
STMlibraries.JPG (19.29 KiB) Viewed 4762 times

philippeb
Posts: 17
Joined: 15 May 2015 17:00

Re: Newbie Question Compiler Error with Mikromedia+ ARM

#9 Post by philippeb » 28 May 2015 16:44

Hi Aleksandar

You're right.
The Net_Ethernet_Intern_Defs_STM32 was not checked !

Thanks for you help
Very much appreciated

I can go further and start to play

Philippe
Attachments
28-05-15 17-30-04.png
28-05-15 17-30-04.png (9.85 KiB) Viewed 4760 times

User avatar
Aleksandar.Mitrovic
mikroElektronika team
Posts: 1697
Joined: 11 Mar 2015 12:48

Re: Newbie Question Compiler Error with Mikromedia+ ARM

#10 Post by Aleksandar.Mitrovic » 28 May 2015 16:52

Hi Philippe,

I'm glad that I was able to help you.

Your welcome.

Regards,
Aleksandar

Post Reply

Return to “Website & Forums General Discussion”