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 (registration required) various documents highlighting:

System Workbench for STM32


mbed BusOut class doesn't work

I’m trying to import a working mbed project in to the workbench but have an Error1 on build. I think I’ve tracked the problem to the BusOut class in mbed.
If I rem out the BusOut example there is no problem and the DigitalOut class works ok.

Any ideas please?

  1. include “mbed.h”
  2. include “TextLCD.h”
  3. include “LEDs.h”


DigitalOut myled(LED1);

LEDs flash(PD_2,PC_12); // (LED1, LED2)

BusOut example(PC_5, PA_12, PA_11, PB_12);

int main() {

flash.invert_led1();
while(1) {
myled = 1; // LED is ON

wait(0.1); // 200 ms
myled = 0; // LED is OFF
wait(0.5); // 0.5 sec

flash.invert_led1();
flash.invert_led2();

//lcd.printf(“Hello World!”);
}
}