annotate wiki/Detailed CPU1-Upper Project.md @ 704:f1b40364b0af
Added protocol functions for UART DiveO2 sensor:
The code has been modified to support the handling of several protocols (including baud rate changes). The data is requested by polling and passed via DMA into a ringbuffer which is then parsed by a cyclic function call in the main loop. At the moment only the O2 values are forwarded but because the sensor send several types of data within a signle message already more is extracted but yet discarded.
author |
Ideenmodellierer |
date |
Fri, 28 Oct 2022 20:49:21 +0200 |
parents |
5f11787b4f42 |
children |
|
rev |
line source |
38
|
1 # How to Create From Scratch a Project for _CPU1-Upper_ Code #
|
|
2
|
|
3 The main CPU (aka. _CPU1 Discovery_) firmware is splitted in two parts:
|
|
4 - The proper _CPU1 Discovery_ firmware, with the main code.
|
|
5 - The _protected upper memory_ firmware, which is programmed during _OSTC4_ production, and contains (amongst other things) code used to upload and install firmware upgrades.
|
|
6
|
|
7 ## Make a specific project ##
|
|
8
|
|
9 Follow the same procedure than for [CPU1-Discovery](Detailed CPU1-Discovery Project.md), (same processor, same includes) but include the `CPU1-Upper` source directory.
|
|
10
|
|
11 **
|
|
12 NOT FINISHED YET... BE PATIENT
|
|
13 **
|