无电池方案配置 <1> SDK 版本更新至2.3版本 <2> board.dts与sys_config.fex 配置无电池方案,如下以demo2方案配置为例:
diff --git a/configs/demo2/board.dts b/configs/demo2/board.dts
--- a/configs/demo2/board.dts
+++ b/configs/demo2/board.dts
battery_power_supply: battery-power-supply {
compatible = "x-powers,axp803-battery-power-supply";
- status = "okay";
+ status = "disabled";
pmu_chg_ic_temp = <0>;
pmu_battery_rdc= <93>;
battery_power_supply: battery-power-supply {
compatible = "x-powers,axp803-battery-power-supply";
- status = "okay";
+ status = "disabled";
pmu_chg_ic_temp = <0>;
pmu_battery_rdc= <93>;
diff --git a/configs/demo2/sys_config.fex b/configs/demo2/sys_config.fex
--- a/configs/demo2/sys_config.fex
+++ b/configs/demo2/sys_config.fex
[power_sply]
+battery_exist = 0
[target]
+power_mode = 4