diff --git a/arch/portduino/portduino.ini b/arch/portduino/portduino.ini index 96599f3415..777ce1e020 100644 --- a/arch/portduino/portduino.ini +++ b/arch/portduino/portduino.ini @@ -39,4 +39,5 @@ build_flags = -lbluetooth -lgpiod -lyaml-cpp + -li2c -std=c++17 \ No newline at end of file diff --git a/variants/portduino/platformio.ini b/variants/portduino/platformio.ini index 34ae129e14..aa11142f71 100644 --- a/variants/portduino/platformio.ini +++ b/variants/portduino/platformio.ini @@ -6,7 +6,6 @@ build_flags = ${portduino_base.build_flags} -O0 -I variants/portduino -I /usr/include !pkg-config --libs libulfius --silence-errors || : !pkg-config --libs openssl --silence-errors || : - -li2c board = cross_platform lib_deps = ${portduino_base.lib_deps} build_src_filter = ${portduino_base.build_src_filter}