• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2022 The Pigweed Authors
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may not
4# use this file except in compliance with the License. You may obtain a copy of
5# the License at
6#
7#     https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations under
13# the License.
14
15import("//build_overrides/pi_pico.gni")
16
17group("rp2_common") {
18  public_deps = [
19    "hardware_adc",
20    "hardware_base",
21    "hardware_claim",
22    "hardware_clocks",
23    "hardware_divider",
24    "hardware_dma",
25    "hardware_exception",
26    "hardware_flash",
27    "hardware_gpio",
28    "hardware_i2c",
29    "hardware_interp",
30    "hardware_irq",
31    "hardware_pio",
32    "hardware_pll",
33    "hardware_pwm",
34    "hardware_resets",
35    "hardware_rtc",
36    "hardware_spi",
37    "hardware_sync",
38    "hardware_timer",
39    "hardware_uart",
40    "hardware_vreg",
41    "hardware_watchdog",
42    "hardware_xosc",
43    "pico_bootrom",
44    "pico_platform",
45  ]
46
47  if (!PICO_BARE_METAL) {
48    public_deps += [
49      "boot_stage2",
50      "cmsis",
51      "pico_bit_ops",
52      "pico_bootsel_via_double_reset",
53      "pico_divider",
54      "pico_double",
55      "pico_fix",
56      "pico_float",
57      "pico_int64_ops",
58      "pico_malloc",
59      "pico_mem_ops",
60      "pico_multicore",
61      "pico_printf",
62      "pico_runtime",
63      "pico_standard_link",
64      "pico_stdio",
65      "pico_stdio_semihosting",
66      "pico_stdio_uart",
67      "pico_stdio_usb",
68      "pico_stdlib",
69      "pico_unique_id",
70      "tinyusb",
71    ]
72    # Not a real library:
73    #   pico_cxx_options
74  }
75}
76