Skip to content

Commit

Permalink
update SDK to v1.4.0
Browse files Browse the repository at this point in the history
- update SDK to v1.4.0
- start_gui: support custom linker script

Signed-off-by: Ryan QIAN <jianghao.qian@hpmicro.com>
  • Loading branch information
jhqian committed Dec 28, 2023
1 parent 8113343 commit 73c6234
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [1.4.0] - 2023-12-29:
- update SDK to v1.4.0
- start_gui: support custom linker script

## [1.3.0] - 2023-09-28:
- update SDK to v1.3.0
- start_gui: support custom sample directory
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The tool is split to different sections according by different background color:

**Note: If custom board is used, the cfg file whose name is as same as the board will be searched as openocd board config file automatically in CMake generating process. If the file is not found, openocd will not add any board config file.**

3. Sample configuration: After selecting a board, the tool will filter samples by the yaml configuration and display the sample list by default. The tool also supports loading custom sample configuration. You need to select `Enable User Application Path` at first and then `User Applications` will be enabled. Then you need to select a sample which you want to search. The tool wiil search `current folder and all of the subfolders`. When `CMakeLists.txt` is found, the tool will search whether `hpm-sdk` is invoked and add the sample to the list. After selecting a sample, the tool will find all the build types supported by the sample and add them to the list.
3. Sample configuration: After selecting a board, the tool will filter samples by the yaml configuration and display the sample list by default. The tool also supports loading custom sample configuration. You need to select `Enable User Application Path` at first and then `User Applications` will be enabled. Then you need to select a sample which you want to search. The tool wiil search `current folder and all of the subfolders`. When `CMakeLists.txt` is found, the tool will search whether `hpm-sdk` is invoked and add the sample to the list. After selecting a sample, the tool will find all the build types supported by the sample and add them to the list. When `Enable User GCC Linker File` is not selected and switching the build type, the linker script for the build type will be added to the input box automatically. If the option is selected, you need to add the required linker script manually.

4. Output configuration: You can custom the generation path in output section. The tool will use `${sample}/${board}_${build_type}` as the generation path by default. What's more, the tool supports parent directory which you can generate different projects in. You need to select `Use Same Parent Directory` at first and then select a parent directory. After that, all the projects will be generated to the parent directory. `Build Folder` is the project folder whose name will be generated as `${sample}_${board}_${build_type}` automatically. You can also change the folder name manually.

Expand Down
2 changes: 1 addition & 1 deletion README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

**注意:如果使用自定义 board,CMake 构建过程会尝试在自定义目录下搜索与 board 目录同名的 .cfg 文件作为板级 openocd 的配置文件,若无此文件,openocd 将不会添加任何板级配置文件**

3. Sample 设置:选择了开发板后,工具会根据开发板的yaml配置文件自动筛选符合条件的 sample。默认情况下,会展示`hpm_sdk/samples` 文件夹下经过筛选的sample。同时,工具也支持加载用户自定义的 sample 文件夹。用户需要首先勾选 `Enable User Application Path` 复选框启用 `User Applications` 搜索功能,然后选择想要搜索的 sample 文件夹,软件会搜索`当前文件夹`以及`所有子文件夹`,当查找到文件夹下存在 `CMakeLists.txt`时,会查找当前`CMakeLists.txt`是否调用了 `hpm-sdk`,符合条件的会识别为 sample 文件夹并加入到列表项中。当选择了 sample 之后,会自动识别当前 sample 支持的 build type 类型并加入到列表项中;
3. Sample 设置:选择了开发板后,工具会根据开发板的yaml配置文件自动筛选符合条件的 sample。默认情况下,会展示`hpm_sdk/samples` 文件夹下经过筛选的sample。同时,工具也支持加载用户自定义的 sample 文件夹。用户需要首先勾选 `Enable User Application Path` 复选框启用 `User Applications` 搜索功能,然后选择想要搜索的 sample 文件夹,软件会搜索`当前文件夹`以及`所有子文件夹`,当查找到文件夹下存在 `CMakeLists.txt`时,会查找当前`CMakeLists.txt`是否调用了 `hpm-sdk`,符合条件的会识别为 sample 文件夹并加入到列表项中。当选择了 sample 之后,会自动识别当前 sample 支持的 build type 类型并加入到列表项中;`Enable User GCC Linker File` 未勾选时,build type 切换时会自动将当前 build type 使用的链接脚本加入到对应的输入框中,当勾选了该选项后,用户需要手动添加需要的链接脚本;

4. Output 设置:用户可以在 Output 区域定义工程的构建生成路径。默认情况下,项目会生成在 `${sample}/${board}_${build_type}` 文件夹。同时,工具支持选择一个父文件夹,将多个项目生成在当前父文件夹下。该功能需要用户勾选 `Use Same Parent Directory` 复选框,然后选择一个父文件夹,即 `Parent Directory`,之后构建生成的项目均会保存在当前文件夹下,`Build Folder` 为项目文件夹名称,工具会采用`${sample}_${board}_${build_type}`规则自动生成文件夹名称,用户也可以手动修改文件夹名称;

Expand Down
Binary file added doc/HPM5301EVKLite_UG_V1.0.pdf
Binary file not shown.
Binary file added doc/HPM6800EVK_UG_V1.0.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion hpm_sdk
Submodule hpm_sdk updated 2208 files
Binary file modified tools/project_generator/proj_gen.exe
Binary file not shown.

0 comments on commit 73c6234

Please sign in to comment.