Develop/nn#10
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR performs a small cleanup pass across L2_Core by simplifying its documentation structure and removing redundant #include directives in several HAL source files.
Changes:
- Removes the “实现状态” documentation section and renumbers subsequent headings in
L2_Core/readme.md. - Removes duplicated
#include "../../utils/inc/ek_assert.h"lines across multiple HAL modules. - Removes an unused
ek_export.hinclude fromek_hal_gpio.c.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| L2_Core/readme.md | Deletes the “实现状态” section and renumbers the remaining documentation headings. |
| L2_Core/hal/src/ek_hal_uart.c | Removes a duplicate ek_assert.h include. |
| L2_Core/hal/src/ek_hal_tim.c | Removes a duplicate ek_assert.h include. |
| L2_Core/hal/src/ek_hal_tick.c | Removes a duplicate ek_assert.h include. |
| L2_Core/hal/src/ek_hal_spi.c | Removes a duplicate ek_assert.h include. |
| L2_Core/hal/src/ek_hal_ltdc.c | Removes a duplicate ek_assert.h include. |
| L2_Core/hal/src/ek_hal_i2c.c | Removes a duplicate ek_assert.h include. |
| L2_Core/hal/src/ek_hal_gpio.c | Removes an unused include (ek_export.h). |
| L2_Core/hal/src/ek_hal_dma2d.c | Removes a duplicate ek_assert.h include. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+194
to
+196
| ## 5. 移植层设计(port/) | ||
|
|
||
| ### 6.1 设备表驱动模式 | ||
| ### 5.1 设备表驱动模式 |
There was a problem hiding this comment.
After renumbering this section to ## 5. 移植层设计(port/) / ### 5.1 ..., the next subsection header later in this section still reads ### 6.2 EK_EXPORT 自动注册, which makes the numbering inconsistent. Please renumber that subsection to ### 5.2 ... (and confirm subsequent subsection numbers are consistent).
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.
No description provided.