2012-06-01 07:50 AM
Hi All,
STM32F0 Discovery kit projects examples for Arduino, Mikroelektronika and ST MEMS DIL24 boards are available from : UM1525 user manual is available from :http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/USER_MANUAL/DM00050135.pdf
It explains how to set additional board to connect Arduino, Mikroelektronika or ST MEMS DIL24 boards. All .c/.h sources files are provided for : -Projects examples. -Mikroelektronika mikroBUS connector access. -Arduino UNO Analog in/Digital connector access -ST MEMS DIL24 connector access. Arduino basics functions are available. You should be able to develop projects and run existing sketch with few modifications. mikroBUS functions access call should give you possibility to run existing clickBOARD project with few modification too. All informations about STM32F0 Discovery kit are available from : Best regards Pascal #stm32f0-mikroelektronika-arduino #using-the-stm32-stdperiphlib2012-09-16 01:58 PM
2012-09-16 04:32 PM
You need to look at your stm32f0xx.h (library) and stm32f0xx_conf.h (project) files, and how the project has pathed the include directories the library and the project needs.
2012-09-16 11:13 PM
There is a mismatch:
Hi, i tried to use beebluetooth code on my stm32vldiscovery, but i can't compile..Updating build tree...gpio.c serial.c stm32f0xx_adc.c stm32f0xx_exti.c stm32f0xx_gpio.c stm32f0xx_misc.c stm32f0xx_pwr.c The VL_Discovery is not a F0 board. If this is just a typo, follow clive's advice and check the path settings.
2012-09-17 12:33 AM
2012-09-17 08:21 AM
I'm sorry, i found this in stm32VLdiscovery page, but it work on stm32f0 board as u said.
Could you cite the page.
2012-10-10 02:49 AM
Hi all,
I'm trying to compile the Arduino examples with EWARM but I have the following error:Fatal Error[Pe1696]: cannot open source file ''core_cm0.h''I have tried to copy ''core_cm0.h'' from the ''STM32F0 Discovery kit firmware package, including 21 examples and preconfigured projects for 4 different IDEs
'' file and also the other missing files as reported during compiling but finally I can't perform such operation due to persistent errors. Has anybody experienced such issue? Any help will be really appreciated. Thank you.Lupo2012-10-10 03:30 AM
In the firmware package, this header file is in ../Libraries/CMSIS/Include.
It is hard to judge from outside how EWARM did setup the specific includes. You might need to point the IDE to the includes directly, in the project settings. I think ''Project Options->C/C++ compiler->Preprocessor'' would be the right place to add all include pathes, if necessary. (I'm just having a version of IAR EW for the RL78, so I can't reproduce you problem directly). However, I am using CrossWorks for ARM development, so I have to make these steps for each firmware example project I import.2012-10-10 07:26 AM
Thank you. I'll check as soon as I can and I'll let you know. In case of further needs I'll give you more details related to such issue.
2012-10-10 02:41 PM
Hi,
following your suggestion the error is changed: now I have these: Error[Ta041]: Cannot call intrinsic function ''__nounwind __DSB'' from Thumb mode in this architecture. Error[Ta041]: Cannot call intrinsic function ''__nounwind __DSB'' from Thumb mode in this architecture. Error while running C/C++ Compiler loop.c Error[Ta041]: Cannot call intrinsic function ''__nounwind __DSB'' from Thumb mode in this architecture. Error[Ta041]: Cannot call intrinsic function ''__nounwind __DSB'' from Thumb mode in this architecture. Error while running C/C++ Compiler main.c ............................................ ............................................ This is just an extraction of the all errors I have due to they are the same (very similar) for a total of 40. What's wrong? I'm just trying to use the Arduino TEST example firmware as is, in order to understand in which way it is possible to use the Arduino's code on the Discovery F0. Any ideas? Thank you again. Lupo