commit | e7dc0b5a0536a4685262e1ec5ac818b95ffdde5e | [log] [tgz] |
---|---|---|
author | Ben <benlawson@google.com> | Fri Nov 17 17:37:48 2023 +0000 |
committer | Ben Lawson <benlawson@google.com> | Fri Nov 17 17:37:48 2023 +0000 |
tree | ff132a4289476fdf3d28389dea23d76df7d1dd67 | |
parent | 98e8caa7fef8ebe14ec04d9915322d96dac62fd1 [diff] |
pw_bluetooth_sapphire: Refactor pw_bluetooth_sapphire & fix errors Add pw_bluetooth_sapphire module to build. Format pw_bluetooth_sapphire files to 80 columns. Move headers to pw_bluetooth_sapphire/public/pw_bluetooth_sapphire. Update all include paths accordingly. Disable some clang diagnostics in misc. files: shadow, switch-enum, zero-length-array, c99-extensions. Cast return value of HeapDispatcher::Post to void to silence -Wunused-result errors. Delete unused Fuchsia-specific files from host layer. Disable the string_printf_test on windows because it fails. Bug: fxb/100593 Test: 0) Install required packages: pw package install boringssl pw package install googletest pw package install emboss 1) Set the following gn args: dir_pw_third_party_googletest = "~/pigweed/.environment/packages/googletest" pw_unit_test_MAIN = "//third_party/googletest:gmock_main" pw_unit_test_GOOGLETEST_BACKEND = "//third_party/googletest" pw_function_CONFIG = "//pw_function:enable_dynamic_allocation" dir_pw_third_party_emboss = "~/pigweed/.environment/packages/emboss" dir_pw_third_party_boringssl = "~/pigweed/.environment/packages/boringssl" pw_bluetooth_sapphire_ENABLE = true 2) pw watch Change-Id: I06762733ffb8095e8f953cc38716b296be88cd0a Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/173484 Reviewed-by: Erik Gilling <konkers@google.com> Reviewed-by: Josh Conner <joshconner@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/.