上传N32H76X和N32H49X和N32H47X_48X驱动库软件包索引#1991
Open
OnlyoutzZ wants to merge 1 commit intoRT-Thread:masterfrom
Open
上传N32H76X和N32H49X和N32H47X_48X驱动库软件包索引#1991OnlyoutzZ wants to merge 1 commit intoRT-Thread:masterfrom
OnlyoutzZ wants to merge 1 commit intoRT-Thread:masterfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
English: This PR adds RT-Thread package index entries for N32 HAL SDK drivers (STD + CMSIS) for N32H7xx, N32H49x, and N32H47x/48x, and wires them into the HAL-SDK Kconfig menus so they can be selected via menuconfig.
中文:该 PR 为 N32 HAL SDK 驱动(STD + CMSIS)新增软件包索引(N32H7xx、N32H49x、N32H47x/48x),并将其接入 HAL-SDK 的 Kconfig 菜单,便于在 menuconfig 中选择使用。
Changes:
- Add 6 new N32 driver package index entries (package.json + Kconfig) / 新增 6 个 N32 驱动包索引(package.json + Kconfig)
- Add
peripherals/hal-sdk/n32/Kconfigto source all N32 driver packages / 新增peripherals/hal-sdk/n32/Kconfig并引用所有 N32 驱动包 - Source the new N32 menu from
peripherals/hal-sdk/Kconfig/ 在peripherals/hal-sdk/Kconfig中接入 N32 菜单
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 13 comments.
Show a summary per file
| File | Description |
|---|---|
| peripherals/hal-sdk/n32/n32h7xx_std_driver/package.json | Adds N32H7xx STD driver package metadata / 新增 N32H7xx STD 驱动包元数据 |
| peripherals/hal-sdk/n32/n32h7xx_std_driver/Kconfig | Adds menuconfig for N32H7xx STD driver / 新增 N32H7xx STD 驱动配置项 |
| peripherals/hal-sdk/n32/n32h7xx_cmsis_driver/package.json | Adds N32H7xx CMSIS driver package metadata / 新增 N32H7xx CMSIS 驱动包元数据 |
| peripherals/hal-sdk/n32/n32h7xx_cmsis_driver/Kconfig | Adds menuconfig for N32H7xx CMSIS driver / 新增 N32H7xx CMSIS 驱动配置项 |
| peripherals/hal-sdk/n32/n32h49x_std_driver/package.json | Adds N32H49x STD driver package metadata / 新增 N32H49x STD 驱动包元数据 |
| peripherals/hal-sdk/n32/n32h49x_std_driver/Kconfig | Adds menuconfig for N32H49x STD driver / 新增 N32H49x STD 驱动配置项 |
| peripherals/hal-sdk/n32/n32h49x_cmsis_driver/package.json | Adds N32H49x CMSIS driver package metadata / 新增 N32H49x CMSIS 驱动包元数据 |
| peripherals/hal-sdk/n32/n32h49x_cmsis_driver/Kconfig | Adds menuconfig for N32H49x CMSIS driver / 新增 N32H49x CMSIS 驱动配置项 |
| peripherals/hal-sdk/n32/n32h47x_48x_std_driver/package.json | Adds N32H47x/48x STD driver package metadata / 新增 N32H47x/48x STD 驱动包元数据 |
| peripherals/hal-sdk/n32/n32h47x_48x_std_driver/Kconfig | Adds menuconfig for N32H47x/48x STD driver / 新增 N32H47x/48x STD 驱动配置项 |
| peripherals/hal-sdk/n32/n32h47x_48x_cmsis_driver/package.json | Adds N32H47x/48x CMSIS driver package metadata / 新增 N32H47x/48x CMSIS 驱动包元数据 |
| peripherals/hal-sdk/n32/n32h47x_48x_cmsis_driver/Kconfig | Adds menuconfig for N32H47x/48x CMSIS driver / 新增 N32H47x/48x CMSIS 驱动配置项 |
| peripherals/hal-sdk/n32/Kconfig | Introduces “N32 Drivers” menu and sources the N32 packages / 新增 “N32 Drivers” 菜单并引用各包 |
| peripherals/hal-sdk/Kconfig | Sources the new N32 HAL-SDK menu / 引用新增的 N32 HAL-SDK 菜单 |
Comment on lines
+4
to
+12
| bool "N32H7xx CMSIS driver package" | ||
| select PKG_USING_CMSIS_CORE | ||
| default n | ||
|
|
||
| if PKG_USING_N32H7XX_CMSIS_DRIVER | ||
|
|
||
| config PKG_N32H7XX_CMSIS_DRIVER_PATH | ||
| string | ||
| default "/packages/peripherals/hal-sdk/n32/n32h7xx_cmsis_driver" |
|
|
||
| config PKG_N32H7XX_CMSIS_DRIVER_PATH | ||
| string | ||
| default "/packages/peripherals/hal-sdk/n32/n32h7xx_cmsis_driver" |
Comment on lines
+4
to
+12
| bool "N32H49x CMSIS driver package" | ||
| select PKG_USING_CMSIS_CORE | ||
| default n | ||
|
|
||
| if PKG_USING_N32H49X_CMSIS_DRIVER | ||
|
|
||
| config PKG_N32H49X_CMSIS_DRIVER_PATH | ||
| string | ||
| default "/packages/peripherals/hal-sdk/n32/n32h49x_cmsis_driver" |
|
|
||
| config PKG_N32H49X_CMSIS_DRIVER_PATH | ||
| string | ||
| default "/packages/peripherals/hal-sdk/n32/n32h49x_cmsis_driver" |
Comment on lines
+3
to
+6
| menuconfig PKG_USING_N32H47X_48X_CMSIS_DRIVER | ||
| bool "N32H47x_48x CMSIS driver package" | ||
| select PKG_USING_CMSIS_CORE | ||
| default n |
Comment on lines
+2
to
+27
| "name": "n32h49x_std_driver", | ||
| "description": "N32H49X STD driver package", | ||
| "description_zh": "N32H49X STD 驱动包", | ||
| "enable": "PKG_USING_N32H49X_STD_DRIVER", | ||
| "keywords": [ | ||
| "n32h49x_std_driver" | ||
| ], | ||
| "category": "peripherals", | ||
| "author": { | ||
| "name": "RT-Thread-packages", | ||
| "email": "package_team@rt-thread.com", | ||
| "github": "RT-Thread-packages" | ||
| }, | ||
| "license": "Apache-2.0", | ||
| "repository": "https://github.com/RT-Thread-packages/n32h49x_std_driver", | ||
| "icon": "unknown", | ||
| "homepage": "https://github.com/RT-Thread-packages/n32h49x_std_driver#readme", | ||
| "doc": "unknown", | ||
| "site": [ | ||
| { | ||
| "version": "latest", | ||
| "URL": "https://github.com/RT-Thread-packages/n32h49x_std_driver.git", | ||
| "filename": "", | ||
| "VER_SHA": "master" | ||
| } | ||
| ] |
Comment on lines
+22
to
+26
| "version": "latest", | ||
| "URL": "https://github.com/RT-Thread-packages/n32h49x_cmsis_driver.git", | ||
| "filename": "", | ||
| "VER_SHA": "master" | ||
| } |
Comment on lines
+2
to
+27
| "name": "n32h47x_48x_std_driver", | ||
| "description": "N32H47X_48X STD driver package", | ||
| "description_zh": "N32H47X_48X STD 驱动包", | ||
| "enable": "PKG_USING_N32H47X_48X_STD_DRIVER", | ||
| "keywords": [ | ||
| "n32h47x_48x_std_driver" | ||
| ], | ||
| "category": "peripherals", | ||
| "author": { | ||
| "name": "RT-Thread-packages", | ||
| "email": "package_team@rt-thread.com", | ||
| "github": "RT-Thread-packages" | ||
| }, | ||
| "license": "Apache-2.0", | ||
| "repository": "https://github.com/RT-Thread-packages/n32h47x_48x_std_driver", | ||
| "icon": "unknown", | ||
| "homepage": "https://github.com/RT-Thread-packages/n32h47x_48x_std_driver#readme", | ||
| "doc": "unknown", | ||
| "site": [ | ||
| { | ||
| "version": "latest", | ||
| "URL": "https://github.com/RT-Thread-packages/n32h47x_48x_std_driver.git", | ||
| "filename": "", | ||
| "VER_SHA": "master" | ||
| } | ||
| ] |
Comment on lines
+22
to
+26
| "version": "latest", | ||
| "URL": "https://github.com/RT-Thread-packages/n32h47x_48x_cmsis_driver.git", | ||
| "filename": "", | ||
| "VER_SHA": "master" | ||
| } |
| source "$PKGS_DIR/packages/peripherals/hal-sdk/gd32/Kconfig" | ||
| source "$PKGS_DIR/packages/peripherals/hal-sdk/hpmicro/Kconfig" | ||
| source "$PKGS_DIR/packages/peripherals/hal-sdk/ft32/Kconfig" | ||
| source "$PKGS_DIR/packages/peripherals/hal-sdk/n32/Kconfig" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
上传N32H76X和N32H49X和N32H47X_48X驱动库软件包索引