Page 1 of 1

Newbie Question Compiler Error with Mikromedia+ ARM

Posted: 17 May 2015 18:18
by philippeb
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

Re: Newbie Question Compiler Error with Mikromedia+ ARM

Posted: 18 May 2015 14:23
by Aleksandar.Mitrovic
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

Re: Newbie Question Compiler Error with Mikromedia+ ARM

Posted: 22 May 2015 17:18
by philippeb
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

Re: Newbie Question Compiler Error with Mikromedia+ ARM

Posted: 25 May 2015 10:29
by filip
Hi,

Please, attach here the project that demonstrates this issue.

Regards,
Filip.

Re: Newbie Question Compiler Error with Mikromedia+ ARM

Posted: 26 May 2015 10:00
by philippeb
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

Re: Newbie Question Compiler Error with Mikromedia+ ARM

Posted: 27 May 2015 08:33
by Aleksandar.Mitrovic
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

Re: Newbie Question Compiler Error with Mikromedia+ ARM

Posted: 27 May 2015 11:07
by philippeb
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

Re: Newbie Question Compiler Error with Mikromedia+ ARM

Posted: 28 May 2015 16:00
by Aleksandar.Mitrovic
Hi Philippe,

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

Regards,
Aleksandar

Re: Newbie Question Compiler Error with Mikromedia+ ARM

Posted: 28 May 2015 16:44
by philippeb
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

Re: Newbie Question Compiler Error with Mikromedia+ ARM

Posted: 28 May 2015 16:52
by Aleksandar.Mitrovic
Hi Philippe,

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

Your welcome.

Regards,
Aleksandar