pw_bluetooth_sapphire: Handle switch enum warning with pigweed This switches over to using `pw_preproccesor` to annotate and disable switch related warnings. This fixes non-clang builds. Bug: b/355511476 Test: fx test //src/connectivity/bluetooth/core/bt-host Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1091333 GitOrigin-RevId: 7d8b084ef1f3ddaed8c53b1127a98cc04dccf2ed Change-Id: I007c937b935ea7d6d5a3f10ddf31e25e4c3557a8 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/227037 Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Commit-Queue: Jason Graffius <jgraff@google.com> Reviewed-by: Eric Rahm <erahm@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.