HPM APPS is an upper layer application software development kit based on HPM SDK. It provides a variety of typical general-purpose application solutions, including middleware, components, services, etc., for users to use and evaluate.
Directory name | Description |
---|---|
<HPM_APP_BASE>/boards | Files for various development boards |
<HPM_APP_BASE>/components | Software components |
<HPM_APP_BASE>/docs | Document |
<HPM_APP_BASE>/middleware | Middleware |
<HPM_APP_BASE>/apps | Samples of various solutions |
<HPM_APP_BASE>/services | Software Services |
<HPM_APP_BASE>/tools | Tool files |
The versions of HPM APP and HPM SDK correspond one-to-one. To maintain version compatibility, the version number should be the same. For example:
Software Name | Version |
---|---|
hpm_sdk | 1.x.y |
hpm_apps | 1.x.y |
Recommend using the sdk_env environment on Windows to build the SES compilation and debugging project. In the SDK ENV tool, check Enable User Application Path and select the hpm_apps/apps directory, or choose the demo directory you need. It is recommended to use the former, as it can scan all demo files.
If you want to add some middleware from hpm_apps/middleware, please add code in demo CMakeLists.txt, suggest you add code before generate_ses_project
, for example:
add_subdirectory(../../.. hpm_apps/build_tmp)
generate_ses_project()
-
Local document: The HPM_APPS document can be compiled locally, and after successful compilation, the local document can be accessed through the following portals:
- <HPM_APP_BASE>>/docs/index.html
- <HPM_APP_BASE>>/docs/index_zh.html
-
Online documentation:
- hpm_apps github: https://github.com/hpmicro/hpm_apps
- hpm_sdk github: https://github.com/hpmicro/hpm_sdk
- sdk_env github: https://github.com/hpmicro/sdk_env
- sdk extra demo: https://github.com/hpmicro/hpm_sdk_extra
- openocd (hpmicro patched): https://github.com/hpmicro/riscv-openocd
- gnu gcc toolchain: https://github.com/hpmicro/riscv-gnu-toolchain