This layer is used to bring the logic analyzer demonstration (see details in https://wiki.st.com/stm32mpu/wiki/How_to_exchange_large_data_buffers_with_the_coprocessor_-_example) on top of STM32MP1 MMDV-3.0.0.
This layer is linked with the https://github.com/STMicroelectronics/logicanalyser project (STM32MP157 Cortex-M4 firmware for the logic analyzer demonstration).
This demonstration is planned to be executed on the STM32MP15 Discovery Kits boards.
The "mx machine" is not used anymore: instead, a patch on the Linux device tree is provided.
- How to add the meta-st-stm32mpu-app-logicanalyser layer to your build?
- How to run the demonstration?
Get the meta-st-stm32mpu-app-demos-cam layer:
PC $> cd <root of the baseline>/layers/meta-st/
PC $> git clone https://github.com/STMicroelectronics/meta-st-stm32mpu-app-logicanalyser.git -b dunfell
Configure your machine, your distro, and source your environment:
DISTRO=openstlinux-weston MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.sh
Add the meta-st-stm32mpu-app-logicanalyser layer to your environment:
PC $> cd <root of the baseline/build-openstlinuxweston-stm32mp1
PC $> bitbake-layers add-layer ../layers/meta-st/meta-st-stm32mpu-app-logicanalyser
Then, you can build the baseline and flash the built image as usual.
- Press the "USER1" button to start (resp. stop) the demonstration
- Select the sampling frequency (4 MHz per default)
- Start the sampling: the samples compressed data are stored in a ".dat" file in the "/usr/local/demo/la" directory