We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9b59a3b + fa480c4 commit 50e6de7Copy full SHA for 50e6de7
targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/reloc_vector_table.c
@@ -39,6 +39,8 @@
39
#include "nrf.h"
40
#include "cmsis_nvic.h"
41
#include "stdint.h"
42
+#include "PinNames.h"
43
+#include "hal/gpio_api.h"
44
45
#if defined(SOFTDEVICE_PRESENT)
46
#include "nrf_sdm.h"
@@ -110,3 +112,13 @@ void nrf_reloc_vector_table(void)
110
112
SCB->VTOR = (uint32_t) nrf_dispatch_vector;
111
113
#endif
114
}
115
+
116
+#if (STDIO_UART_RTS != NC)
117
+void mbed_sdk_init(void)
118
+{
119
+ gpio_t rts;
120
+ gpio_init_out(&rts, STDIO_UART_RTS);
121
+ /* Set STDIO_UART_RTS as gpio driven low */
122
+ gpio_write(&rts, 0);
123
+}
124
+#endif
0 commit comments