annotate wiki/Using OpenSTM32.md @ 503:734f7ad46bca

Bugfix display of disabled screen. It is possible to select a screen as default which is in parallel disabled in the selection view. To avoid this the enable / disable state is not also checked when entering dive mode. The check function was depending on an ACTION. The functionality has been changed to allow the function call without ACTION. Changed setting of compass circle position from constant position to variable This was needed to reuse the same function in several views with different compass position Added new views Navigation and Depth data Both views were basically already available but the idea behind the layout is to combine all information needed for navigation dives (compass + timer) in one view. The classic maxdepth view just showed the maxdepth with a black box on the right side. this box is now used for display of average depth (shown in classic view Stopwatch) Minor changes in compass paint function to improve code readability Use same Y offset for all views While switching across the views some number were shown ~20 pixel higher than others. This was caused by the usage of the line selection which works for some fonts but not for all => set linenumber to 0 for all views
author Ideenmodellierer
date Mon, 24 Aug 2020 19:53:27 +0200
parents 0e7c16dd774d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
489
0e7c16dd774d add wiki sub-directory
heinrichsweikamp
parents:
diff changeset
1 # Using OpenSTM32 IDE to Compile OSTC4 Firmware #
0e7c16dd774d add wiki sub-directory
heinrichsweikamp
parents:
diff changeset
2
0e7c16dd774d add wiki sub-directory
heinrichsweikamp
parents:
diff changeset
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.
0e7c16dd774d add wiki sub-directory
heinrichsweikamp
parents:
diff changeset
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).
0e7c16dd774d add wiki sub-directory
heinrichsweikamp
parents:
diff changeset
5
0e7c16dd774d add wiki sub-directory
heinrichsweikamp
parents:
diff changeset
6 1. Register on http://www.openstm32.org/ : that will allows you to download the IDE.
0e7c16dd774d add wiki sub-directory
heinrichsweikamp
parents:
diff changeset
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).
0e7c16dd774d add wiki sub-directory
heinrichsweikamp
parents:
diff changeset
8 3. Use the ready made project ... in ...
0e7c16dd774d add wiki sub-directory
heinrichsweikamp
parents:
diff changeset
9
0e7c16dd774d add wiki sub-directory
heinrichsweikamp
parents:
diff changeset
10 Or you can create a brand new project by following the _How To_'s:
0e7c16dd774d add wiki sub-directory
heinrichsweikamp
parents:
diff changeset
11
0e7c16dd774d add wiki sub-directory
heinrichsweikamp
parents:
diff changeset
12 - [HowTo compile CPU1-Discovery main firmware](Detailed CPU1-Discovery Project.md)
0e7c16dd774d add wiki sub-directory
heinrichsweikamp
parents:
diff changeset
13 - [HowTo compile CPU1-Discovery protected area firmware](Detailed CPU1-Upper Project.md)
0e7c16dd774d add wiki sub-directory
heinrichsweikamp
parents:
diff changeset
14 - [HowTo compile CPU2-RTE real-time firmware](Detailed CPU2-RTE Project.md)
0e7c16dd774d add wiki sub-directory
heinrichsweikamp
parents:
diff changeset
15 - [HowTo generate uploadable firmware file](Make Firmware File.md)