zephyr: Use deprecated instead of legacy for Kconfig int types
Rename the Kconfig symbol from LEGACY_ZEPHYR_INT_TYPES to DEPRECATED_ZEPHYR_INT_TYPES. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
2291de6abf
commit
1737bd082d
4 changed files with 9 additions and 8 deletions
|
@ -363,11 +363,12 @@ config LEGACY_DEVICETREE_MACROS
|
||||||
Zephyr 2.2 and previous versions, rather than the devicetree.h
|
Zephyr 2.2 and previous versions, rather than the devicetree.h
|
||||||
API introduced during the Zephyr 2.3 development cycle.
|
API introduced during the Zephyr 2.3 development cycle.
|
||||||
|
|
||||||
config LEGACY_ZEPHYR_INT_TYPES
|
config DEPRECATED_ZEPHYR_INT_TYPES
|
||||||
bool "Allow the use of the legacy zephyr integer types"
|
bool "Allow the use of the deprecated zephyr integer types"
|
||||||
help
|
help
|
||||||
Allows the use of the legacy Zephyr integer typedefs defined in
|
Allows the use of the deprecated Zephyr integer typedefs defined in
|
||||||
Zephyr 2.3 and previous versions.
|
Zephyr 2.3 and previous versions. These types are:
|
||||||
|
u8_t, u16_t, u32_t, u64_t, s8_t, s16_t, s32_t, and s64_t.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
endmenu
|
endmenu
|
||||||
|
|
|
@ -10,7 +10,7 @@ We are pleased to announce the release of Zephyr RTOS version 2.4.0.
|
||||||
Major enhancements with this release include:
|
Major enhancements with this release include:
|
||||||
|
|
||||||
* Moved to using C99 integer types and deprecate Zephyr integer types. The
|
* Moved to using C99 integer types and deprecate Zephyr integer types. The
|
||||||
Zephyr types can be enabled by Kconfig LEGACY_ZEPHYR_INT_TYPES option.
|
Zephyr types can be enabled by Kconfig DEPRECATED_ZEPHYR_INT_TYPES option.
|
||||||
|
|
||||||
The following sections provide detailed lists of changes by component.
|
The following sections provide detailed lists of changes by component.
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ API Changes
|
||||||
***********
|
***********
|
||||||
|
|
||||||
* Moved to using C99 integer types and deprecate Zephyr integer types. The
|
* Moved to using C99 integer types and deprecate Zephyr integer types. The
|
||||||
Zephyr types can be enabled by Kconfig LEGACY_ZEPHYR_INT_TYPES option.
|
Zephyr types can be enabled by Kconfig DEPRECATED_ZEPHYR_INT_TYPES option.
|
||||||
|
|
||||||
Deprecated in this release
|
Deprecated in this release
|
||||||
==========================
|
==========================
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_LEGACY_ZEPHYR_INT_TYPES
|
#ifdef CONFIG_DEPRECATED_ZEPHYR_INT_TYPES
|
||||||
|
|
||||||
typedef signed char s8_t;
|
typedef signed char s8_t;
|
||||||
typedef signed short s16_t;
|
typedef signed short s16_t;
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
CONFIG_LEGACY_ZEPHYR_INT_TYPES=y
|
CONFIG_DEPRECATED_ZEPHYR_INT_TYPES=y
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue