Skip to content

Commit

Permalink
Merge pull request #78 from xross/develop
Browse files Browse the repository at this point in the history
Parameterise infr_apps version
  • Loading branch information
xross committed Oct 14, 2024
2 parents 45bf957 + 85eec00 commit b8e939c
Show file tree
Hide file tree
Showing 15 changed files with 59 additions and 120 deletions.
17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/application-note-not-compliant.md

This file was deleted.

18 changes: 0 additions & 18 deletions .github/ISSUE_TEMPLATE/example-not-compliant.md

This file was deleted.

10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/missing-application-note.md

This file was deleted.

10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/missing-c-api.md

This file was deleted.

10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/missing-xcore-test.md

This file was deleted.

16 changes: 0 additions & 16 deletions .github/ISSUE_TEMPLATE/test-not-compliant.md

This file was deleted.

13 changes: 0 additions & 13 deletions .github/ISSUE_TEMPLATE/top-level-readme-not-compliant.md

This file was deleted.

54 changes: 37 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,42 @@
**/.build*/*
**/bin/*
*.o
*.xe
# Tmp files & logs
*.settings
*.bin
*.zip
*.log
*.vcd
*.s
*.swp
*.*~
*.xmt
*.swo
*.swn
*~
*.DS_Store

# Python
*.pyc
**/*.egg-info/
**/.venv*/

# XMOS temp files
**/*build*/*
*/bin/*
**/flash_bin_node*
**/fw-*
**/s2l-*
**/spanning-xn-*
**/target-xn*
*.xi
*.o
*.i
*.a
**/_build/
**/run_*.log
**/pdf/*
**/html/*
**/.settings/*
*.pyc
**/test_results.csv
**/.venv/**
*.d
*.decouple
*.pca.xml
**/CMakeFiles/*

# XMOS binaries
*.xe

# waf build files
.lock-waf_*
.waf-*/
build/
# Built documentation
doc/_build/pdf/*.pdf
**/doc/pdf/*.pdf
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
lib_logging change log
======================

3.3.1
-----

* CHANGED: Documentation updates

3.3.0
-----

Expand Down
7 changes: 6 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ pipeline {
defaultValue: 'v6.1.2',
description: 'The xmosdoc version'
)
string(
name: 'INFR_APPS_VERSION',
defaultValue: 'v2.0.1',
description: 'The infr_apps version'
)
}
stages {
stage('Build') {
Expand All @@ -49,7 +54,7 @@ pipeline {
buildDocs()
}
}
runLibraryChecks("${WORKSPACE}/${REPO}", "v2.0.1")
runLibraryChecks("${WORKSPACE}/${REPO}", "${params.INFR_APPS_VERSION}")
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ lib_logging: Debug Printing
###########################

:vendor: XMOS
:version: 3.3.0
:version: 3.3.1
:scope: General Use
:description: Debug printing
:category: General Purpose
Expand Down
7 changes: 5 additions & 2 deletions doc/rst/logging.rst → doc/rst/lib_logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ or disabled via configuration defines. Code can be declared to be
within a "debug unit" (usually a library or application source base)
and prints can be enabled/disabled per debug unit.

``lib_logging`` is intended to be used with the `XCommon CMake <https://www.xmos.com/file/xcommon-cmake-documentation/?version=latest>`_
, the `XMOS` application build and dependency management system.

***
API
***
Expand All @@ -21,7 +24,7 @@ To use this module, include ``lib_logging`` in the application's
.. doxygenfunction:: debug_printf

***********
Debug Units
Debug units
***********

A source file can be added to a debug unit by defining the ``DEBUG_UNIT`` macro before inclusion of ``debug_print.h``. For example::
Expand All @@ -37,7 +40,7 @@ convenient to do it in the ``lib_build_info.cmake`` file of the module e.g.::
If no ``DEBUG_UNIT`` is defined then the default debug unit is ``APPLICATION``.

*****************
Enabling Printing
Enabling printing
*****************

By default, debug printing is turned *off*. To enable printing you
Expand Down
2 changes: 1 addition & 1 deletion lib_logging/lib_build_info.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set(LIB_NAME lib_logging)
set(LIB_VERSION 3.3.0)
set(LIB_VERSION 3.3.1)
set(LIB_INCLUDES api)
set(LIB_COMPILER_FLAGS -Os)
set(LIB_DEPENDENT_MODULES "")
Expand Down
2 changes: 1 addition & 1 deletion lib_logging/module_build_info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = 3.3.0
VERSION = 3.3.1

DEPENDENT_MODULES =

Expand Down
6 changes: 3 additions & 3 deletions settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
lib_name: lib_logging
project: '{{lib_name}}'
title: '{{lib_name}}: Debug Printing'
version: 3.3.0
version: 3.3.1

documentation:
exclude_patterns_path: doc/exclude_patterns.inc
root_doc: doc/rst/logging.rst
root_doc: doc/rst/lib_logging.rst
linkcheck_ignore_regex: ['']
cognidox_part_number: XM-006383-UG
doxygen_projects:
lib_logging:
doxyfile_path: doc/Doxyfile.inc
pdfs:
doc/rst/logging.rst:
doc/rst/lib_logging.rst:
pdf_title: '{{title}}'
pdf_filename: '{{lib_name}}_v{{version}}'
README.rst:
Expand Down

0 comments on commit b8e939c

Please sign in to comment.