Cours:NanoPi : Différence entre versions

De troyesGEII
Aller à : navigation, rechercher
(Installation)
(image et installation minimum)
Ligne 15 : Ligne 15 :
 
* change mdp root : geii
 
* change mdp root : geii
 
* apt update / apt dist-upgrade
 
* apt update / apt dist-upgrade
 
+
* apt install build-essential apt-utils
  
 
==cross QT==
 
==cross QT==

Version du 23 novembre 2019 à 22:02


Installation

image et installation minimum

cross QT

As usual !

  • get Sysroot
  • get qtSource
  • compilation
  • upload

script à venir ... peut-être !

NodeRed

https://discourse.nodered.org/t/trouble-with-tach-interrupt-gpio/7792

  • install curl
  • install nodejs & nodered
    • pas installé "Pi-specific nodes"
  • install node-red-contrib-opi-gpio
    • npm install node-red-contrib-opi-gpio ?? pas forcément nécessaire !!
    • depuis nodeRed
    • manage Palette
    • install
    • node-red-contrib-opi-gpio
apt update
apt install curl
bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)
npm install node-red-contrib-opi-gpio

Utilisation

Qt

  • Configurer QtCreator

nodeRed

  • tableau correspondance gpio <=> broche : gpio readall
  • choisir "Pi type" : other