From d20e3046cbd5da533ad321c5296b06e09b34ca36 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 27 Oct 2020 18:30:56 +0100 Subject: [PATCH] enable asserts for all desktop ports --- port/libusb-intel/btstack_config.h | 1 + port/libusb/btstack_config.h | 1 + port/posix-h4-atwilc3000/btstack_config.h | 1 + port/posix-h4-da14581/btstack_config.h | 1 + port/posix-h4-da14585/btstack_config.h | 1 + port/posix-h4-zephyr/btstack_config.h | 1 + port/posix-h4/btstack_config.h | 1 + port/posix-h5-bcm/btstack_config.h | 1 + port/posix-h5/btstack_config.h | 1 + port/qt-h4/btstack_config.h | 1 + port/qt-usb/btstack_config.h | 1 + port/raspi/btstack_config.h | 1 + port/windows-h4-da14585/btstack_config.h | 1 + port/windows-h4-zephyr/btstack_config.h | 1 + port/windows-h4/btstack_config.h | 1 + port/windows-winusb-intel/btstack_config.h | 1 + port/windows-winusb/btstack_config.h | 1 + 17 files changed, 17 insertions(+) diff --git a/port/libusb-intel/btstack_config.h b/port/libusb-intel/btstack_config.h index 75f4beb88..827fab4b4 100644 --- a/port/libusb-intel/btstack_config.h +++ b/port/libusb-intel/btstack_config.h @@ -6,6 +6,7 @@ #define __BTSTACK_CONFIG // Port related features +#define HAVE_ASSERT #define HAVE_MALLOC #define HAVE_POSIX_FILE_IO #define HAVE_BTSTACK_STDIN diff --git a/port/libusb/btstack_config.h b/port/libusb/btstack_config.h index 31bf51f29..a8a089b79 100644 --- a/port/libusb/btstack_config.h +++ b/port/libusb/btstack_config.h @@ -6,6 +6,7 @@ #define __BTSTACK_CONFIG // Port related features +#define HAVE_ASSERT #define HAVE_MALLOC #define HAVE_POSIX_FILE_IO #define HAVE_BTSTACK_STDIN diff --git a/port/posix-h4-atwilc3000/btstack_config.h b/port/posix-h4-atwilc3000/btstack_config.h index f3ba812d2..3420bce46 100644 --- a/port/posix-h4-atwilc3000/btstack_config.h +++ b/port/posix-h4-atwilc3000/btstack_config.h @@ -6,6 +6,7 @@ #define __BTSTACK_CONFIG // Port related features +#define HAVE_ASSERT #define HAVE_MALLOC #define HAVE_POSIX_FILE_IO #define HAVE_BTSTACK_STDIN diff --git a/port/posix-h4-da14581/btstack_config.h b/port/posix-h4-da14581/btstack_config.h index f3ba812d2..3420bce46 100644 --- a/port/posix-h4-da14581/btstack_config.h +++ b/port/posix-h4-da14581/btstack_config.h @@ -6,6 +6,7 @@ #define __BTSTACK_CONFIG // Port related features +#define HAVE_ASSERT #define HAVE_MALLOC #define HAVE_POSIX_FILE_IO #define HAVE_BTSTACK_STDIN diff --git a/port/posix-h4-da14585/btstack_config.h b/port/posix-h4-da14585/btstack_config.h index 230327df3..64a679e60 100644 --- a/port/posix-h4-da14585/btstack_config.h +++ b/port/posix-h4-da14585/btstack_config.h @@ -6,6 +6,7 @@ #define __BTSTACK_CONFIG // Port related features +#define HAVE_ASSERT #define HAVE_MALLOC #define HAVE_POSIX_FILE_IO #define HAVE_BTSTACK_STDIN diff --git a/port/posix-h4-zephyr/btstack_config.h b/port/posix-h4-zephyr/btstack_config.h index d1ad5931f..0f9d711b8 100644 --- a/port/posix-h4-zephyr/btstack_config.h +++ b/port/posix-h4-zephyr/btstack_config.h @@ -6,6 +6,7 @@ #define __BTSTACK_CONFIG // Port related features +#define HAVE_ASSERT #define HAVE_MALLOC #define HAVE_POSIX_FILE_IO #define HAVE_BTSTACK_STDIN diff --git a/port/posix-h4/btstack_config.h b/port/posix-h4/btstack_config.h index 152500bc2..eaf79ca60 100644 --- a/port/posix-h4/btstack_config.h +++ b/port/posix-h4/btstack_config.h @@ -6,6 +6,7 @@ #define __BTSTACK_CONFIG // Port related features +#define HAVE_ASSERT #define HAVE_MALLOC #define HAVE_POSIX_FILE_IO #define HAVE_BTSTACK_STDIN diff --git a/port/posix-h5-bcm/btstack_config.h b/port/posix-h5-bcm/btstack_config.h index 63a0b33ce..7ed75b960 100644 --- a/port/posix-h5-bcm/btstack_config.h +++ b/port/posix-h5-bcm/btstack_config.h @@ -6,6 +6,7 @@ #define __BTSTACK_CONFIG // Port related features +#define HAVE_ASSERT #define HAVE_MALLOC #define HAVE_POSIX_FILE_IO #define HAVE_BTSTACK_STDIN diff --git a/port/posix-h5/btstack_config.h b/port/posix-h5/btstack_config.h index a516103b5..a145d98e6 100644 --- a/port/posix-h5/btstack_config.h +++ b/port/posix-h5/btstack_config.h @@ -6,6 +6,7 @@ #define __BTSTACK_CONFIG // Port related features +#define HAVE_ASSERT #define HAVE_MALLOC #define HAVE_POSIX_FILE_IO #define HAVE_BTSTACK_STDIN diff --git a/port/qt-h4/btstack_config.h b/port/qt-h4/btstack_config.h index 6ab679063..f1e3a17cc 100644 --- a/port/qt-h4/btstack_config.h +++ b/port/qt-h4/btstack_config.h @@ -6,6 +6,7 @@ #define __BTSTACK_CONFIG // Port related features +#define HAVE_ASSERT #define HAVE_MALLOC #define HAVE_POSIX_FILE_IO #define HAVE_BTSTACK_STDIN diff --git a/port/qt-usb/btstack_config.h b/port/qt-usb/btstack_config.h index 6ab679063..f1e3a17cc 100644 --- a/port/qt-usb/btstack_config.h +++ b/port/qt-usb/btstack_config.h @@ -6,6 +6,7 @@ #define __BTSTACK_CONFIG // Port related features +#define HAVE_ASSERT #define HAVE_MALLOC #define HAVE_POSIX_FILE_IO #define HAVE_BTSTACK_STDIN diff --git a/port/raspi/btstack_config.h b/port/raspi/btstack_config.h index 491dcec9b..86a5a5688 100644 --- a/port/raspi/btstack_config.h +++ b/port/raspi/btstack_config.h @@ -6,6 +6,7 @@ #define __BTSTACK_CONFIG // Port related features +#define HAVE_ASSERT #define HAVE_MALLOC #define HAVE_POSIX_FILE_IO #define HAVE_BTSTACK_STDIN diff --git a/port/windows-h4-da14585/btstack_config.h b/port/windows-h4-da14585/btstack_config.h index 76ebd8381..a1bed231f 100644 --- a/port/windows-h4-da14585/btstack_config.h +++ b/port/windows-h4-da14585/btstack_config.h @@ -6,6 +6,7 @@ #define __BTSTACK_CONFIG // Port related features +#define HAVE_ASSERT #define HAVE_MALLOC #define HAVE_POSIX_FILE_IO #define HAVE_BTSTACK_STDIN diff --git a/port/windows-h4-zephyr/btstack_config.h b/port/windows-h4-zephyr/btstack_config.h index e789243e4..991c194d5 100644 --- a/port/windows-h4-zephyr/btstack_config.h +++ b/port/windows-h4-zephyr/btstack_config.h @@ -6,6 +6,7 @@ #define __BTSTACK_CONFIG // Port related features +#define HAVE_ASSERT #define HAVE_MALLOC #define HAVE_POSIX_FILE_IO #define HAVE_BTSTACK_STDIN diff --git a/port/windows-h4/btstack_config.h b/port/windows-h4/btstack_config.h index 59ce3c8df..1a24c6415 100644 --- a/port/windows-h4/btstack_config.h +++ b/port/windows-h4/btstack_config.h @@ -6,6 +6,7 @@ #define __BTSTACK_CONFIG // Port related features +#define HAVE_ASSERT #define HAVE_MALLOC #define HAVE_POSIX_FILE_IO #define HAVE_BTSTACK_STDIN diff --git a/port/windows-winusb-intel/btstack_config.h b/port/windows-winusb-intel/btstack_config.h index 0ba18abc6..3685868b2 100644 --- a/port/windows-winusb-intel/btstack_config.h +++ b/port/windows-winusb-intel/btstack_config.h @@ -6,6 +6,7 @@ #define __BTSTACK_CONFIG // Port related features +#define HAVE_ASSERT #define HAVE_MALLOC #define HAVE_POSIX_FILE_IO #define HAVE_BTSTACK_STDIN diff --git a/port/windows-winusb/btstack_config.h b/port/windows-winusb/btstack_config.h index 40d22128d..65d4de9a1 100644 --- a/port/windows-winusb/btstack_config.h +++ b/port/windows-winusb/btstack_config.h @@ -6,6 +6,7 @@ #define __BTSTACK_CONFIG // Port related features +#define HAVE_ASSERT #define HAVE_MALLOC #define HAVE_POSIX_FILE_IO #define HAVE_BTSTACK_STDIN