Home
last modified time | relevance | path

Searched full:gpio (Results 1 – 25 of 31) sorted by relevance

12

/mcuboot-latest/boot/espressif/port/esp32/
Dserial_adapter.c110 /* Enable GPIO for UART RX */ in boot_console_init()
115 gpio_ll_input_enable(&GPIO, SERIAL_BOOT_GPIO_RX); in boot_console_init()
117 /* Enable GPIO for UART TX */ in boot_console_init()
122 gpio_ll_output_enable(&GPIO, SERIAL_BOOT_GPIO_TX); in boot_console_init()
148 gpio_ll_input_enable(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
152 gpio_ll_pulldown_en(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
156 gpio_ll_pullup_en(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
161 pin_value = gpio_ll_get_level(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
170 pin_value = gpio_ll_get_level(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
Dbootloader.conf27 # GPIO used to boot on Serial Recovery
29 # GPIO input type (0 for Pull-down, 1 for Pull-up)
31 # GPIO signal value
33 # Delay time for identify the GPIO signal
37 # GPIO for Serial RX signal
39 # GPIO for Serial TX signal
/mcuboot-latest/boot/espressif/port/esp32c2/
Dserial_adapter.c119 /* Enable GPIO for UART RX */ in boot_console_init()
124 gpio_ll_input_enable(&GPIO, SERIAL_BOOT_GPIO_RX); in boot_console_init()
128 /* Enable GPIO for UART TX */ in boot_console_init()
133 gpio_ll_output_enable(&GPIO, SERIAL_BOOT_GPIO_TX); in boot_console_init()
159 gpio_ll_input_enable(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
163 gpio_ll_pulldown_en(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
167 gpio_ll_pullup_en(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
172 pin_value = gpio_ll_get_level(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
181 pin_value = gpio_ll_get_level(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
Dbootloader.conf28 # GPIO used to boot on Serial Recovery
30 # GPIO input type (0 for Pull-down, 1 for Pull-up)
32 # GPIO signal value
34 # Delay time for identify the GPIO signal
38 # GPIO for Serial RX signal
40 # GPIO for Serial TX signal
/mcuboot-latest/boot/espressif/port/esp32s2/
Dserial_adapter.c121 /* Enable GPIO for UART RX */ in boot_console_init()
126 gpio_ll_input_enable(&GPIO, SERIAL_BOOT_GPIO_RX); in boot_console_init()
129 /* Enable GPIO for UART TX */ in boot_console_init()
134 gpio_ll_output_enable(&GPIO, SERIAL_BOOT_GPIO_TX); in boot_console_init()
160 gpio_ll_input_enable(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
164 gpio_ll_pulldown_en(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
168 gpio_ll_pullup_en(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
173 pin_value = gpio_ll_get_level(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
182 pin_value = gpio_ll_get_level(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
Dbootloader.conf28 # GPIO used to boot on Serial Recovery
30 # GPIO input type (0 for Pull-down, 1 for Pull-up)
32 # GPIO signal value
34 # Delay time for identify the GPIO signal
38 # GPIO for Serial RX signal
40 # GPIO for Serial TX signal
/mcuboot-latest/boot/espressif/port/esp32c3/
Dbootloader.conf30 # GPIO used to boot on Serial Recovery
32 # GPIO input type (0 for Pull-down, 1 for Pull-up)
34 # GPIO signal value
36 # Delay time for identify the GPIO signal
40 # GPIO for Serial RX signal
42 # GPIO for Serial TX signal
Dserial_adapter.c154 /* Enable GPIO for UART RX */ in boot_console_init()
159 gpio_ll_input_enable(&GPIO, SERIAL_BOOT_GPIO_RX); in boot_console_init()
163 /* Enable GPIO for UART TX */ in boot_console_init()
168 gpio_ll_output_enable(&GPIO, SERIAL_BOOT_GPIO_TX); in boot_console_init()
195 gpio_ll_input_enable(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
199 gpio_ll_pulldown_en(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
203 gpio_ll_pullup_en(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
208 pin_value = gpio_ll_get_level(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
217 pin_value = gpio_ll_get_level(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
/mcuboot-latest/boot/espressif/port/esp32c6/
Dbootloader.conf30 # GPIO used to boot on Serial Recovery
32 # GPIO input type (0 for Pull-down, 1 for Pull-up)
34 # GPIO signal value
36 # Delay time for identify the GPIO signal
40 # GPIO for Serial RX signal
42 # GPIO for Serial TX signal
Dserial_adapter.c154 /* Enable GPIO for UART RX */ in boot_console_init()
159 gpio_ll_input_enable(&GPIO, SERIAL_BOOT_GPIO_RX); in boot_console_init()
163 /* Enable GPIO for UART TX */ in boot_console_init()
168 gpio_ll_output_enable(&GPIO, SERIAL_BOOT_GPIO_TX); in boot_console_init()
195 gpio_ll_input_enable(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
199 gpio_ll_pulldown_en(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
203 gpio_ll_pullup_en(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
208 pin_value = gpio_ll_get_level(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
217 pin_value = gpio_ll_get_level(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
/mcuboot-latest/boot/espressif/port/esp32h2/
Dbootloader.conf30 # GPIO used to boot on Serial Recovery
32 # GPIO input type (0 for Pull-down, 1 for Pull-up)
34 # GPIO signal value
36 # Delay time for identify the GPIO signal
40 # GPIO for Serial RX signal
42 # GPIO for Serial TX signal
Dserial_adapter.c154 /* Enable GPIO for UART RX */ in boot_console_init()
159 gpio_ll_input_enable(&GPIO, SERIAL_BOOT_GPIO_RX); in boot_console_init()
163 /* Enable GPIO for UART TX */ in boot_console_init()
168 gpio_ll_output_enable(&GPIO, SERIAL_BOOT_GPIO_TX); in boot_console_init()
195 gpio_ll_input_enable(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
199 gpio_ll_pulldown_en(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
203 gpio_ll_pullup_en(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
208 pin_value = gpio_ll_get_level(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
217 pin_value = gpio_ll_get_level(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
/mcuboot-latest/boot/espressif/port/esp32s3/
Dserial_adapter.c158 /* Enable GPIO for UART RX */ in boot_console_init()
163 gpio_ll_input_enable(&GPIO, SERIAL_BOOT_GPIO_RX); in boot_console_init()
166 /* Enable GPIO for UART TX */ in boot_console_init()
171 gpio_ll_output_enable(&GPIO, SERIAL_BOOT_GPIO_TX); in boot_console_init()
197 gpio_ll_input_enable(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
201 gpio_ll_pulldown_en(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
205 gpio_ll_pullup_en(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
210 pin_value = gpio_ll_get_level(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
219 pin_value = gpio_ll_get_level(&GPIO, SERIAL_BOOT_GPIO_DETECT); in boot_serial_detect_pin()
Dbootloader.conf50 # GPIO used to boot on Serial Recovery
52 # GPIO input type (0 for Pull-down, 1 for Pull-up)
54 # GPIO signal value
56 # Delay time for identify the GPIO signal
60 # GPIO for Serial RX signal
62 # GPIO for Serial TX signal
/mcuboot-latest/boot/cypress/platforms/PSOC_062_2M/CM4/GCC_ARM/
Dstartup_psoc6_02_cm4.S95 .long ioss_interrupts_gpio_0_IRQHandler /* GPIO Port Interrupt #0 */
96 .long ioss_interrupts_gpio_1_IRQHandler /* GPIO Port Interrupt #1 */
97 .long ioss_interrupts_gpio_2_IRQHandler /* GPIO Port Interrupt #2 */
98 .long ioss_interrupts_gpio_3_IRQHandler /* GPIO Port Interrupt #3 */
99 .long ioss_interrupts_gpio_4_IRQHandler /* GPIO Port Interrupt #4 */
100 .long ioss_interrupts_gpio_5_IRQHandler /* GPIO Port Interrupt #5 */
101 .long ioss_interrupts_gpio_6_IRQHandler /* GPIO Port Interrupt #6 */
102 .long ioss_interrupts_gpio_7_IRQHandler /* GPIO Port Interrupt #7 */
103 .long ioss_interrupts_gpio_8_IRQHandler /* GPIO Port Interrupt #8 */
104 .long ioss_interrupts_gpio_9_IRQHandler /* GPIO Port Interrupt #9 */
[all …]
/mcuboot-latest/boot/zephyr/
DKconfig.firmware_loader10 bool "GPIO"
11 depends on GPIO
13 Use a GPIO to enter firmware loader mode.
DKconfig.serial_recovery139 bool "GPIO"
141 depends on GPIO
143 Use a GPIO to enter serial recovery mode.
Dio.c22 #include <zephyr/drivers/gpio.h>
126 __ASSERT(false, "GPIO device is not ready.\n"); in io_detect_pin()
/mcuboot-latest/boot/boot_serial/
Dsyscfg.yml31 GPIO configuration for the serial boot loader detect pin.
66 The GPIO to toggle while the serial boot loader is running. Set to
/mcuboot-latest/docs/
Dreadme-espressif.md772 # GPIO used to boot on Serial Recovery
774 # GPIO input type (0 for Pull-down, 1 for Pull-up)
776 # GPIO signal value
778 # Delay time for identify the GPIO signal
782 # GPIO for Serial RX signal
784 # GPIO for Serial TX signal
788 When enabled, the bootloader checks the if the GPIO `<CONFIG_ESP_SERIAL_BOOT_GPIO_DETECT>`
791 a button configured on GPIO 32 pressed for 5 seconds.
816 # GPIO used to boot on Serial Recovery
818 # GPIO input type (0 for Pull-down, 1 for Pull-up)
[all …]
Dreadme-zephyr.md227 By default, the serial recovery GPIO pin active state enters the serial recovery mode.
228 Use the ``mcuboot_button0`` devicetree button alias to assign the GPIO pin to the MCUboot.
Dserial_recovery.md59 …ode is usually possible right after a device reset, for instance as a reaction on a GPIO pin state.
/mcuboot-latest/boot/cypress/BlinkyApp/
DReadme.md151 [BlinkyApp] GPIO initialized
162 [BlinkyApp] GPIO initialized
/mcuboot-latest/boot/mynewt/src/
Dmain.c77 * Configure GPIO line as output. This is a pin we toggle at the in boot_read()
175 * Configure a GPIO as input, and compare it against expected value. in serial_boot_detect()
/mcuboot-latest/boot/zephyr/include/io/
Dio.h43 * Checks if GPIO is set in the required way to remain in serial recovery mode

12