How to STM32MP1-DK2 node-red ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-19 6:12 AM
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
Solved! Go to Solution.
- Labels:
-
OpenSTLinux
-
ST-Boards
-
STM32MP15 Lines
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-20 1:46 AM
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)
Thank to apt support on new ecosystem release v2.0.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-20 1:46 AM
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)
Thank to apt support on new ecosystem release v2.0.0
