Lines Matching full:if
41 #if defined(MCUBOOT_SERIAL)
50 #if MYNEWT_VAL(BOOT_CUSTOM_START)
54 #if MYNEWT_VAL(BOOT_PREBOOT)
58 #if defined(MCUBOOT_SERIAL)
72 #if MYNEWT_VAL(BOOT_SERIAL_REPORT_PIN) != -1 in boot_read()
75 if (tick == 0) { in boot_read()
83 if (os_cputime_get32() - tick > BOOT_SERIAL_REPORT_DUR) { in boot_read()
94 #if MYNEWT_VAL(BOOT_SERIAL_DETECT_TIMEOUT) != 0
104 * @return true if the management string was received;
105 * false if the management string was not received
130 if (rc > 0) { in serial_detect_uart_string()
137 /* If the full management string has been received, indicate that in serial_detect_uart_string()
143 if (rc == 0) { in serial_detect_uart_string()
150 if (os_cputime_get32() >= start_tick + timeout_dur) { in serial_detect_uart_string()
163 * If it matches, await for download commands from serial. in serial_boot_detect()
165 #if MYNEWT_VAL(BOOT_SERIAL_NVREG_INDEX) != -1 in serial_boot_detect()
166 if (hal_nvreg_read(MYNEWT_VAL(BOOT_SERIAL_NVREG_INDEX)) == in serial_boot_detect()
176 * If it matches, await for download commands from serial. in serial_boot_detect()
178 #if MYNEWT_VAL(BOOT_SERIAL_DETECT_PIN) != -1 in serial_boot_detect()
181 if (hal_gpio_read(MYNEWT_VAL(BOOT_SERIAL_DETECT_PIN)) == in serial_boot_detect()
188 * Listen for management pattern in UART input. If detected, await for in serial_boot_detect()
191 #if MYNEWT_VAL(BOOT_SERIAL_DETECT_TIMEOUT) != 0 in serial_boot_detect()
192 if (serial_detect_uart_string()) { in serial_boot_detect()
226 #if !MYNEWT_VAL(OS_SCHEDULING) && MYNEWT_VAL(WATCHDOG_INTERVAL) in mynewt_main()
231 #if defined(MCUBOOT_SERIAL) || defined(MCUBOOT_HAVE_LOGGING) || \ in mynewt_main()
238 #if defined(MCUBOOT_SERIAL) in mynewt_main()
246 #if MYNEWT_VAL(BOOT_PREBOOT) in mynewt_main()
250 if (FIH_NOT_EQ(fih_rc, FIH_SUCCESS)) { in mynewt_main()
258 #if MYNEWT_VAL(BOOT_CUSTOM_START) in mynewt_main()