Pages

Wednesday, August 30, 2017

Crossroads without signs...

Usually. I chose the complete solution, the one that helps me get the most of it. As is the case with STM32CubeMX + OpenSTM32 IDE + HAL drivers. But HAL does not give me the level of control I was used to, so Low Layer drivers are a very good addition. Unfortunately, OpenSTM32 does not offer support for it and that breaks the solution.


Well. one solution is to generate the code for Makefile (a STM32CubeMX option) and that would make it "IDE immune", but for now, there are linking problems in the I2C library of the STM32L1xx Low Layer drivers and it seems no one got that yet (I opened a discussion thread on the ST community)...

I will try to see if I can get the libopencm3 library configured for my Nucleo board. If it works, I won't mind to translate my libraries again for the new system.

Tuesday, August 1, 2017

A new morning shines at the horizon

Finally, the STM32CubeMX can generate Low Layer code for all STM32 microcontrollers! Thank you ST Microelectronics!

I have taken an active pause, continuing with PIC18F microcontrollers, SDCC and XC8 compilers. Translating the library and examples for the DS18B20 temperature sensor, but these are yet to be committed in their repositories. I also tried to make an I2C library for the TSL2591 LUX sensor (now this is the second I2C device in my possession), still working on that...

So, not a wasted waiting... but not an activity for this blog.

I had a topic here on ST Community regarding this feature for STM32CubeMX.