tinycbor: Remove deprecated/obsolete module

This removes the tinycbor module and replaces references in it
e.g. in sample text to use the zcbor replacement.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2023-01-09 15:11:03 +00:00 committed by Carles Cufí
parent ce9385b388
commit fd4090819a
6 changed files with 4 additions and 66 deletions

View file

@ -2688,13 +2688,6 @@ West:
labels:
- manifest-tflite-micro
"West project: tinycbor":
status: obsolete
files:
- modules/Kconfig.tinycbor
labels:
- manifest-tinycbor
"West project: tinycrypt":
status: odd fixes
files:

View file

@ -29,7 +29,7 @@ workspace looks like this:
│ # Projects managed by west:
├── modules/
│ └── lib/
│ └── tinycbor/ # .git/ project
│ └── zcbor/ # .git/ project
├── net-tools/ # .git/ project
└── [ ... other projects ...]
@ -84,7 +84,7 @@ manifest file
projects
Projects are Git repositories managed by west. Projects are defined in the
manifest file and can be located anywhere inside the workspace. In the above
example workspace, ``tinycbor`` and ``net-tools`` are projects.
example workspace, ``zcbor`` and ``net-tools`` are projects.
By default, the Zephyr :ref:`build system <build_overview>` uses west to get
the locations of all the projects in the workspace, so any code they contain

View file

@ -195,7 +195,7 @@ A workspace using this topology looks like this:
│ │
├── modules/
│   └── lib/
│   └── tinycbor/ # .git/ project from either the main manifest or some import.
│   └── zcbor/ # .git/ project from either the main manifest or some import.
└── zephyr/ # .git/ project
└── west.yml # This can be partially imported with lower precedence or ignored.
@ -286,7 +286,7 @@ A workspace using this topology looks like this:
│   └── west.yml # main manifest with optional import(s) and override(s)
├── modules/
│   └── lib/
│   └── tinycbor/ # .git/ project from either the main manifest or
│   └── zcbor/ # .git/ project from either the main manifest or
│ # from some import
└── zephyr/ # .git/ project

View file

@ -36,7 +36,6 @@ source "modules/Kconfig.st"
source "modules/Kconfig.stm32"
source "modules/Kconfig.syst"
source "modules/Kconfig.telink"
source "modules/Kconfig.tinycbor"
source "modules/Kconfig.tinycrypt"
source "modules/Kconfig.vega"
source "modules/Kconfig.wurthelektronik"

View file

@ -1,51 +0,0 @@
# Copyright (c) 2018 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
config TINYCBOR
bool "DEPRECATED: tinyCBOR Support"
help
This option enables the tinyCBOR library.
Note: This module is deprecated, please use ZCBOR instead.
if TINYCBOR
config CBOR_ENCODER_NO_CHECK_USER
bool "No encoder checks for user args for validity"
help
This option specifies whether a check user exists for a cbor encoder.
config CBOR_PARSER_MAX_RECURSIONS
int "Parser max recursions"
default 1024
help
This option specifies max recursions for the parser.
config CBOR_PARSER_NO_STRICT_CHECKS
bool "No strict parser checks"
help
This option enables the strict parser checks.
config CBOR_FLOATING_POINT
bool "Floating point support"
select REQUIRES_FULL_LIBC
help
This option enables floating point support.
config CBOR_HALF_FLOAT_TYPE
bool "Half float type support"
select REQUIRES_FULL_LIBC
help
This option enables half float type support.
config CBOR_WITHOUT_OPEN_MEMSTREAM
bool "Without open memstream"
default y
help
This option enables open memstream support.
config CBOR_PRETTY_PRINTING
bool "Implement pretty printing functionality"
help
This option enables cbor_value_to_pretty_stream function.
endif # TINYCBOR

View file

@ -220,9 +220,6 @@ manifest:
revision: 9156d050927012da87079064db59d07f03b8baf6
path: modules/lib/tflite-micro
repo-path: tflite-micro
- name: tinycbor
revision: 9e1f34bc08123aaad7666d3652aaa839e8178b3b
path: modules/lib/tinycbor
- name: tinycrypt
revision: 3e9a49d2672ec01435ffbf0d788db6d95ef28de0
path: modules/crypto/tinycrypt