cancel
Showing results for 
Search instead for 
Did you mean: 

How to STM32MP1-DK2 node-red ?

ryan rusty
Associate II

I would like to use node-red on STM32MP157C-DK2 to handle datas computed and shared with IPCC by Cortex-M4.

Any advice ?

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
ryan rusty
Associate II

Here is my share of an unpretentious guide that allowed me to install nodejs and node-red locally on an STM32MP157C-DK2.

Hope this can help.

First of all, my config: SD card 16Gb with latest ecosystem release v2.0.0

  • Connect with ssh root and make apt cache up to date.
root@stm32mp1:~# apt-get update

  • Install nodejs and check version
root@stm32mp1:~# apt-get install nodejs
root@stm32mp1:~# node -v

  • Install nodejs npm dependencies
root@stm32mp1:~# apt-get install nodejs-npm

  • Install node-red
root@stm32mp1:~# npm install -g -unsafe-perm node-red

  • Start node-red
root@stm32mp1:~# node-red

  • After Starting flow success, open web browser and connect to node-red server using the ip adress of the STM32MP1 board on port 1880 (in my case http://192.168.1.33:1880)

 0693W000003PqbGQAS.png

Thank to apt support on new ecosystem release v2.0.0

View solution in original post

1 REPLY 1
ryan rusty
Associate II

Here is my share of an unpretentious guide that allowed me to install nodejs and node-red locally on an STM32MP157C-DK2.

Hope this can help.

First of all, my config: SD card 16Gb with latest ecosystem release v2.0.0

  • Connect with ssh root and make apt cache up to date.
root@stm32mp1:~# apt-get update

  • Install nodejs and check version
root@stm32mp1:~# apt-get install nodejs
root@stm32mp1:~# node -v

  • Install nodejs npm dependencies
root@stm32mp1:~# apt-get install nodejs-npm

  • Install node-red
root@stm32mp1:~# npm install -g -unsafe-perm node-red

  • Start node-red
root@stm32mp1:~# node-red

  • After Starting flow success, open web browser and connect to node-red server using the ip adress of the STM32MP1 board on port 1880 (in my case http://192.168.1.33:1880)

 0693W000003PqbGQAS.png

Thank to apt support on new ecosystem release v2.0.0