Re: Some updates to F4
Posted: Wed Aug 19, 2015 10:07 pm
I was not looking for what tool shall I use to code as much as helping with the stm32duino port. But if I can help with your branch in any way, I'll be glad.
Everything relating to using STM32 boards with the Arduino IDE
I was thinking that the CFQ might be more interested in using this with windows. On OS X there is only one part that does not work, the pin configurator, should one want to override the default suggestions. I figured it was the same on Linux.Rick Kimball wrote:Runs and being useful are two different things. On linux it runs, but much of the the GUI doesn't work, so it is not really a viable tool.sheepdoll wrote:Understanding the STM32CubeMx tool should be a good first step for an IT/Coder. It is graphical, runs on all platforms.
If you were working with a F1xxx it makes sense to continue with the stm32duino F4 port. I guess the other question would be do you want to use the F4 as an Arduino, connect shields, devices etc. or do you want to get your hands dirty writing the low level library code? If it is a matter of using things like SPI and I2C, then F4 is not the right platform. Core library coders on the other hand are few and far between ...madmalkav wrote:I was not looking for what tool shall I use to code as much as helping with the stm32duino port. But if I can help with your branch in any way, I'll be glad.
Could not think of a better suggestion myself. Even having a second person working through the blink and serial stuff would be a help.RogerClark wrote:
But of course there are no libraries yet for @sheepdoll's core. So perhaps writing the SPI library for that core would be a good use of time ?
That is a way of looking at it. CubeMX evolved from a device specific platform such as CubeF4. This was sort of a marketing tool. A way for non technicals to search for which product was best for an application, then download the docs and manufactured supplied setup codes. The older stuff used device specific libraries called Standard Peripheral Libraries.madmalkav wrote:Will try to look at it in the next days. I'm currently busy with some unexpected home improvement works :/
By the way, I still need to understand how all that sea of stuff interrelate between. I thought CubeMX was just a GUI for making the MCU initialization code easier, and the HAL are some ST provided libraries to use against standard GCC-ARM?
Yes, the need is for transparent Arduino stuff. stm32f4-discovery.com is more for Coocox CoIDE or the propretary IDEs like Kiel. One of the reasons I was asking in my initial response as to your preferred IDE and tool chain.And you are writing a layer to use that stuff with standard Arduino stuff, but libraries needs to be ported, right? So we must look for STM32 libraries like this and adapt them to the Arduino standard?
There is a lot to wrap one's head around. The following is a sort of basic outline of what exists and what is is needed when working with Bare Metal Hardware (BMH).As you can see there is some stuff I still need to glue in the correct order in my head...
I could never get mBed to work, It always comes back with the compiler offline error message.PS: I confess I have been playing a little with the mBed stuff, but don't take me for a traitor
Me neither, although I've used mBed with LCP1768, not STM ...madmalkav wrote:(By the way, I didn't had problems with mbed online or exported, perhaps a macosx thing?)