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.
1 parent 584c6c0 commit 56e84eeCopy full SHA for 56e84ee
boards/arm/arty/board.c
@@ -3,7 +3,7 @@
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
-
+#include <version.h>
7
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
8
#include <zephyr/device.h>
9
#include <zephyr/devicetree.h>
@@ -60,7 +60,11 @@ bool board_daplink_is_fitted(void)
60
return !NVIC_GetPendingIRQ(DT_IRQN(DAPLINK_QSPI_MUX_NODE));
61
}
62
63
+#if ZEPHYR_VERSION_CODE < ZEPHYR_VERSION(3, 4 , 0)
64
+static int board_init(const struct device *arg)
65
+#else
66
static int board_init(void)
67
+#endif
68
{
69
70
/*
0 commit comments