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
Newbie Question Compiler Error with Mikromedia+ ARM
- Aleksandar.Mitrovic
- mikroElektronika team
- Posts: 1697
- Joined: 11 Mar 2015 12:48
Re: Newbie Question Compiler Error with Mikromedia+ ARM
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
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
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
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
Hi,
Please, attach here the project that demonstrates this issue.
Regards,
Filip.
Please, attach here the project that demonstrates this issue.
Regards,
Filip.
Re: Newbie Question Compiler Error with Mikromedia+ ARM
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
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 (37.46 KiB) Viewed 4782 times
- Aleksandar.Mitrovic
- mikroElektronika team
- Posts: 1697
- Joined: 11 Mar 2015 12:48
Re: Newbie Question Compiler Error with Mikromedia+ ARM
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
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
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
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
- Aleksandar.Mitrovic
- mikroElektronika team
- Posts: 1697
- Joined: 11 Mar 2015 12:48
Re: Newbie Question Compiler Error with Mikromedia+ ARM
Hi Philippe,
Can you try to enable all libraries for Network Ethernet like on picture in attachment?
Regards,
Aleksandar
Can you try to enable all libraries for Network Ethernet like on picture in attachment?
Regards,
Aleksandar
- Attachments
-
- STMlibraries.JPG (19.29 KiB) Viewed 4762 times
Re: Newbie Question Compiler Error with Mikromedia+ ARM
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
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 (9.85 KiB) Viewed 4760 times
- Aleksandar.Mitrovic
- mikroElektronika team
- Posts: 1697
- Joined: 11 Mar 2015 12:48
Re: Newbie Question Compiler Error with Mikromedia+ ARM
Hi Philippe,
I'm glad that I was able to help you.
Your welcome.
Regards,
Aleksandar
I'm glad that I was able to help you.
Your welcome.
Regards,
Aleksandar