Skip to content

Commit 98f1821

Browse files
boards: fix ram size
fix ram size to be aligned with soc, fix some file layouts Signed-off-by: SoftwareArchitekt <info@andocs.biz>
1 parent 0475f7c commit 98f1821

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

boards/scdz/ch32v307evt/ch32v307evt-pinctrl.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@
1313
drive-push-pull;
1414
slew-rate = "max-speed-10mhz";
1515
};
16+
1617
group2 {
1718
pinmux = <USART1_RX_PA10_0>;
1819
bias-pull-up;
1920
};
2021
};
2122

22-
};
23+
};

boards/scdz/ch32v307evt/ch32v307evt.dts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,10 @@
3737
};
3838
buttons {
3939
compatible = "gpio-keys";
40-
4140
user_button0: sw0 {
42-
label = "User SW0";
43-
gpios = <&gpioa 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
44-
zephyr,code = <INPUT_KEY_0>;
41+
label = "User SW0";
42+
gpios = <&gpioa 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
43+
zephyr,code = <INPUT_KEY_0>;
4544
};
4645
};
4746

boards/scdz/ch32v307evt/ch32v307evt.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ arch: riscv
55
toolchain:
66
- cross-compile
77
- zephyr
8-
ram: 64
8+
ram: 32
99
flash: 256
1010
supported:
1111
- gpio

0 commit comments

Comments
 (0)