Skip to content

Commit

Permalink
Updated readmes and general info
Browse files Browse the repository at this point in the history
Updated the readme of both folders with small explanations

removed unnecessary files

added some documentation
  • Loading branch information
SamHadjes authored and ladislas committed Nov 23, 2020
1 parent bcf5238 commit 52d48d2
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 234 deletions.
4 changes: 0 additions & 4 deletions LKExp-Sensors-LSM6DSOX-UCF_Analysis/3_decision_tree.txt

This file was deleted.

This file was deleted.

15 changes: 14 additions & 1 deletion LKExp-Sensors-LSM6DSOX-UCF_Analysis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,17 @@

Small executable used to comment a UCF file based on the documented registers. this aims to ease the ucf comprehension.

> ⚠️ to be written
⚠️ This project does not work in it's actual state.
A lot of logic of the UCF is not implemented (registers accessed when page sel, etc).
The idea was just to give an idea of what could be made in order to simplify UCF analysis.

We are still waiting for STMicroelectronics to give more documentation about the register pages accessed when configuring the LSM6DSOX **Machine Learning Core** as this is the principal piece of missing information right now.

Some of the next steps of this project can be found in the [ToDo](todo.md) file of this project, it's a good starting point to continue working on it.

## How does it work?
The code reads the CSV files for each register map and creates a dictionnary where the key is the register address.

Once all the logic about the LSM6DSOX register selection is implemented, this project could be able to take as input an UCF file and get rid of redundant commands as well as comment it, allowing easier comprehension.

You can check the [commented file](commented.txt) to get an idea of what could be done.
102 changes: 0 additions & 102 deletions LKExp-Sensors-LSM6DSOX-UCF_Analysis/registers_address_map.txt

This file was deleted.

This file was deleted.

Binary file removed LKExp-Sensors-LSM6DSOX-UCF_Analysis/src/main
Binary file not shown.
7 changes: 7 additions & 0 deletions LKExp-Sensors-LSM6DSOX-UCF_Analysis/src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* @file main.cpp
* @author Maxime Blanc & Samuel Hadjes
* @brief Small executable to automatically comment .UCF files
* @date 2020-07-03
*
*/
#include <fstream>
#include <iostream>
#include <string>
Expand Down
4 changes: 2 additions & 2 deletions LKExp-Sensors-LSM6DSOX-UCF_Analysis/todo.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## UCF Analysis todo list

### code
- [ ] - write readme.md to explain how it works
- [ ] - doxygen doc
- [x] - write readme.md to explain how it works
- [ ] - doxygen code
### documentation
- [ ] - make a makefile for the program
- [ ] - remove exec from git
Expand Down
12 changes: 0 additions & 12 deletions LKExp-Sensors-LSM6DSOX-UCF_to_H_File_Conversion/todo.md

This file was deleted.

0 comments on commit 52d48d2

Please sign in to comment.