contrib/loaders/flash/hpmicro: add hpmicro device xpi support

- add xpi flash support for hpmicro devices

Change-Id: I3531fdf20a34561c6f3fe6ac0b9af988d483aae7
Signed-off-by: Ryan QIAN <jianghao.qian@hpmicro.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8695
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
Ryan QIAN
2025-01-07 15:09:18 +08:00
committed by Tomas Vanek
parent 41e165eee2
commit 8e11797618
12 changed files with 1374 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
The loader relies on the romapi provided by HPMicro devices.
- hpm_common.h and all the hpm_romapi_*.c/h are reused from hpm_sdk
(v1.9.0 https://github.com/hpmicro/hpm_sdk/releases).
Due to different coding rules, these source code needs to be updated
accordingly to pass the coding rule check for openocd.