Files
T2-start-2025/C/t-oer-prc2-cbdb-main/development-setup
Rens Pastoor 11b391b8a1 sync
2025-05-27 22:41:46 +02:00
..
2025-05-27 22:41:46 +02:00
2025-05-27 22:41:46 +02:00
2025-05-27 22:41:46 +02:00

[[TOC]]

Introduction

In this module you will find an introduction the required tooling and hardware you will need for this course.

Setup

Linux virtual image

  • Linux Virtual image for programming environment is available at:
  • If you use your own Linux installation you can use (at your own risk!) the script for the required tooling: link.
  • You can download VMware via FHICT Studentenplein via link VMware Store.

Information-resources

Development environment

For editing and compiling your code we recommend the following options:

  • For Arduino and PC code: Visual Code editor with use of the PlatformIO. The provided VmWare image has Visual Code already installed and is configured with a number of plugins to support building executables for your PC and Arduino (see the above installation script for details). You can start up Visual Code from a terminal by the command code . (don't forget the . (point!): it means it will use the current directory as project directory).

  • For PC-code: a simple text editor (like Geany, Sublime, Vim, Emacs and a terminal using the make program.

    • For building code using a terminal and make see link.
  • For Arduino code: Arduino IDE. We will however require you to use header-files.

  • An online editor to try some basic stuff: https://www.onlinegdb.com/

  • Tip: you can install other software in your Linux environment by using apt-get.

For Windows users

It is possible, with some effort on your side, to run C-programs on a Windows machine. This is however at your own initiative to install, and your teacher may offer limited support because of the availability of the Linux image.

WSL

An option is to use WSL Windows Subsystem for Linux(WSL). Install the following:

MinGW Gcc compiler

The other option for c-compiling is TDM-GCC MinGW Compiler. Here you have to install make and a gcc compiler.

Starting project

You can use the startingproject in the enclosed folder to test your setup. Content and way of working is explained here.