Skip to content

Commit

Permalink
dynamic: Adjust partition table for bootloader (app offset 0x10000)
Browse files Browse the repository at this point in the history
  • Loading branch information
xingrz committed Jan 23, 2023
1 parent 7121817 commit c8dd87c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
5 changes: 2 additions & 3 deletions config/boards/arm/hw75_dynamic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ HW-75 Dynamic

## 烧录

```sh
pyocd load --pack=Keil.STM32F4xx_DFP.2.16.0.pack --target stm32f405rg hw75_dynamic-zmk.hex
```
1.[Releases](https://github.com/xingrz/zmk-config_helloword_hw-75/releases/latest) 下载最新的固件;
2. 参考[固件更新说明](https://github.com/xingrz/zmk-config_helloword_hw-75/wiki/%E5%9B%BA%E4%BB%B6%E6%9B%B4%E6%96%B0-(%E6%89%A9%E5%B1%95))烧入固件。

## 二次开发

Expand Down
9 changes: 7 additions & 2 deletions config/boards/arm/hw75_dynamic/hw75_dynamic.dts
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,14 @@
#address-cells = <1>;
#size-cells = <1>;

code_partition: partition@0 {
bootloader_partition: partition@0 {
label = "bootloader";
reg = <0x00000000 DT_SIZE_K(64)>;
};

code_partition: partition@10000 {
label = "code_partition";
reg = <0x00000000 DT_SIZE_K(256)>;
reg = <0x00010000 DT_SIZE_K(256)>;
};

storage_partition: partition@e0000 {
Expand Down

0 comments on commit c8dd87c

Please sign in to comment.