Skip to content

Commit c936843

Browse files
committed
Boards: fix qemu a53 issue
When build tests/drivers/charger/sbs_charger using: 'west build -p -b qemu_max/qemu_max \ tests/drivers/charger/sbs_charger \ -T drivers.charger.sbs.emulated' build failed. The error message is: "'reg' property in <Node /i2c@100 in '/home/proctor-a/zephyrproject/zephyr/misc/empty_file.c'> has length 8, which is not evenly divisible by 16 (= 4*(<#address-cells> (= 2) + <#size-cells> (= 2)))." The issue can been seen using qemu_max too. Signed-off-by: Guoqi Xie <[email protected]>
1 parent 52128f3 commit c936843

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

tests/drivers/charger/sbs_charger/boards/emulated_board.overlay

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
clock-frequency = <I2C_BITRATE_STANDARD>;
1414
#address-cells = <1>;
1515
#size-cells = <0>;
16-
reg = <0x100 4>;
16+
reg = <0x0 0x100 0 4>;
1717
};
1818
};
1919

tests/drivers/charger/sbs_charger/testcase.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ tests:
1515
platform_exclude:
1616
- qemu_cortex_a53
1717
- qemu_cortex_a53/qemu_cortex_a53/smp
18+
- qemu_max
19+
- qemu_max/qemu_max/smp
1820
- qemu_kvm_arm64
1921
- xenvm
2022
- xenvm/xenvm/gicv3
@@ -28,6 +30,8 @@ tests:
2830
platform_allow:
2931
- qemu_cortex_a53
3032
- qemu_cortex_a53/qemu_cortex_a53/smp
33+
- qemu_max
34+
- qemu_max/qemu_max/smp
3135
- qemu_kvm_arm64
3236
- xenvm
3337
- xenvm/xenvm/gicv3

0 commit comments

Comments
 (0)