Skip to content

Commit 74732f2

Browse files
committed
ci(build): disable I3C library include
I3C required some rework which is independent from HALv2 support. Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 3d1f709 commit 74732f2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CI/build/examples/BareMinimum/BareMinimum.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include <SPI.h>
1515
#include <SoftwareSerial.h>
1616
#include <Wire.h>
17-
#if defined(I3C1_BASE)
17+
#if defined(I3C1_BASE) && defined(HAL_I3C_MODULE_ENABLED)
1818
#include <I3C.h>
1919
#endif
2020

@@ -135,7 +135,7 @@ void setup() {
135135
Wire.requestFrom(2, 1);
136136
Wire.end();
137137

138-
#if defined(I3C1_BASE)
138+
#if defined(I3C1_BASE) && defined(HAL_I3C_MODULE_ENABLED)
139139
// I3C
140140
I3C1Bus.setBusType(I3CBusType::Pure);
141141
I3C1Bus.setMixedBusOpenDrainFrequency(1000000U);

0 commit comments

Comments
 (0)