We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf3a7d9 commit f40b01dCopy full SHA for f40b01d
1 file changed
hal/lpc55s69.c
@@ -95,6 +95,7 @@ static void hal_flash_fix_ecc(void)
95
96
97
extern int wc_hashcrypt_init(void);
98
+extern int wc_casper_init(void);
99
100
void hal_init(void)
101
{
@@ -103,14 +104,19 @@ void hal_init(void)
103
104
BOARD_BootClockFROHF96M();
105
// BOARD_BootClockPLL150M();
106
107
+# ifdef DEBUG_UART
108
+ uart_init();
109
+ uart_write("lpc55s69 init\n", 14);
110
+# endif
111
+
112
# ifdef WOLFSSL_NXP_HASHCRYPT
113
CLOCK_EnableClock(kCLOCK_HashCrypt);
114
wc_hashcrypt_init();
115
# endif
116
-# ifdef DEBUG_UART
- uart_init();
- uart_write("lpc55s69 init\n", 14);
117
+# ifdef WOLFSSL_NXP_CASPER
118
+ CLOCK_EnableClock(kCLOCK_Casper);
119
+ wc_casper_init();
120
121
122
#endif /* __WOLFBOOT */
0 commit comments