diff options
| author | Ha Thach <[email protected]> | 2024-07-11 21:36:00 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-07-11 21:36:00 +0700 |
| commit | 65b3edbb091201c1b22dca9087a802e231824874 (patch) | |
| tree | 33e243f6b2dedf1c39a37dc2e7316d325e7e343b /examples/build_system | |
| parent | cb37a17ef7ed3dad86feb89e0fe2830e62a4346e (diff) | |
| parent | e251493a161b5a383fd7f8861e3bf7ea72bf872c (diff) | |
Merge pull request #2705 from hathach/v203-use-224kb
V203 use 224kb
Diffstat (limited to 'examples/build_system')
| -rw-r--r-- | examples/build_system/make/rules.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/build_system/make/rules.mk b/examples/build_system/make/rules.mk index 102c6db0c..f322dbae6 100644 --- a/examples/build_system/make/rules.mk +++ b/examples/build_system/make/rules.mk @@ -145,6 +145,12 @@ OPENOCD_WCH_OPTION ?= flash-openocd-wch: $(BUILD)/$(PROJECT).elf $(OPENOCD_WCH) $(OPENOCD_WCH_OPTION) -c init -c halt -c "flash write_image $<" -c reset -c exit +# --------------- wlink-rs ----------------- +# flash with https://github.com/ch32-rs/wlink +WLINK_RS ?= wlink +flash-wlink-rs: $(BUILD)/$(PROJECT).elf + $(WLINK_RS) flash $< + # --------------- dfu-util ----------------- DFU_UTIL_OPTION ?= -a 0 flash-dfu-util: $(BUILD)/$(PROJECT).bin |
