Skip to content

Commit

Permalink
sync dev (#29)
Browse files Browse the repository at this point in the history
* Update README.md

* Create .gitattributes

* Update README.md

* doc fixes

* fix on qfp16 fun.naming for rad<>deg conversions

* minor doc fixes

* doc typo fixes and others

* qcrc added macros with selected algorithms

* added qFIS_StoreAggregatedRegion to qfis

* fix qfis doc"

* added toc to some dox

* minor fix to qpid autotune. Doc fixes

* doc typo fixes

* typo fixes to qtlisys.h doc

* fix doc fcn parameters for some fcns

* minor fixes and updated figures

* minor doc fixes

* minor doc fix

* minor doc fixes

* Update qfis.dox

* fixed bumpless transfer on qpid. added derivative kick removal

* fixed initialization

* centered formulas on doc

* minor changes on qpid. Doc fixes

* fixed doc for qpid

* qpid doc update

* additive mrac anti-windup

* qpid doc fixes

* doc update

* fix formula sintax doc qpid

* minor addons to qpid

* minor addon to qpid

* qpid rev to v1.15

* fix figure on qfis.dox

* Update mainpage.dox

* added typegeneric and fvector libs

* doc fix on typegenerics

* minor doc fixes

* doc fixes

* changes on doc

* minor doc fixes

* minor changes

* updated doc

* addons to qfmathex and qtypegeneric

* doc fixes y minor changes

* updated readme

* added qffmath : fast floating-point math

* added qfis dep list

* minor doc fix

* doc group fix

* minor doc fixes

* math kernel can be selected by using QLIBS_USE_STD_MATH

* added cbrt and rcbrt to qffmath

* minor adjustments

* readme update

* fixes to qssmoother

* addons to qssmoother and qffmath

* doc typo fixes

* minor doc typo fixes

* added CMakeLists.txt and minor doc fixes"

* minor fixes

* minor changes

* fix doc for qfis

* doc typos and text redaction. added static_analisys workflow

* SA fixes

* added SA deps for misra

* SA minor adjustments

* SA rev 3

* SA rev 4

* SA rev 5

* SA rev 6

* SA rev 7

* SA rev 8

* SA rev 9

* Update stylesheet

* Update doxygen_gen.yml

* fix typo in qffmath.h

* fix typo and math core selection

* minor fixes

* minor fixes

* updated ver on cmakelists.txt

* added qLTISys_SetInitStates. doc update

* doc update

* doc fixes

* fixe to qltisys

* Update README.md

* fix grammar and typos

* minor doc fixes

* Create .deepsource.toml

* Update stylesheet

* fix doxygen version on doc

* fixed overflow check on qfp

* fix to wrapto180 on qfp16

* fixes to qpid, qnuma & some improvements

* bump to 1.2.7

* update readem

* sa rev

* sa rev

* sa fixes

* sa rev

* sa rev again

* fix to qpid

* move ffmathex to ffmath. Fix tuning rule for PID. added more functions to ffmath

* update qfis.list

* update doc stylesheet and doxygen file

* update workflows

* Update Doxygen file

---------

Co-authored-by: camilo <[email protected]>
  • Loading branch information
kmilo17pet and camilo authored Nov 15, 2024
1 parent 7d01536 commit cccb32b
Show file tree
Hide file tree
Showing 48 changed files with 6,249 additions and 1,580 deletions.
4 changes: 4 additions & 0 deletions .deepsource.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version = 1

[[analyzers]]
name = "cxx"
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.gitattributes export-ignore
.gitignore export-ignore
.gitmodules export-ignore
README.md export-ignore
doc export-ignore
.github export-ignore
14 changes: 8 additions & 6 deletions .github/workflows/doxygen_gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
submodules: recursive
- name: create dirs
run: mkdir docout
- name: set repo url on corner
run: sed -i 's,https://github.com/jothepro/doxygen-awesome-css,https://github.com/kmilo17pet/qlibs,g' doc/stylesheet/doxygen-custom/header.html
- name: Doxygen Action
uses: mattnotmitt/doxygen-action@v1.9.2
uses: mattnotmitt/doxygen-action@edge
with:
doxyfile-path: './doc/Doxyfile'
- name: rm gitignore
run: rm .gitignore
run: rm .gitignore
- name: Deploy doc
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doxyout/html
publish_dir: ./doxyout/html
33 changes: 33 additions & 0 deletions .github/workflows/static-analisys.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Static-Analysis

on:
workflow_dispatch:
push:
paths-ignore:
- 'dep/**'
- 'doc/**'

jobs:
analize:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Update OS packages list
run: |
sudo apt-get update -yq
- name: Install analyzer
run: |
sudo apt-get install -y cppcheck python3
mkdir sa_results
- name: General checks
run: cppcheck --enable=all --inline-suppr --inconclusive --std=c99 ./ -I ./include --output-file=./sa_results/general.txt --suppress=missingIncludeSystem --suppress=unmatchedSuppression:{}
- name: CERT checks
run: cppcheck --addon=cert.py --inline-suppr --inconclusive --std=c99 ./ -I ./include --output-file=./sa_results/cert.txt --suppress=missingIncludeSystem --suppress=unmatchedSuppression:{}
- name: MISRA checks
run: cppcheck --addon=./check/misra.json --inline-suppr --inconclusive --std=c99 ./ -I ./include --output-file=./sa_results/misra.txt --suppress=missingIncludeSystem --suppress=unmatchedSuppression:{}
- uses: actions/upload-artifact@v4
with:
name: Static_Analisys_Results
path: sa_results
15 changes: 15 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"files.associations": {
"algorithm": "c",
"qffmath.h": "c",
"float.h": "c",
"functional": "c",
"math.h": "c",
"qfis.h": "c",
"qpid.h": "c",
"qltisys.h": "c",
"cmath": "c",
"string.h": "c",
"random": "c"
}
}
34 changes: 34 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# qLibs CMakeLists.txt file
# Copyright (C) 2012 Eng. Juan Camilo Gómez Cadavid MSc. All Rights Reserved.
#
# To make use of the qLibs libraries on your solution just add the following
# directives to the top-level CMakeLists.txt file :
#
# add_subdirectory( <relative/path/to/qlibs> )
# target_link_libraries( ${PROJECT_NAME} qlibs )
#
# This file is part of the qLibs distribution.

cmake_minimum_required( VERSION 3.2 )
project( qlibs
VERSION 1.2.8
DESCRIPTION "A collection of useful libraries for embedded systems"
LANGUAGES C
)

add_library( ${PROJECT_NAME}
qbitfield.c
qcrc.c
qffmath.c
qfis.c
qfp16.c
qltisys.c
qnuma.c
qpid.c
qrms.c
qssmoother.c
qtdl.c
qtypegeneric.c
qvfloat.c
)
target_include_directories( ${PROJECT_NAME} PUBLIC include )
Loading

0 comments on commit cccb32b

Please sign in to comment.