[OSCBS-41] Update to Zephyr v3.2.0 (#382)

Updating to integrate with Zephyr v3.2.0 required:

- Update `west.yml` to import Zephyr v3.2.0 manifest
- Prefix include pathname of ztest.h with `zephyr/`
- Prefix every Zephyr header included pathname with `zephyr/`
- Change all Zephyr tests/samples to use `find_package`
- For unit_testing, use a distinct prj.conf which only references
  Kconfigs defined in the Zephyr repo. (Zephyr constraint.)
- Move ztest headers into a zephyr-prefixed pathname

Co-authored-by: Gregory Shue <gregory.shue@legrand.com>
This commit is contained in:
Greg Shue
2023-01-18 08:50:31 -08:00
committed by GitHub
parent 1a7a810f1a
commit eb36033fd8
262 changed files with 580 additions and 285 deletions
+3 -3
View File
@@ -4,9 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <stdio.h>
#include <tc_util.h>
#include <zephyr/tc_util.h>
#if 0
#include <app_memory/app_memdomain.h>
#ifdef CONFIG_USERSPACE
@@ -15,7 +15,7 @@
#endif
#ifdef KERNEL
#include <sys/reboot.h>
#include <zephyr/sys/reboot.h>
static struct k_thread ztest_thread;
#endif
+2 -2
View File
@@ -3,8 +3,8 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr.h>
#include <ztest.h>
#include <zephyr/kernel.h>
#include <zephyr/ztest.h>
#if defined(CONFIG_ZTEST_FATAL_HOOK)
+1 -1
View File
@@ -13,7 +13,7 @@
#ifdef KERNEL
#error Why is KERNEL defined by hered?
#endif
#include <ztest.h>
#include <zephyr/ztest.h>
#ifdef KERNEL
#error Why is KERNEL defined by hered?
#endif