diff --git a/src/main/target/KAKUTEF7/config.c b/src/main/target/KAKUTEF7/config.c
new file mode 100644
index 000000000..7c00897e0
--- /dev/null
+++ b/src/main/target/KAKUTEF7/config.c
@@ -0,0 +1,42 @@
+/*
+ * This file is part of Cleanflight and Betaflight.
+ *
+ * Cleanflight and Betaflight are free software. You can redistribute
+ * this software and/or modify this software under the terms of the
+ * GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option)
+ * any later version.
+ *
+ * Cleanflight and Betaflight are distributed in the hope that they
+ * will be useful, but WITHOUT ANY WARRANTY; without even the implied
+ * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this software.
+ *
+ * If not, see .
+ */
+
+#include
+#include
+
+#include "platform.h"
+
+#ifdef USE_TARGET_CONFIG
+
+#include "config_helper.h"
+
+#include "io/serial.h"
+
+#define ESC_SENSOR_UART SERIAL_PORT_USART7
+
+static targetSerialPortFunction_t targetSerialPortFunction[] = {
+ { ESC_SENSOR_UART, FUNCTION_ESC_SENSOR },
+};
+
+void targetConfiguration(void)
+{
+ targetSerialPortFunctionConfig(targetSerialPortFunction, ARRAYLEN(targetSerialPortFunction));
+}
+#endif
diff --git a/src/main/target/KAKUTEF7/target.h b/src/main/target/KAKUTEF7/target.h
index 92afef84f..5b22fe375 100644
--- a/src/main/target/KAKUTEF7/target.h
+++ b/src/main/target/KAKUTEF7/target.h
@@ -20,7 +20,7 @@
#pragma once
-//#define USE_TARGET_CONFIG
+#define USE_TARGET_CONFIG
#ifdef KAKUTEF7V2
#define TARGET_BOARD_IDENTIFIER "KT76"
@@ -168,7 +168,6 @@
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
#define SERIALRX_UART SERIAL_PORT_USART6
#define SERIALRX_PROVIDER SERIALRX_SBUS
-#define ESC_SENSOR_UART SERIAL_PORT_USART7
#define USE_SERIAL_4WAY_BLHELI_INTERFACE