Home
last modified time | relevance | path

Searched full:zcbor (Results 1 – 25 of 62) sorted by relevance

123

/zcbor-latest/
Dpyproject.toml12 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'}
Dpypi_README.md1 zcbor chapter
4 After installing, zcbor can be invoked on the command line as `zcbor`, or included as a module via …
11 The schema language used by zcbor is [CDDL](https://datatracker.ietf.org/doc/rfc8610/) which allows…
14 This library is not run by the zcbor package, but in the user's project that includes zcbor-generat…
15 If zcbor is asked to generate a cmake file, the file will reference the C library, and if asked to …
19 Please visit the [Github repository](https://github.com/NordicSemiconductor/zcbor) for more informa…
DRELEASE_NOTES.md1 # zcbor v. 0.9.1 (2024-10-17)
3 …eatures should be reported as [Github issues](https://github.com/NordicSemiconductor/zcbor/issues).
19 # zcbor v. 0.9.0 (2024-08-27)
21 …eatures should be reported as [Github issues](https://github.com/NordicSemiconductor/zcbor/issues).
25 * zcbor.py:
42 * zcbor.py:
62 …html/rfc9090), and [RFC9165](https://datatracker.ietf.org/doc/html/rfc9165) are supported by zcbor.
78 # zcbor v. 0.8.1 (2024-01-26)
80 …eatures should be reported as [Github issues](https://github.com/NordicSemiconductor/zcbor/issues).
82 See also the [release notes for 0.8.0](#zcbor-v-080-2024-01-09) below.
[all …]
DREADME.md1 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
96 If using zcbor with Zephyr, use the [Kconfig options](https://github.com/zephyrproject-rtos/zephyr/…
103 …e state variable (`state->constant_state->stop_on_error`). This makes all zcbor functions abort th…
[all …]
DMIGRATION_GUIDE.md1 # zcbor v. 0.9.0
17 # zcbor v. 0.8.0
21 * If you have zcbor-generated code that relies on the zcbor libraries through Zephyr, you must
22 regenerate the files using zcbor 0.8.1. Note that the names of generated types and members has
/zcbor-latest/.github/actions/install_zcbor/
Daction.yaml3 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-latest/tests/fuzz/
DCMakeLists.txt21 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-latest/tests/unit/test3_float16/
Dtestcase.yaml2 zcbor.unit.test3:
4 tags: zcbor unit float16
6 zcbor.unit.test3.release:
8 tags: zcbor unit float16 release
/zcbor-latest/tests/unit/test1_unit_tests/
Dtestcase.yaml3 tags: zcbor unit
7 zcbor.unit.test1: {}
8 zcbor.unit.test1.map_smart_search:
10 zcbor.unit.test1.canonical:
DCMakeLists.txt14 zephyr_library_named(zcbor)
18 target_include_directories(zcbor PRIVATE ../../../include)
20 target_link_libraries(app PRIVATE zcbor)
22 target_compile_options(zcbor PRIVATE -Wpedantic -Wconversion -Wall -Wextra -Wdouble-promotion)
24 file(READ ${CMAKE_CURRENT_LIST_DIR}/../../../zcbor/VERSION ZCBOR_VERSION_STR)
/zcbor-latest/tests/encode/test2_simple/
Dtestcase.yaml2 zcbor.encode.test2_simple:
4 tags: zcbor encode test
5 zcbor.encode.test2_simple.canonical:
7 tags: zcbor encode canonical test
/zcbor-latest/tests/encode/test4_senml/
Dtestcase.yaml2 zcbor.encode.test4_senml:
4 tags: zcbor encode test4
5 zcbor.encode.test4_senml.canonical:
7 tags: zcbor encode canonical test4
/zcbor-latest/tests/encode/test3_corner_cases/
Dtestcase.yaml2 zcbor.encode.test3_corner_cases:
4 tags: zcbor encode test3
5 zcbor.encode.test3_corner_cases.canonical:
7 tags: zcbor encode canonical test3
/zcbor-latest/tests/decode/test9_manifest14/
Dtestcase.yaml2 zcbor.decode.test9_manifest14:
4 tags: zcbor decode manifest14 test9
5 zcbor.cbor_decode.test9_manifest16.canonical:
7 tags: zcbor decode manifest16 test9 canonical
DCMakeLists.txt19 ${CMAKE_CURRENT_LIST_DIR}/../../../zcbor/zcbor.py
43 ${CMAKE_CURRENT_LIST_DIR}/../../../zcbor/zcbor.py
/zcbor-latest/tests/decode/test5_corner_cases/
Dtestcase.yaml2 zcbor.decode.test5_corner_cases:
4 tags: zcbor decode test5
6 zcbor.decode.test5_corner_cases.indefinite_length_arrays:
8 tags: zcbor decode test5 indefinite
/zcbor-latest/.github/workflows/
Drun-tests.yaml25 - name: Install zcbor
54 - name: Install zcbor and pip dependencies
106 - name: Install zcbor
123 - name: Read zcbor version
125 echo "ZCBOR_VERSION=$(cat zcbor/VERSION)" >> $env:GITHUB_ENV
133 - name: Generate and install zcbor package
137 …pip install dist/zcbor-$env:ZCBOR_VERSION-py3-none-any.whl; if($LastExitCode -ne 0) {Write-Error "…
138 pip uninstall -y zcbor
158 - name: Install zcbor
182 - name: Install zcbor
[all …]
/zcbor-latest/scripts/
Dupdate_version.py13 p_VERSION = Path(p_root, 'zcbor', 'VERSION')
23 relnotes_new_header = f"# zcbor v. {version}{new_date}\n"
25 prev_entry = match(r"\A# zcbor.*?(?=# zcbor v.)", relnotes_contents, S).group(0)
33 print(f"Usage: {argv[0]} <new zcbor version>")
Dadd_helptext.py25 ["zcbor", "--help"],
26 ["zcbor", "code", "--help"],
27 ["zcbor", "validate", "--help"],
28 ["zcbor", "convert", "--help"],
/zcbor-latest/samples/pet/
DCMakeLists.txt10 # 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.
DREADME.md4 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-latest/samples/pet/include/
Dpet_types.h6 * Generated using zcbor version 0.9.1
7 * https://github.com/NordicSemiconductor/zcbor
28 * See `zcbor --help` for more information about --default-max-qty
/zcbor-latest/tests/decode/test8_suit12/
Dtestcase.yaml2 zcbor.decode.test8_suit12:
4 tags: zcbor decode test8
/zcbor-latest/tests/decode/test7_suit9_simple/
Dtestcase.yaml2 zcbor.decode.test7_suit9_simple:
4 tags: zcbor decode test7
/zcbor-latest/tests/decode/test1_suit_old_formats/
Dtestcase.yaml2 zcbor.decode.test1_suit_old_formats:
4 tags: zcbor decode test1

123