Searched full:zcbor (Results 1 – 25 of 58) sorted by relevance
123
/zcbor-3.6.0/ |
D | pyproject.toml | 12 name = 'zcbor' 32 Homepage = 'https://github.com/NordicSemiconductor/zcbor' 35 zcbor = 'zcbor:main' 38 packages = ['zcbor', 'zcbor.src', 'zcbor.include', 'zcbor.zcbor'] 39 package-dir = {zcbor = '.'} 42 zcbor = ['src/*', 'include/*', 'zcbor/*'] 45 version = {file = 'zcbor/VERSION'}
|
D | RELEASE_NOTES.md | 1 # zcbor v. 0.8.1 (2024-01-26) 3 …eatures should be reported as [Github issues](https://github.com/NordicSemiconductor/zcbor/issues). 5 See also the [release notes for 0.8.0](#zcbor-v-080-2024-01-09) below. 9 * zcbor.py: Use zcbor_uint_decode() when decoding only positive enums 15 * zcbor.py: Fix conversion of UINT8_MAX to avoid script errors when using e.g. 255 in CDDL 19 …html/rfc9090), and [RFC9165](https://datatracker.ietf.org/doc/html/rfc9165) are supported by zcbor. 34 # zcbor v. 0.8.0 (2024-01-09) 36 …eatures should be reported as [Github issues](https://github.com/NordicSemiconductor/zcbor/issues). 40 * Overhaul zcbor logging/printing 48 * zcbor.py: Refactor the regex matching to fix label and remove all_types_regex [all …]
|
D | README.md | 1 zcbor chapter 4 zcbor is a low footprint [CBOR](https://en.wikipedia.org/wiki/CBOR) library in the C language (C++ … 14 The schema language used by zcbor is CDDL (Concise Data Definition Language) which is a powerful hu… 20 Here are some possible ways zcbor can be used: 38 There are samples in the [samples](samples) directory that demonstrate different ways to use zcbor,… 43 The [tests](tests) also demonstrate how to use zcbor in different ways. The [encoding](tests/encode… 58 If using zcbor with Zephyr, the library will be available when the [CONFIG_ZCBOR](https://docs.zeph… 64 The zcbor state object 91 If using zcbor with Zephyr, use the [Kconfig options](https://github.com/zephyrproject-rtos/zephyr/… 106 The zcbor.py script can directly read CBOR, YAML, or JSON data and validate it against a CDDL descr… [all …]
|
/zcbor-3.6.0/.github/actions/install_zcbor/ |
D | action.yaml | 3 description: 'How to install zcbor' 17 - name: Install zcbor package 23 pip3 install dist/zcbor-*.tar.gz 24 pip3 uninstall -y zcbor 25 pip3 install dist/zcbor-*.whl 27 - name: Install zcbor package 33 - name: Install zcbor package
|
/zcbor-3.6.0/tests/fuzz/ |
D | CMakeLists.txt | 21 COMMAND zcbor 30 COMMAND python3 ${CMAKE_CURRENT_LIST_DIR}/../../zcbor/zcbor.py 46 COMMAND zcbor 56 COMMAND python3 ${CMAKE_CURRENT_LIST_DIR}/../../zcbor/zcbor.py 73 COMMAND zcbor 83 COMMAND python3 ${CMAKE_CURRENT_LIST_DIR}/../../zcbor/zcbor.py
|
/zcbor-3.6.0/tests/unit/test3_float16/ |
D | testcase.yaml | 2 zcbor.unit.test3: 4 tags: zcbor unit float16 6 zcbor.unit.test3.release: 8 tags: zcbor unit float16 release
|
/zcbor-3.6.0/tests/encode/test2_simple/ |
D | testcase.yaml | 2 zcbor.encode.test2_simple: 4 tags: zcbor encode test 5 zcbor.encode.test2_simple.canonical: 7 tags: zcbor encode canonical test
|
/zcbor-3.6.0/tests/decode/test5_corner_cases/ |
D | testcase.yaml | 2 zcbor.decode.test5_corner_cases: 4 tags: zcbor decode test5 5 zcbor.decode.test5_corner_cases.indefinite_length_arrays: 7 tags: zcbor decode test5 indefinite
|
/zcbor-3.6.0/tests/encode/test4_senml/ |
D | testcase.yaml | 2 zcbor.encode.test4_senml: 4 tags: zcbor encode test4 5 zcbor.encode.test4_senml.canonical: 7 tags: zcbor encode canonical test4
|
/zcbor-3.6.0/tests/encode/test3_corner_cases/ |
D | testcase.yaml | 2 zcbor.encode.test3_corner_cases: 4 tags: zcbor encode test3 5 zcbor.encode.test3_corner_cases.canonical: 7 tags: zcbor encode canonical test3
|
/zcbor-3.6.0/tests/decode/test9_manifest14/ |
D | testcase.yaml | 2 zcbor.decode.test9_manifest14: 4 tags: zcbor decode manifest14 test9 5 zcbor.cbor_decode.test9_manifest16.canonical: 7 tags: zcbor decode manifest16 test9 canonical
|
D | CMakeLists.txt | 19 ${CMAKE_CURRENT_LIST_DIR}/../../../zcbor/zcbor.py 43 ${CMAKE_CURRENT_LIST_DIR}/../../../zcbor/zcbor.py
|
/zcbor-3.6.0/tests/unit/test1_unit_tests/ |
D | testcase.yaml | 3 tags: zcbor unit 7 zcbor.unit.test1: {} 8 zcbor.unit.test1.map_smart_search: 10 zcbor.unit.test1.canonical:
|
D | CMakeLists.txt | 16 zephyr_library_named(zcbor) 20 target_include_directories(zcbor PRIVATE ../../../include) 22 target_link_libraries(app PRIVATE zcbor) 24 target_compile_options(zcbor PRIVATE -Wpedantic -Wconversion -Wall -Wextra -Wdouble-promotion) 26 file(READ ${CMAKE_CURRENT_LIST_DIR}/../../../zcbor/VERSION ZCBOR_VERSION_STR)
|
/zcbor-3.6.0/.github/workflows/ |
D | run-tests.yaml | 25 - name: Install zcbor 51 - name: Install zcbor 68 - name: Read zcbor version 70 echo "ZCBOR_VERSION=$(cat zcbor/VERSION)" >> $env:GITHUB_ENV 78 - name: Generate and install zcbor package 82 …pip install dist/zcbor-$env:ZCBOR_VERSION-py3-none-any.whl; if($LastExitCode -ne 0) {Write-Error "… 83 pip uninstall -y zcbor 103 - name: Install zcbor 126 - name: Read zcbor version 127 run: echo "ZCBOR_VERSION=$(cat zcbor/VERSION)" >> $GITHUB_ENV [all …]
|
/zcbor-3.6.0/samples/pet/ |
D | CMakeLists.txt | 10 # The zcbor-generated files can be regenerated by calling this file with -DREGENERATE_ZCBOR=Y 11 # This will call zcbor to regenerate the files, and then build like usual. 14 zcbor code # Invoke code generation 30 zcbor convert -c ${CMAKE_CURRENT_LIST_DIR}/../../tests/cases/pet.cddl -t Pet 41 # generated code and the necessary zcbor C code files.
|
D | README.md | 4 This sample uses zcbor-generated code to decode 3 instances of a data 7 1. Converted from YAML using the zcbor script (See [CMakeLists.txt](CMakeLists.txt), [pet1.yml](pet… 8 2. Encoded using the zcbor C API. 9 3. Encoded using zcbor-generated C code.
|
/zcbor-3.6.0/scripts/ |
D | add_helptext.py | 25 ["zcbor", "--help"], 26 ["zcbor", "code", "--help"], 27 ["zcbor", "validate", "--help"], 28 ["zcbor", "convert", "--help"],
|
/zcbor-3.6.0/samples/pet/include/ |
D | pet_types.h | 6 * Generated using zcbor version 0.8.1 7 * https://github.com/NordicSemiconductor/zcbor 28 * See `zcbor --help` for more information about --default-max-qty
|
/zcbor-3.6.0/tests/decode/test7_suit9_simple/ |
D | testcase.yaml | 2 zcbor.decode.test7_suit9_simple: 4 tags: zcbor decode test7
|
/zcbor-3.6.0/tests/decode/test8_suit12/ |
D | testcase.yaml | 2 zcbor.decode.test8_suit12: 4 tags: zcbor decode test8
|
/zcbor-3.6.0/tests/decode/test3_simple/ |
D | testcase.yaml | 2 zcbor.decode.test3_simple: 4 tags: zcbor decode test3
|
/zcbor-3.6.0/tests/decode/test2_suit/ |
D | testcase.yaml | 2 zcbor.decode.test2_suit: 4 tags: zcbor decode test2
|
/zcbor-3.6.0/tests/decode/test1_suit_old_formats/ |
D | testcase.yaml | 2 zcbor.decode.test1_suit_old_formats: 4 tags: zcbor decode test1
|
/zcbor-3.6.0/tests/encode/test1_suit/ |
D | testcase.yaml | 2 zcbor.encode.test1_suit.canonical: 4 tags: zcbor encode canonical test1
|
123