Git Product home page Git Product logo

linuxlabo's Introduction

Install the Labo PC

Basic Installation

The first step is the installation of a Linux distribution. Usually I prefer a Debian distro (stable or testing).

It is possible to download a net iso from the Debian webpage and put it on a USB stick (using for axample "dd")

At the end of the installation I usually choose in addition to the proposed software the XFCE4 window manager and the SSH-Server option.

After reboot of the PC we have to perform the following tasks:

$ su   (+root password)
$ apt-get install sudo
$ apt-get install linux-image-rt-amd64
$ apt-get install linux-headers-rt-amd64
$ apt-get install make
$ /usr/bin/addgroup <user> sudo
$ reboot

Now it is possible to install all the additional packages using the provided Makefile

Install the additional files for Python and pysimCoder

Attention: Some operations require the user password.

$ mkdir Develop
$ cd Develop
$ make packages

Install pysimCoder

$ make pysimcoder

Install SHV

$ make Shv

The next step is to compile the Linux files with the SHV add-ons

$ cd pysimCoder/CodeGen/LinuxRT/devices
$ make SHV=1

Install NuttX and configure the files for pysimCoder and the nucleo-F746ZG board

$ make nuttx
$ make f7

The last command creates a tar.gz file in the NUTTX/nuttx folder and move the nuttx-export folder under pysimCoder/CodeGen/nuttx.

This last command set SHV for the nuttx F7 environment.

$ cd devices
$ make SHV=1

Additional scripts

There are 2 scipts that can be copied under /usr/local/bin which can be used to handle some operations:

  • shv can be used to launch the Silicon Heaven programs to interact with the RT application and change parameters on the fly during the execution
  • flash_f7 that can be used to flash the generated code for the nucleo-F746ZG board

The shv applcation must be fitted with the name of the folder where the 2 gits are installed!

It is important to set the right user and passwor in the shvspy window. Smply open the application and with the rigt mouse button, select the server (usually "test") and in the pull-down menu click on "Server properties.

Set the two fields:

  • user: admin
  • password: admin!123

Screenshot_2022-12-09_07-46-53

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.