STMl4S5 (STM32l4plus) discovery kit reference repository

I’m trying to compile the branch in GitHub - iotlabtpe/amazon-freertos-stm32l4plus: IoT operating system for microcontrollers. but I get this message when I issue the command:
cmake -DVENDOR=st -DBOARD=stml4plus_discovery -DCOMPILER=arm-gcc -S . -B build -GNinja

Executing task: cmake -DVENDOR=st -DBOARD=stm32l4plus_discovery -DCOMPILER=arm-gcc -S . -B build -GNinja
– The C compiler identification is GNU 10.3.1
– The CXX compiler identification is GNU 10.3.1
– The ASM compiler identification is GNU
– Found assembler: /usr/local/bin/arm-none-eabi-gcc
– Found Git: /usr/local/bin/git (found version “2.35.1”)
– Submodule update
=========================Resolving dependencies==========================
module disabled: cellular
reason: cellular::mcu_port is not defined by vendor.
dependency path: demo_base->common->platform->secure_sockets->secure_sockets::mcu_
port->cellular->cellular::mcu_port
CMake Error at tools/cmake/afr_module.cmake:354 (message):
Unable to build aws_demos due to missing dependencies.
Call Stack (most recent call first):
CMakeLists.txt:110 (afr_resolve_dependencies)
– Configuring incomplete, errors occurred!
See also “/Volumes/dataDisk/Users/bruno/STM32/stm32l4plus/build/CMakeFiles/CMakeOutput.log”.
See also “/Volumes/dataDisk/Users/bruno/STM32/stm32l4plus/build/CMakeFiles/CMakeError.log”.

Anybody can point me to the right repository supporting stm32l4plus?

@bvvitali

This demo was developed to demonstrate how to use STM32L4plus with cellular interface.

From your error log, It looks like BOARD_HAS_CELLULAR and SECURE_SOCKETS_CELLULAR are not defined in cmake command.
You can give it a try first. I will reply more information later.

@bvvitali

I can use the following command to build the repo without problem.

cmake -DVENDOR=st -DBOARD=stm32l4plus_discovery -DCOMPILER=arm-gcc -DBOARD_HAS_CELLULAR=1 -DSECURE_SOCKETS_CELLULAR=1 -B build -GNinja -S .

For STM32L4+ board, ST has AWS IoT software expansion for STM32Cube, you can take a look to see if this fits your requirements.

I don’t have a cellular module attached, I just want the normal freertos demos.

Which FreeRTOS demos? Do you want to just run FreeRTOS? If so, you can create a project using STM32CubeIDE.

The AWS demos, like in the stm32475 discovery kit

You can take the following steps to create a demo project -

  1. Create a project using STM32Cube IDE with FreeRTOS.
  2. Replace FreeRTOS with our latest version, if it is not already.
  3. Integrate whichever of our libraries you need. You can use these examples as a reference:

Thanks.