Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world.
And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download two short videos (registration required) highlighting:

System Workbench for STM32


How on earth do you include a C file and its header file?

It is so unbelievably, ridiculously, and possibly impossible to do something as simple as just including a folder that has a C file and its header into my project and having it actually importable in my main.c.

I’m trying to simply modify this project: http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32-ode-function-pack-sw/fp-sns-allmems1.html?ecmp=tt4023_gl_enews_aug2016Question

I’m using the STM32L476G Nucleo project and I’m trying include the cross-platform LIS3DH drivers into the project http://www.st.com/content/st_com/en/products/embedded-software/mems-and-sensors-software/drivers-for-mems/stsw-mems006.htmlQuestion

While trying to implement the LIS3DH driver read and write functions in I2C, I’m trying to get my lis3dh_driver.c to be able to include

  1. include “stm32l4xx_hal_i2c.h”
  2. include “lis3dh_driver.h”


But I am just simply left with tons of errors saying that MEMS_ERROR cannot be resolved, which is weird because lis3dh_driver.h has that defined and random HAL I2C errors like “expected ‘,’ or ‘;’ before ‘HAL_FLASHEx_DisableRunPowerDown’.

What do I need to do to get main.c to be able to see lis3dh_driver.h, and get lis3dh_driver.c to see lis3dh_driver.h and stm32l4xx_hal_i2c.h?

France

For the most part “cannot be resolved” errors are just generated by Eclipse when a given symbol is defined in several header files, although only one is used in your source code.

Just look at this FAQ entryQuestion for how to correct this.

Bernard (Ac6)