[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
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/acc.h>
#include <bacnet/bactext.h>
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/access_credential.h>
/**
@@ -8,7 +8,7 @@
* @brief test BACnet access_door object APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/access_door.h>
/**
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/access_point.h>
/**
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/access_rights.h>
/**
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/access_user.h>
/**
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/access_zone.h>
/**
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/ai.h>
#include <bacnet/bactext.h>
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/ao.h>
/**
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/av.h>
/**
+1 -1
View File
@@ -9,7 +9,7 @@
*
* SPDX-License-Identifier: MIT
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/bacfile.h>
/**
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/bi.h>
#include <bacnet/bactext.h>
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/bo.h>
/**
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/bv.h>
/**
@@ -6,7 +6,7 @@
*
* SPDX-License-Identifier: MIT
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/bactext.h>
#include <bacnet/basic/object/color_object.h>
@@ -6,7 +6,7 @@
*
* SPDX-License-Identifier: MIT
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/bactext.h>
#include <bacnet/basic/object/color_temperature.h>
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet command object APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/command.h>
/**
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/credential_data_input.h>
/**
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/device.h>
/**
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet load control object
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/bacdcode.h>
#include <bacnet/bacstr.h>
#include <bacnet/basic/object/ao.h>
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/bactext.h>
#include <bacnet/basic/object/lo.h>
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/lsp.h>
/**
+1 -1
View File
@@ -6,7 +6,7 @@
*
* SPDX-License-Identifier: MIT
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/service/h_apdu.h>
uint16_t apdu_decode_confirmed_service_request(
+1 -1
View File
@@ -6,7 +6,7 @@
*
* SPDX-License-Identifier: MIT
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/bactext.h>
#include <bacnet/basic/object/device.h>
+1 -1
View File
@@ -6,7 +6,7 @@
*
* SPDX-License-Identifier: MIT
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/tsm/tsm.h>
bool tsm_get_transaction_pdu(
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/ms-input.h>
/**
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/mso.h>
/**
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/msv.h>
/**
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/readrange.h>
#include <bacnet/basic/object/netport.h>
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/sys/keylist.h>
#include <bacnet/basic/object/objects.h>
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/osv.h>
/**
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/piv.h>
/**
+1 -1
View File
@@ -8,7 +8,7 @@
* @brief test BACnet integer encode/decode APIs
*/
#include <ztest.h>
#include <zephyr/ztest.h>
#include <bacnet/basic/object/schedule.h>
/**