Home
last modified time | relevance | path

Searched refs:config (Results 1 – 25 of 57) sorted by relevance

123

/hal_rpi_pico-latest/bazel/constraint/
DBUILD.bazel50 flag_values = {"//bazel/config:PICO_BOARD": "pico_w"},
55 flag_values = {"//bazel/config:PICO_BOARD": "pico2_w"},
60 flag_values = {"//bazel/config:PICO_TOOLCHAIN": "clang"},
65 flag_values = {"//bazel/config:PICO_TOOLCHAIN": "gcc"},
70 flag_values = {"//bazel/config:PICO_BARE_METAL": "True"},
75 flag_values = {"//bazel/config:PICO_NO_GC_SECTIONS": "True"},
80 flag_values = {"//bazel/config:PICO_CXX_ENABLE_EXCEPTIONS": "True"},
85 flag_values = {"//bazel/config:PICO_CXX_ENABLE_RTTI": "True"},
90 flag_values = {"//bazel/config:PICO_CXX_ENABLE_RTTI": "True"},
95 flag_values = {"//bazel/config:PICO_STDIO_UART": "True"},
[all …]
/hal_rpi_pico-latest/test/hardware_pwm_test/
Dhardware_pwm_test.c41 pwm_config config = pwm_get_default_config(); in main() local
47 pwm_config_set_phase_correct(&config, true); in main()
48 pwm_config_set_clkdiv(&config, 42.5); in main()
49 pwm_config_set_clkdiv_mode(&config, PWM_DIV_B_HIGH); in main()
50 pwm_config_set_output_polarity(&config, false, true); in main()
51 pwm_config_set_wrap(&config, 0x1234); in main()
57 pwm_init(pwm, &config, false); in main()
61 … PICOTEST_CHECK_CHANNEL(pwm, slice->top == config.top, "HW top does not match requested config"); in main()
140 config = pwm_get_default_config(); in main()
144 pwm_config_set_clkdiv(&config, 50); in main()
[all …]
/hal_rpi_pico-latest/src/rp2_common/pico_async_context/include/pico/
Dasync_context_freertos.h89 …ync_context_freertos_init(async_context_freertos_t *self, async_context_freertos_config_t *config);
99 async_context_freertos_config_t config = { in async_context_freertos_default_config() local
106 return config; in async_context_freertos_default_config()
121 async_context_freertos_config_t config = async_context_freertos_default_config(); in async_context_freertos_init_with_defaults() local
122 return async_context_freertos_init(self, &config); in async_context_freertos_init_with_defaults()
Dasync_context_threadsafe_background.h82 …async_context_threadsafe_background_t *self, async_context_threadsafe_background_config_t *config);
104 …async_context_threadsafe_background_config_t config = async_context_threadsafe_background_default_… in async_context_threadsafe_background_init_with_defaults() local
105 return async_context_threadsafe_background_init(self, &config); in async_context_threadsafe_background_init_with_defaults()
/hal_rpi_pico-latest/tools/
Dbazel_build.py196 for config in BUILD_CONFIGURATIONS:
199 t for t in default_build_targets if t not in config["exclusions"]
201 build_targets.extend(config["extra_targets"])
203 args = list(config["args"])
215 failed_builds.append(config["name"])
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_arch/
Dcyw43_arch_freertos.c29 async_context_freertos_config_t config = async_context_freertos_default_config(); in cyw43_arch_init_default_async_context() local
31 config.task_priority = CYW43_TASK_PRIORITY; in cyw43_arch_init_default_async_context()
34 config.task_stack_size = CYW43_TASK_STACK_SIZE; in cyw43_arch_init_default_async_context()
36 if (async_context_freertos_init(&cyw43_async_context_freertos, &config)) in cyw43_arch_init_default_async_context()
Dcyw43_arch_threadsafe_background.c32 …async_context_threadsafe_background_config_t config = async_context_threadsafe_background_default_… in cyw43_arch_init_default_async_context() local
33 … if (async_context_threadsafe_background_init(&cyw43_async_context_threadsafe_background, &config)) in cyw43_arch_init_default_async_context()
/hal_rpi_pico-latest/src/common/pico_base_headers/
Dgenerate_config_header.cmake1 # build the auto gen config headers
14 …ICO_CONFIG_HEADER_FILES, List of extra header files to include from pico/config.h for all platform…
17 …040_CONFIG_HEADER_FILES, List of extra header files to include from pico/config.h for the rp2040 p…
18 …M_S_CONFIG_HEADER_FILES, List of extra header files to include from pico/config.h for the rp2350-a…
19 …SCV_CONFIG_HEADER_FILES, List of extra header files to include from pico/config.h for the riscv pl…
20 …OST_CONFIG_HEADER_FILES, List of extra header files to include from pico/config.h for the host pla…
/hal_rpi_pico-latest/src/rp2_common/pico_standard_link/
DBUILD.bazel28 "//bazel/config:PICO_BOOT_STAGE2_LINK_IMAGE",
29 "//bazel/config:PICO_CMSIS_PATH",
30 "//bazel/config:PICO_DEFAULT_BINARY_INFO",
31 "//bazel/config:PICO_DEFAULT_LINKER_SCRIPT",
/hal_rpi_pico-latest/src/rp2_common/pico_sha256/
Dsha256.c43 state->config = dma_channel_get_default_config(state->channel); in pico_sha256_try_start()
44 channel_config_set_transfer_data_size(&state->config, DMA_SIZE_8); in pico_sha256_try_start()
45 channel_config_set_read_increment(&state->config, true); in pico_sha256_try_start()
46 channel_config_set_write_increment(&state->config, false); in pico_sha256_try_start()
47 channel_config_set_dreq(&state->config, DREQ_SHA256); in pico_sha256_try_start()
79 &state->config, in write_to_hardware()
/hal_rpi_pico-latest/src/rp2040/boot_stage2/
DBUILD.bazel36 name = "config",
41 "include/boot_stage2/config.h",
44 "//bazel/config:PICO_DEFAULT_BOOT_STAGE2",
59 "//bazel/config:PICO_DEFAULT_BOOT_STAGE2",
66 "//bazel/config:PICO_DEFAULT_BOOT_STAGE2",
75 srcs = ["//bazel/config:PICO_DEFAULT_BOOT_STAGE2_FILE"],
97 ":config",
/hal_rpi_pico-latest/src/rp2350/boot_stage2/
DBUILD.bazel36 name = "config",
41 "include/boot_stage2/config.h",
44 "//bazel/config:PICO_DEFAULT_BOOT_STAGE2",
59 "//bazel/config:PICO_DEFAULT_BOOT_STAGE2",
66 "//bazel/config:PICO_DEFAULT_BOOT_STAGE2",
75 srcs = ["//bazel/config:PICO_DEFAULT_BOOT_STAGE2_FILE"],
97 ":config",
/hal_rpi_pico-latest/bazel/
DBUILD.bazel23 # --@pico-sdk//bazel/config:PICO_CONFIG_EXTRA_HEADER=//my_proj:my_custom_headers
26 # --@pico-sdk//bazel/config:PICO_CONFIG_PLATFORM_HEADER=//my_proj:my_custom_platform_headers
33 "//bazel/config:PICO_CONFIG_EXTRA_HEADER",
34 "//bazel/config:PICO_CONFIG_PLATFORM_HEADER",
/hal_rpi_pico-latest/src/rp2_common/pico_standard_binary_info/
DBUILD.bazel19 from_flag = "//bazel/config:PICO_BAZEL_BUILD_TYPE",
26 # * Set --@pico-sdk//bazel/config:PICO_DEFAULT_BINARY_INFO to point to your
30 # * Set --@pico-sdk//bazel/config:PICO_DEFAULT_BINARY_INFO=@pico-sdk//bazel:empty_cc_lib
/hal_rpi_pico-latest/src/rp2_common/pico_stdio_usb/
DBUILD.bazel32 from_flag = "//bazel/config:PICO_STDIO_USB",
38 from_flag = "//bazel/config:PICO_STDIO_USB_CONNECT_WAIT_TIMEOUT_MS",
71 "//bazel/config:PICO_TINYUSB_LIB",
/hal_rpi_pico-latest/src/rp2_common/hardware_interp/include/hardware/
Dinterp.h280 static inline void interp_set_config(interp_hw_t *interp, uint lane, interp_config *config) { in interp_set_config() argument
282 invalid_params_if(HARDWARE_INTERP, config->ctrl & SIO_INTERP1_CTRL_LANE0_CLAMP_BITS && in interp_set_config()
284 invalid_params_if(HARDWARE_INTERP, config->ctrl & SIO_INTERP0_CTRL_LANE0_BLEND_BITS && in interp_set_config()
286 interp->ctrl[lane] = config->ctrl; in interp_set_config()
/hal_rpi_pico-latest/src/rp2_common/pico_async_context/
Dasync_context_threadsafe_background.c29 async_context_threadsafe_background_config_t config = { in async_context_threadsafe_background_default_config() local
33 return config; in async_context_threadsafe_background_default_config()
195 …sync_context_threadsafe_background_t *self, async_context_threadsafe_background_config_t *config) { in async_context_threadsafe_background_init() argument
200 if (config->custom_alarm_pool) { in async_context_threadsafe_background_init()
201 self->alarm_pool = config->custom_alarm_pool; in async_context_threadsafe_background_init()
219 bool ok = low_prio_irq_init(self, config->low_priority_irq_handler_priority); in async_context_threadsafe_background_init()
Dasync_context_freertos.c107 …nc_context_freertos_init(async_context_freertos_t *self, async_context_freertos_config_t *config) { in async_context_freertos_init() argument
123 … pdPASS != xTaskCreate(async_context_task, "async_context_task", config->task_stack_size, self, in async_context_freertos_init()
124 config->task_priority, &self->task_handle)) { in async_context_freertos_init()
129 UBaseType_t core_id = config->task_core_id; in async_context_freertos_init()
/hal_rpi_pico-latest/src/boards/
DBUILD.bazel38 "//bazel/config:PICO_BOARD",
46 "//bazel/config:PICO_BOARD",
/hal_rpi_pico-latest/src/rp2_common/hardware_dma/include/hardware/
Ddma.h372 static inline uint32_t channel_config_get_ctrl_value(const dma_channel_config *config) { in channel_config_get_ctrl_value() argument
373 return config->ctrl; in channel_config_get_ctrl_value()
383 static inline void dma_channel_set_config(uint channel, const dma_channel_config *config, bool trig… in dma_channel_set_config() argument
386 dma_channel_hw_addr(channel)->al1_ctrl = channel_config_get_ctrl_value(config); in dma_channel_set_config()
388 dma_channel_hw_addr(channel)->ctrl_trig = channel_config_get_ctrl_value(config); in dma_channel_set_config()
447 static inline void dma_channel_configure(uint channel, const dma_channel_config *config, volatile v… in dma_channel_configure() argument
453 dma_channel_set_config(channel, config, trigger); in dma_channel_configure()
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_driver/
Dcyw43_bus_pio_spi.c123 pio_sm_config config = SPI_PROGRAM_GET_DEFAULT_CONFIG_FUNC(bus_data->pio_offset); in cyw43_spi_init() local
125 sm_config_set_clkdiv_int_frac8(&config, cyw43_pio_clock_div_int, cyw43_pio_clock_div_frac8); in cyw43_spi_init()
135 sm_config_set_out_pins(&config, CYW43_PIN_WL_DATA_OUT, 1); in cyw43_spi_init()
136 sm_config_set_in_pins(&config, CYW43_PIN_WL_DATA_IN); in cyw43_spi_init()
137 sm_config_set_set_pins(&config, CYW43_PIN_WL_DATA_OUT, 1); in cyw43_spi_init()
138 sm_config_set_sideset(&config, 1, false, false); in cyw43_spi_init()
139 sm_config_set_sideset_pins(&config, CYW43_PIN_WL_CLOCK); in cyw43_spi_init()
140 sm_config_set_in_shift(&config, false, true, 32); in cyw43_spi_init()
141 sm_config_set_out_shift(&config, false, true, 32); in cyw43_spi_init()
143 pio_sm_set_config(bus_data->pio, bus_data->pio_sm, &config); in cyw43_spi_init()
/hal_rpi_pico-latest/src/rp2_common/pico_crt0/rp2350/
DBUILD.bazel14 # * Set --@pico-sdk//bazel/config:PICO_DEFAULT_LINKER_SCRIPT to point to your
18 # * Set --@pico-sdk//bazel/config:PICO_DEFAULT_LINKER_SCRIPT=@pico-sdk//bazel:empty_cc_lib
/hal_rpi_pico-latest/test/cmsis_test/
DBUILD.bazel11 "//bazel/config:PICO_CMSIS_PATH",
/hal_rpi_pico-latest/test/hardware_irq_test/
Dhardware_irq_test.c23 static dma_channel_config config; variable
89 dma_channel_configure(0, &config, &dma_to, &dma_from, 1, true); in dma_check()
143 config = dma_channel_get_default_config(0); in main()
/hal_rpi_pico-latest/src/rp2_common/pico_mbedtls/
DBUILD.bazel12 "//bazel/config:PICO_MBEDTLS_LIB",

123