From 86ccb3ca172624662bfa2efd3b5d65ba3aa336a1 Mon Sep 17 00:00:00 2001 From: fastium Date: Tue, 22 Oct 2024 15:37:47 +0200 Subject: [PATCH 1/4] ADD libraries for disco board and extarnal sensor --- .gitignore | 2 ++ DISCO_H747I.lib | 1 + advdembsof_library.lib | 1 + 3 files changed, 4 insertions(+) create mode 100644 DISCO_H747I.lib create mode 100644 advdembsof_library.lib diff --git a/.gitignore b/.gitignore index 9e90278..ab749f6 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ projectfiles *.py* BUILD mbed-os +DISCO_h747i +advdembsof_library diff --git a/DISCO_H747I.lib b/DISCO_H747I.lib new file mode 100644 index 0000000..02ddf99 --- /dev/null +++ b/DISCO_H747I.lib @@ -0,0 +1 @@ +https://github.com/SergeAyer/DISCO_H747I/#2b367efbbf0d66205403647c0d0227808d0529ed diff --git a/advdembsof_library.lib b/advdembsof_library.lib new file mode 100644 index 0000000..e2720e9 --- /dev/null +++ b/advdembsof_library.lib @@ -0,0 +1 @@ +https://github.com/SergeAyer/advdembsof_library/#c0687fc795de83780fa9e7e935c9f465d697cc2a From f8ff28aef647e718b4d7256dc853c4fcb3d0331e Mon Sep 17 00:00:00 2001 From: fastium Date: Tue, 22 Oct 2024 15:44:41 +0200 Subject: [PATCH 2/4] UDP README.md for additional libraries and test --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index c8e088d..2620e81 100644 --- a/README.md +++ b/README.md @@ -5,4 +5,20 @@ AdvEmbSoft/HESSO-Master/2024 # BikeComputer This is a project done in the course of AdvEmbSoft during the master's degree. It contains a program for spinning bikes. +# Configuration +## Libraries +Add disco libraries : +´´´terminal +mbed add https://github.com/SergeAyer/DISCO_H747I.git +´´´ +Add sensor libraries : + +´´´terminal +mbed add https://github.com/SergeAyer/advdembsof_library.git +´´´ + +Test sensor libraries : +´´´terminal +mbed test -m DISCO_H747I -t GCC_ARM -n advdembsof_library-tests-sensors-hdc1000 --compile --run +´´´ From 5ef0203a27e8e3e509560e841464af17407a144a Mon Sep 17 00:00:00 2001 From: fastium Date: Tue, 22 Oct 2024 15:48:08 +0200 Subject: [PATCH 3/4] UPD README.md for wrong symbol to illustrate commands --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2620e81..73349c5 100644 --- a/README.md +++ b/README.md @@ -9,16 +9,16 @@ This is a project done in the course of AdvEmbSoft during the master's degree. I ## Libraries Add disco libraries : -´´´terminal +```terminal mbed add https://github.com/SergeAyer/DISCO_H747I.git -´´´ +``` Add sensor libraries : -´´´terminal +```terminal mbed add https://github.com/SergeAyer/advdembsof_library.git -´´´ +``` Test sensor libraries : -´´´terminal +```terminal mbed test -m DISCO_H747I -t GCC_ARM -n advdembsof_library-tests-sensors-hdc1000 --compile --run -´´´ +``` From 0634d16ba3b38acbcd61197554ea77cbea862ab1 Mon Sep 17 00:00:00 2001 From: fastium Date: Wed, 23 Oct 2024 08:54:27 +0200 Subject: [PATCH 4/4] UPD test for github action (sensor) --- .github/workflows/build-test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index dd89ccd..56b70af 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -18,7 +18,8 @@ jobs: tests-simple-test-always-succeed, tests-simple-test-ptr-test, tests-simple-unique-ptr, - tests-simple-test-raw-ptr + tests-simple-test-raw-ptr, + advdembsof_library-tests-sensors-hdc1000 ]