Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce SCPI_HelpQ with descriptions #135

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Commits on Feb 1, 2022

  1. output block data with delimiter

    scpi-99 6.2.3.4 and 6.2.6 suggest returning multiple blocks is valid, so SCPI_ResultArbitraryBlockHeader() needs to insert a delimiter,
    other changes are: accepting _GLIBCXX_HAVE_STDBOOL_H, testing for non-NULL data in writeData(), and some spelling fixes.
    MisterHW committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    28b17f7 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2022

  1. fix typos

    MisterHW committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    8ed2623 View commit details
    Browse the repository at this point in the history
  2. introduce SCPI_HelpQ

    add SCPI_HelpQ callback , optional .description strings and provide conditional initializer macros dependent on config settings for USE_COMMAND_TAGS and USE_COMMAND_DESCRIPTIONS.
    MisterHW committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    bc4f1d5 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2022

  1. introduce help search

    introduce search string to narrow down help output
    MisterHW committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    315f20d View commit details
    Browse the repository at this point in the history
  2. drop C++20 keyword

    MisterHW committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    159fe83 View commit details
    Browse the repository at this point in the history
  3. rename to USE_HELP_FILTER

    MisterHW committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    d099d9a View commit details
    Browse the repository at this point in the history
  4. fix expression

    MisterHW committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    aa660db View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2023

  1. add full command descriptions to examples common def, set desc. defau…

    …lt disabled
    
    * Properly integrate command descriptions into examples. Preliminary descriptions added after consulting scpi-99 standard, as well as looking at the DMM and TEST handler source. Command paramater types hinted as <param> where appropriate. Return values or ranges given at the end of each description in round brackets.
    * Default changed to USE_COMMAND_DESCRIPTIONS 0 to avoid unexpected impact on code side. Set to 1 to use.
    * scpi_command_t defintion helper macros moves to types.h
    MisterHW committed Jan 6, 2023
    Configuration menu
    Copy the full SHA
    1460793 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2023

  1. clean-up

    * fixes some inaccuracies in scpi-def
    * clean-up in utils.c
    * add documentation to introduced functions
    * correct CHAR_TO_LOWER
    MisterHW committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    7d0c83d View commit details
    Browse the repository at this point in the history
  2. propagate MODE to Makefile for cross-compiling

    Allow makefile to be used directly for cross-compiling (e.g. when treated as a git submodule). This requires CC and AR to be passed for a particular toolchain, but CFLAGS must also specify CPU and FPU options -> introduce MODE variable. CFLAGS cannot be passed without need to override in the makefile, so a new variable is needed.
    
    Cortex-M7 Example (linker: library and project use of VFP registers must match):
    CC=arm-none-eabi-gcc AR=arm-none-eabi-ar MODE="-mcpu=cortex-m7 -mthumb -mfpu=fpv5-sp-d16 -mfloat-abi=hard"
    
    (commit can be cherry-picked)
    MisterHW committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    c394eb9 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2023

  1. provide more elaborate description depending on USE_HELP_FILTER

    When compiled with USE_HELP_FILTER 1, HELP? accepts an optional search string -> HELP? command description extended to reflect input and output types.
    MisterHW committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    1e1b594 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2023

  1. Configuration menu
    Copy the full SHA
    f7c4cc4 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. Configuration menu
    Copy the full SHA
    b3668be View commit details
    Browse the repository at this point in the history
  2. strncasestr, strncasestrn_s, pp_xstr clean-up and formatting

    remove / comment currently unused code. Double-indirection helper definition moved to utils.h.
    MisterHW committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    36ddafe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9c66dcd View commit details
    Browse the repository at this point in the history
  4. remove strcasestr

    MisterHW committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    0e7c828 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5dfac2b View commit details
    Browse the repository at this point in the history
  6. C style comments

    MisterHW committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    5153e03 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8aa90a7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    31a3e44 View commit details
    Browse the repository at this point in the history
  9. redo delete SCPI_HelpQ

    MisterHW committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    d8a5d24 View commit details
    Browse the repository at this point in the history
  10. Revert "propagate MODE to Makefile for cross-compiling"

    This reverts commit c394eb9.
    MisterHW committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    63f5e88 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d803ffe View commit details
    Browse the repository at this point in the history
  12. add missing ,

    MisterHW committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    a44b9aa View commit details
    Browse the repository at this point in the history