diff --git a/src/shared/i2c/FIXME.txt b/src/shared/i2c/FIXME.txt new file mode 100644 index 0000000000000000000000000000000000000000..618ae248f01a3a0fb3a48004f6f905470c1442cd --- /dev/null +++ b/src/shared/i2c/FIXME.txt @@ -0,0 +1,5 @@ +This class is present also in Miosix, there are small differences between the +two, and some skyward files include the header in this directory, while some +other include the one in the kernel. + +Integrate the changes made in this file in the kernel, and remove this file! diff --git a/src/shared/i2c/stm32f2_f4_i2c.cpp b/src/shared/i2c/stm32f2_f4_i2c.cpp index 617305301ed30199a06c9ef12b5d58cadc724f4a..2b11eb23447c445ef6358f6552354f5da1ebf96a 100644 --- a/src/shared/i2c/stm32f2_f4_i2c.cpp +++ b/src/shared/i2c/stm32f2_f4_i2c.cpp @@ -29,6 +29,10 @@ #include <miosix.h> #include <kernel/scheduler/scheduler.h> +#warning +#warning "Integrate this duplicate driver in Miosix, see FIXME.txt +#warning + // #define I2C_WITH_DMA using namespace miosix;