ODeV framework The Blog, a place where thoughts run free...

ODeV framework is available for STM32L0

This framework has been designed for complex low power embedded application. So it seem natural to me to port the framework to STM32L0 family. In this way we have more choce This framework has been designed for complex low power embedded application. So it seem natural to me to port the framework to STM32L0 family. In this way we have more design choice by taking advantage from the STM32 portfolio.

The framework has been tested on a NUCLEO-L073RZ board.

It is interesting to give a look at the difference between the L4 and L0 source code of the simple demo displayed in the following image.

ODeV - diff between STM32L4 and STM32L0 port.
Fig.1

The first things we observe are the modification in the Kernel layer:

  • The STM32Lx-HAL library is changed from L4 to L0
  • The CMSIS files are changed from L4 to L0
  • The FreeRTOS portable layer is changed from ARM_CM4F to ARM_CM0

  • All these changes are a simple copy paste of the new files after deleting the old ones. Of course we need to change some project settings.
    We also need to change the linker script. Except this, there are very few files, at application level, and a couple of files at the service layer (these are the files xxx_mx.c) that we need to modify or change.

    That is all. Now we can reuse all the Managed Task we developed for STM32L4 also with STM32L0.

    The source code is available in
    the master_l0 branch of the GIT repository.

    blog comments powered by Disqus

    We use cookies to personalize content and to provide a comment feature. To analyze our traffic, we use basic Google Analytics implementation with anonymized dat. If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the stf12.org website. To understand more about the cookies please see this web page.