Go to file
Carlos Chinchilla e9441715b7 pw_polyfill: Define as cc_static_library
- Expose non-facade libraries as cc_static_library so they can be built
  on their own, following the new guidance at:
  https://pigweed.dev/pw_build_android/
- Fix affected modules.

Bug: 328503970
Test: presubmits in Android main pass
Change-Id: I6fb912cf25e6b12171a23b74469a3c75f59159b7
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/199094
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Reviewed-by: Matthew Sedam <matthewsedam@google.com>
Reviewed-by: Cindy Liu <hcindyl@google.com>
Pigweed-Auto-Submit: Carlos Chinchilla <cachinchilla@google.com>
2024-03-26 22:40:07 +00:00
.allstar
.vscode
build_overrides
docker
docs pw_channel: Add loopback channel 2024-03-26 19:38:04 +00:00
kudzu
pw_alignment pw_docgen: Single-source the module metadata 2024-03-14 23:01:57 +00:00
pw_allocator pw_allocator: Add allocation detail storage to TrackingAllocator 2024-03-26 19:48:45 +00:00
pw_analog many: Fix uses of std::chrono literals 2024-02-15 23:35:50 +00:00
pw_android_toolchain *: Remove module-level README.md files 2024-01-18 22:40:55 +00:00
pw_arduino_build docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_assert bazel: Localize remaining backend label flags 2024-03-25 20:38:15 +00:00
pw_assert_basic docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_assert_log Soong: Remove _headers from lib names 2024-03-22 02:33:05 +00:00
pw_assert_tokenized pw_assert: Introduce :backend, :backend_impl 2024-03-14 20:15:58 +00:00
pw_assert_zephyr
pw_async bazel: Localize backend label flags 2024-03-13 22:16:40 +00:00
pw_async_basic docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_async2 pw_async2: Add PendFuncTask 2024-03-26 16:42:52 +00:00
pw_async2_basic pw_multibuf: Add MultiBufAllocator interface 2024-03-05 22:04:31 +00:00
pw_base64 Soong: Remove _headers from lib names 2024-03-22 02:33:05 +00:00
pw_bloat python: Use future annotations 2024-03-20 22:53:33 +00:00
pw_blob_store pw_blob_store: Set module name to BLOB 2024-03-07 18:20:37 +00:00
pw_bluetooth pw_bluetooth: Add emboss ReadBufferSize v1 event 2024-03-26 01:12:21 +00:00
pw_bluetooth_hci bazel: Replace pw_cc_library with cc_library 2024-01-03 23:59:35 +00:00
pw_bluetooth_profiles docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_bluetooth_proxy pw_bluetooth_proxy: Bluetooth proxy module and initial classes 2024-03-22 19:59:23 +00:00
pw_bluetooth_sapphire pigweed_bluetooth: protocol.h comments tweak 2024-03-26 03:01:20 +00:00
pw_boot pw_docgen: Single-source the module metadata 2024-03-14 23:01:57 +00:00
pw_boot_cortex_m bazel: Replace pw_cc_library with cc_library 2024-01-03 23:59:35 +00:00
pw_build pw_i2c_rp2040: Initiator implementation 2024-03-22 23:35:18 +00:00
pw_build_android pw_thread: Follow Soong guidance 2024-03-26 20:04:54 +00:00
pw_build_info bazel: Add missing Python deps 2024-03-26 01:55:32 +00:00
pw_build_mcuxpresso docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_bytes pw_polyfill: Define as cc_static_library 2024-03-26 22:40:07 +00:00
pw_channel pw_channel: Add loopback channel 2024-03-26 19:38:04 +00:00
pw_checksum Soong: Remove _headers from lib names 2024-03-22 02:33:05 +00:00
pw_chre
pw_chrono Soong: Remove _headers from lib names 2024-03-22 02:33:05 +00:00
pw_chrono_embos pw_polyfill: Provide static_assert polyfill for C 2024-01-18 00:59:01 +00:00
pw_chrono_freertos pw_polyfill: Provide static_assert polyfill for C 2024-01-18 00:59:01 +00:00
pw_chrono_rp2040 pw_chrono_rp2040: Minor tweaks to documentation and test 2024-02-16 18:39:56 +00:00
pw_chrono_stl pw_function: Define as cc_static_library 2024-03-26 22:39:14 +00:00
pw_chrono_threadx pw_polyfill: Provide static_assert polyfill for C 2024-01-18 00:59:01 +00:00
pw_chrono_zephyr
pw_cli python: Use future annotations 2024-03-21 18:00:28 +00:00
pw_compilation_testing python: Use future annotations 2024-03-20 22:53:33 +00:00
pw_config_loader python: Switch from typing.Optional[...] to "... | None" 2024-03-18 23:52:57 +00:00
pw_console bazel: Add missing Python deps 2024-03-26 01:55:32 +00:00
pw_containers pw_polyfill: Define as cc_static_library 2024-03-26 22:40:07 +00:00
pw_cpu_exception bazel: Use pw_facade 2024-03-12 23:45:36 +00:00
pw_cpu_exception_cortex_m python: Switch from typing.Optional[...] to "... | None" 2024-03-18 23:52:57 +00:00
pw_crypto docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_digital_io pw_function: Define as cc_static_library 2024-03-26 22:39:14 +00:00
pw_digital_io_linux bazel: Localize remaining backend label flags 2024-03-25 20:38:15 +00:00
pw_digital_io_mcuxpresso docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_digital_io_rp2040 docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_docgen python: Switch from typing.Optional[...] to "... | None" 2024-03-18 23:52:57 +00:00
pw_doctor python: Switch from typing.Optional[...] to "... | None" 2024-03-18 23:52:57 +00:00
pw_emu python: Switch from typing.Optional[...] to "... | None" 2024-03-18 23:52:57 +00:00
pw_env_setup roll: gn 2024-03-24 21:09:42 +00:00
pw_env_setup_zephyr pw_docgen: Single-source the module metadata 2024-03-14 23:01:57 +00:00
pw_file many: Disable tests incompatible with rp2040 2024-02-15 23:37:38 +00:00
pw_format pw_docgen: Single-source the module metadata 2024-03-14 23:01:57 +00:00
pw_function pw_function: Define as cc_static_library 2024-03-26 22:39:14 +00:00
pw_fuzzer docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_grpc pw_docgen: Single-source the module metadata 2024-03-14 23:01:57 +00:00
pw_hdlc pw_hdlc: Fix sitenav 2024-03-26 00:04:59 +00:00
pw_hex_dump pw_hex_dump: Add CMake support 2024-03-21 19:45:10 +00:00
pw_i2c Soong: Remove _headers from lib names 2024-03-22 02:33:05 +00:00
pw_i2c_linux bazel: Replace pw_cc_library with cc_library 2024-01-03 23:59:35 +00:00
pw_i2c_mcuxpresso docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_i2c_rp2040 pw_i2c_rp2040: Initiator implementation 2024-03-22 23:35:18 +00:00
pw_ide python: Use future annotations 2024-03-21 18:00:28 +00:00
pw_interrupt bazel: Localize backend label flags 2024-03-13 22:16:40 +00:00
pw_interrupt_cortex_m bazel: Replace pw_cc_library with cc_library 2024-01-03 23:59:35 +00:00
pw_interrupt_xtensa bazel: Replace pw_cc_library with cc_library 2024-01-03 23:59:35 +00:00
pw_interrupt_zephyr
pw_intrusive_ptr docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_json pw_docgen: Single-source the module metadata 2024-03-14 23:01:57 +00:00
pw_kvs pw_docgen: Single-source the module metadata 2024-03-14 23:01:57 +00:00
pw_libc pw_libc: Include strncpy 2024-03-25 23:27:03 +00:00
pw_libcxx fxbug.dev: Migrate bug numbers 2024-01-30 19:38:11 +00:00
pw_log bazel: Localize remaining backend label flags 2024-03-25 20:38:15 +00:00
pw_log_android Soong: Remove _headers from lib names 2024-03-22 02:33:05 +00:00
pw_log_basic pw_log_android: Add module documentation 2024-03-15 05:26:04 +00:00
pw_log_null pw_log_null: Define as cc_static_library 2024-03-26 20:51:10 +00:00
pw_log_rpc docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_log_string bazel: Localize remaining backend label flags 2024-03-25 20:38:15 +00:00
pw_log_tokenized bazel: Localize remaining backend label flags 2024-03-25 20:38:15 +00:00
pw_log_zephyr python: Remove PathOrStr variables 2024-03-19 17:51:42 +00:00
pw_malloc bazel: Localize remaining backend label flags 2024-03-25 20:38:15 +00:00
pw_malloc_freelist bazel: Replace pw_cc_library with cc_library 2024-01-03 23:59:35 +00:00
pw_malloc_freertos bazel: Replace pw_cc_library with cc_library 2024-01-03 23:59:35 +00:00
pw_metric Soong: Remove _headers from lib names 2024-03-22 02:33:05 +00:00
pw_minimal_cpp_stdlib docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_module python: Use future annotations 2024-03-21 18:00:28 +00:00
pw_multibuf pw_multibuf: Define as cc_static_library 2024-03-26 21:16:14 +00:00
pw_multisink docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_package pw_presubmit: Skip gn_teensy_build on mac-arm64 2024-03-25 22:22:59 +00:00
pw_perf_test docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_persistent_ram docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_polyfill pw_polyfill: Define as cc_static_library 2024-03-26 22:40:07 +00:00
pw_preprocessor pw_polyfill: Define as cc_static_library 2024-03-26 22:40:07 +00:00
pw_presubmit pw_presubmit: Skip gn_teensy_build on mac-arm64 2024-03-25 22:22:59 +00:00
pw_protobuf pw_polyfill: Define as cc_static_library 2024-03-26 22:40:07 +00:00
pw_protobuf_compiler python: Use future annotations 2024-03-20 22:53:33 +00:00
pw_random pw_random: Clean up build files 2024-02-02 22:11:01 +00:00
pw_result Soong: Remove _headers from lib names 2024-03-22 02:33:05 +00:00
pw_ring_buffer docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_router pw_router: Add Android common backends as dep 2024-03-22 02:39:35 +00:00
pw_rpc pw_polyfill: Define as cc_static_library 2024-03-26 22:40:07 +00:00
pw_rpc_transport pw_polyfill: Define as cc_static_library 2024-03-26 22:40:07 +00:00
pw_rust pw_format: Add initial support for untyped specifiers 2024-03-14 00:27:42 +00:00
pw_snapshot docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_software_update python: Use future annotations 2024-03-20 22:53:33 +00:00
pw_span Soong: Remove _headers from lib names 2024-03-22 02:33:05 +00:00
pw_spi Soong: Remove _headers from lib names 2024-03-22 02:33:05 +00:00
pw_spi_mcuxpresso docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_spi_rp2040 pw_spi_rp2040: Initiator implementation 2024-02-16 23:50:07 +00:00
pw_status pw_status: Add StatusWithSize::size_or 2024-03-26 18:08:31 +00:00
pw_stm32cube_build docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_stream pw_polyfill: Define as cc_static_library 2024-03-26 22:40:07 +00:00
pw_stream_shmem_mcuxpresso pw_stream_shmem_mcuxpresso: Fix interrupt pending check 2024-03-22 00:05:13 +00:00
pw_stream_uart_linux pw_polyfill: Define as cc_static_library 2024-03-26 22:40:07 +00:00
pw_stream_uart_mcuxpresso docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_string pw_polyfill: Define as cc_static_library 2024-03-26 22:40:07 +00:00
pw_symbolizer docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_sync pw_polyfill: Define as cc_static_library 2024-03-26 22:40:07 +00:00
pw_sync_baremetal Soong: Remove _headers from lib names 2024-03-22 02:33:05 +00:00
pw_sync_embos bazel: Introduce pw_facade 2024-03-12 23:05:29 +00:00
pw_sync_freertos bazel: Introduce pw_facade 2024-03-12 23:05:29 +00:00
pw_sync_stl Soong: Remove _headers from lib names 2024-03-22 02:33:05 +00:00
pw_sync_threadx bazel: Introduce pw_facade 2024-03-12 23:05:29 +00:00
pw_sync_zephyr
pw_sys_io bazel: Localize remaining backend label flags 2024-03-25 20:38:15 +00:00
pw_sys_io_ambiq_sdk bazel: Use pw_facade 2024-03-12 23:45:36 +00:00
pw_sys_io_arduino bazel: Use pw_facade 2024-03-12 23:45:36 +00:00
pw_sys_io_baremetal_lm3s6965evb bazel: Use pw_facade 2024-03-12 23:45:36 +00:00
pw_sys_io_baremetal_stm32f429 bazel: Use pw_facade 2024-03-12 23:45:36 +00:00
pw_sys_io_emcraft_sf2 bazel: Use pw_facade 2024-03-12 23:45:36 +00:00
pw_sys_io_mcuxpresso bazel: Use pw_facade 2024-03-12 23:45:36 +00:00
pw_sys_io_rp2040 pw_sys_io_rp2040: Use callbacks to block on input 2024-03-16 00:15:17 +00:00
pw_sys_io_stdio bazel: Use pw_facade 2024-03-12 23:45:36 +00:00
pw_sys_io_stm32cube docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_sys_io_zephyr
pw_system bazel: Add missing Python deps 2024-03-26 01:55:32 +00:00
pw_target_runner docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_thread pw_function: Define as cc_static_library 2024-03-26 22:39:14 +00:00
pw_thread_embos docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_thread_freertos docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_thread_stl pw_thread: Follow Soong guidance 2024-03-26 20:04:54 +00:00
pw_thread_threadx bazel: Add module configuration support 2024-01-08 21:33:53 +00:00
pw_thread_zephyr pw_{assert, thread_zephyr}: Apply formatting fixes 2024-03-12 18:48:17 +00:00
pw_tls_client python: Switch from typing.Tuple to tuple 2024-03-18 23:23:14 +00:00
pw_tls_client_boringssl bazel: Replace pw_cc_library with cc_library 2024-01-03 23:59:35 +00:00
pw_tls_client_mbedtls bazel: Replace pw_cc_library with cc_library 2024-01-03 23:59:35 +00:00
pw_tokenizer pw_polyfill: Define as cc_static_library 2024-03-26 22:40:07 +00:00
pw_toolchain python: Switch from typing.Optional[...] to "... | None" 2024-03-18 23:52:57 +00:00
pw_toolchain_bazel docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_trace docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_trace_tokenized docs: Fix code-block indentation 2024-03-19 18:35:45 +00:00
pw_transfer pw_transfer: Inline TRANSFER_CLIENT_DEPS 2024-03-21 23:45:13 +00:00
pw_unit_test bazel: Localize remaining backend label flags 2024-03-25 20:38:15 +00:00
pw_unit_test_zephyr pw_{bytes,varint}: Use unit test framework 2023-12-07 03:02:22 +00:00
pw_varint pw_polyfill: Define as cc_static_library 2024-03-26 22:40:07 +00:00
pw_watch python: Switch from typing.Optional[...] to "... | None" 2024-03-18 23:52:57 +00:00
pw_web pw_web: Update createLogViewer to use union types 2024-03-20 21:53:53 +00:00
pw_work_queue bazel: Mark more targets testonly 2024-02-23 21:12:35 +00:00
seed pw_sensor: Add configuration SEED 2024-03-20 18:53:36 +00:00
targets bazel: Localize remaining backend label flags 2024-03-25 20:38:15 +00:00
third_party pw_toolchain: Remove unusued source set 2024-03-26 18:35:53 +00:00
ts pw_web: Enable multiple log sources 2024-02-21 18:25:27 +00:00
zephyr pw_hdlc: Remove unused rpc packet processor target 2024-01-18 19:46:40 +00:00
.bazelignore
.bazelrc pw_unit_test: Localize the label flags 2024-03-15 16:22:38 +00:00
.black.toml
.clang-format pw_presubmit: Begin formatter modularization 2024-03-16 00:27:45 +00:00
.clang-tidy
.dockerignore
.eslintrc.cjs pw_web: Add Mocha and Jest global vars to ESLint 2023-12-06 18:10:27 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore gitignore: Fix how we ignore bazel- directories 2024-01-24 17:56:21 +00:00
.gn mbedtls: Upgrade mbedtls to 3.5.0 2024-01-30 23:30:48 +00:00
.mypy.ini
.prettierignore
.prettierrc.cjs
.pw_ide.yaml pw_ide: Auto-run build system command 2023-12-13 20:09:01 +00:00
.pylintrc
activate.bat
activate.sh
Android.bp
AUTHORS
bootstrap.bat Revert "bootstrap: Warn about Windows case-sensitivity support" 2024-03-07 22:00:35 +00:00
bootstrap.sh bootstrap: Update the bootstrap script to have start/end guards 2024-02-06 17:37:17 +00:00
BUILD.bazel
BUILD.gn pw_digital_io_linux: Add test CLI 2024-03-14 23:57:52 +00:00
BUILDCONFIG.gn
CMakeLists.txt pw_channel: Add loopback channel 2024-03-26 19:38:04 +00:00
jest.config.ts
Kconfig.zephyr
LICENSE
modules.gni
OWNERS
package-lock.json pw_web: NPM version bump to 0.0.16 2024-03-20 23:37:40 +00:00
package.json pw_web: NPM version bump to 0.0.16 2024-03-20 23:37:40 +00:00
PIGWEED_MODULES pw_i2c_rp2040: Initiator implementation 2024-03-22 23:35:18 +00:00
pigweed.json pw_presubmit: Begin formatter modularization 2024-03-16 00:27:45 +00:00
README.md docs: Update README links 2024-02-01 18:15:22 +00:00
rollup.config.js
tsconfig.json
WORKSPACE pw_{bluetooth_sapphire, env_setup}: Use amd64 SDK 2024-03-19 21:04:25 +00:00

Pigweed

Pigweed is an open source collection of embedded-targeted librariesor 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/.