19.6. Hello demo

19.6.1. Overview

Multi-core example project runs the “hello world” example on core0 and runs the “rgb_led” example on core1.

In this project:

  • The serial port outputs “hello world”; Manually input the stirng information through the keyboard and print it through the serial port

  • The RGB leds are switching among RED, GREEN, BLUE respectively.

19.6.2. Board Setting

BOOT_PIN should be configured to 0-OFF, 1-OFF

19.6.3. Generate, Build and Debug Multi-core projects

Please referenceMulticore General Description.md

19.6.4. Running Results

  • Taking HPM6750EVKMINI as an example, when the project runs successfully, the serial port terminal will output the following information:

        Copying secondary core image to destination memory: 0x1180000
        Hello world for multicore! Secondary core control RGB leds blinking...
    
  • The RGB leds are switching among RED, GREEN, BLUE respectively.