annotate wiki/Using OpenSTM32.md @ 786:19ab6f3ed52a
Cleanup sensor data interface:
In a very early implementation of the multiplexer the address of the mux was 0 followed by the sensors. As a resul the ID of the channels was shifted by one. To avoid confusion and because the mux address is meanwhile changed to the last address, it makes sense to return to the indexing where only the three visible sensor slots are used as reference (0,1,2).
author |
Ideenmodellierer |
date |
Sun, 04 Jun 2023 21:54:24 +0200 |
parents |
0e7c16dd774d |
children |
|
rev |
line source |
489
|
1 # Using OpenSTM32 IDE to Compile OSTC4 Firmware #
|
|
2
|
|
3 The free and Open [STM32 IDE](http://www.openstm32.org/System%2BWorkbench%2Bfor%2BSTM32) is an integrated development environment based on _Eclipse_ that will allows you to compile and link code for the OSTC4 dive computer.
|
|
4 You will then be able to generate `.bin` firmware files to upload to your computer using your favourite tools, eg. [OSTC Companion](https://ostc-planner.net/companion).
|
|
5
|
|
6 1. Register on http://www.openstm32.org/ : that will allows you to download the IDE.
|
|
7 2. Once registered and logged in, you can go to _Documentation_ and _Installation Manual_. Follow the instructions to install the IDE (available for Windows 7, MacOS and Linux).
|
|
8 3. Use the ready made project ... in ...
|
|
9
|
|
10 Or you can create a brand new project by following the _How To_'s:
|
|
11
|
|
12 - [HowTo compile CPU1-Discovery main firmware](Detailed CPU1-Discovery Project.md)
|
|
13 - [HowTo compile CPU1-Discovery protected area firmware](Detailed CPU1-Upper Project.md)
|
|
14 - [HowTo compile CPU2-RTE real-time firmware](Detailed CPU2-RTE Project.md)
|
|
15 - [HowTo generate uploadable firmware file](Make Firmware File.md) |