Skip to content

Commit

Permalink
RT-Thread BSP v1.5.0 release for HPM6750EVKMINI
Browse files Browse the repository at this point in the history
- integrated hpm_sdk v1.5.0
- added systemview component
- added support for preemptive & vectored interrupt mode
- optmized ethernet phy support
- optimized pin driver
- switched usb stack to cherryusb

Signed-off-by: Fan YANG <[email protected]>
  • Loading branch information
helloeagleyang committed Apr 29, 2024
1 parent c5a8747 commit 25685c7
Show file tree
Hide file tree
Showing 7,245 changed files with 1,940,658 additions and 1,671,460 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
15 changes: 15 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Change Log


## v1.5.0

- Integrated hpm_sdk v1.5.0
- Updated:
- usb stack switched to cherryUSB for usb samples
- ETH PHY abstraction layer multi-instance support and optimization
- Fixed:
- CAN sample read data error when enable RT_CAN_USING_HDR
- Added:
- added interrupt vector mode and preemptive mode
- pwm sample
- systemView component
- rtt lcd driver

## 1.4.1
- Fixed:
- Transmission error while enabling DMA in I2C driver
Expand Down
15 changes: 15 additions & 0 deletions ChangeLog_zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# 更新


## v1.5.0

- 整合了hpm_sdk v1.5.0
- 更新:
- USB相关sample协议栈切换为cherryUSB
- ETH PHY 抽象层多实例支持和优化
- 修复:
- CAN sample开启硬件过滤器读取数据错误的问题
- 新增:
- 增加中断向量模式和可抢占模式
- pwm sample
- systemView组件
- rtt lcd driver驱动

## v1.4.1
- 修复:
- I2C开启DMA后传输出错的问题
Expand Down
54 changes: 53 additions & 1 deletion HPMicro-HPM6750EVKMINI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ features_zh:

pkg_type: Board_Support_Packages
pkg_vendor: HPMicro
pkg_version: 1.4.1
pkg_version: 1.5.0

template_projects:
- project_name: blink_led
Expand Down Expand Up @@ -532,6 +532,58 @@ example_projects:
source_path_offset: ''
target_path_offset: ''
files_and_folders: []
- project_name: pwm_demo
project_description: create this project if user choose rt-thread project
project_type: rt-thread|@full|@5.0.2
builtin_files:
- source_path_offset: projects/pwm_demo
target_path_offset: ''
files_and_folders:
- .config
- .config.old
- .cproject
- .project
- .settings
- applications
- Kconfig
- README.md
- rtconfig.h
- rtconfig.py
- rtconfig_preinc.h
- SConscript
- SConstruct
- source_path_offset: 'common'
target_path_offset: ''
files_and_folders:
- libraries
- rt-thread
- startup
- source_path_offset: ''
target_path_offset: ''
files_and_folders:
- board
external_files:
- package_name: RISC-V-GCC-RV32
package_type: ToolChain_Support_Packages
package_vendor: RISC-V
package_version: '2022-04-12'
source_path_offset: ''
target_path_offset: ''
files_and_folders: []
- package_name: OpenOCD-HPMicro
package_type: Debugger_Support_Packages
package_vendor: HPMicro
package_version: '0.4.0'
source_path_offset: ''
target_path_offset: ''
files_and_folders: []
- package_name: J-Link
package_type: Debugger_Support_Packages
package_vendor: SEGGER
package_version: 'v7.94g'
source_path_offset: ''
target_path_offset: ''
files_and_folders: []
- project_name: pwmbeep_demo
project_description: create this project if user choose rt-thread project
project_type: rt-thread|@full|@5.0.2
Expand Down
5 changes: 2 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BSD 3-Clause "New" or "Revised" License
https://spdx.org/licenses/BSD-3-Clause.html

Copyright (c) 2021-2023, HPMicro. All rights reserved.
Copyright (c) 2021-2024, HPMicro. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Expand All @@ -27,5 +27,4 @@ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

POSSIBILITY OF SUCH DAMAGE.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ RT-Thread Studio BSP for HPM6750EVKMINI Board
- ethernet_ptp_slave_demo
- flashdb_demo
- lv_demo_widgets
- pwm_demo
- pwmbeep_demo
- rw007_wifi
- sdcard_demo
Expand Down
1 change: 1 addition & 0 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ HPM6750EVKMINI 开发板的 RT-Thread Studio 板级支持包
- ethernet_ptp_slave_demo
- flashdb_demo
- lv_demo_widgets
- pwm_demo
- pwmbeep_demo
- rw007_wifi
- sdcard_demo
Expand Down
41 changes: 41 additions & 0 deletions board/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,11 @@ menu "On-chip Peripheral Drivers"
menuconfig BSP_USING_LCD
bool "Enable LCD"
default n
if BSP_USING_LCD
config BSP_USING_LCD_ISR
bool "Enable LCD interrupt"
default n
endif

menuconfig BSP_USING_LVGL
bool "Enable LVGL"
Expand Down Expand Up @@ -317,6 +322,7 @@ menu "On-chip Peripheral Drivers"
default n
config BSP_USING_USB_HOST
bool "Enable USB HOST"
select RT_USING_CACHE
default n
endif

Expand Down Expand Up @@ -422,8 +428,43 @@ menu "On-chip Peripheral Drivers"
default y
endif

menuconfig BSP_USING_RTT_LCD_DRIVER
bool "Enable RTT LCD Driver"
select BSP_USING_LCD
default n

endmenu

menu "Segger SystemView Config"
config BSP_USING_SYSTEMVIEW
select RT_USING_SYSTEMVIEW
select RT_USING_LEGACY
bool "Enable Segger SystemView"
default n

if BSP_USING_SYSTEMVIEW
menuconfig BSP_SYSTEMVIEW_RTT_SECTION
bool "enable SystemView RTT section"
default y
if BSP_SYSTEMVIEW_RTT_SECTION
config SEGGER_RTT_SECTION
string "segger rtt section"
default ".noncacheable.bss"
config SEGGER_RTT_BUFFER_SECTION
string "segger rtt buffer section"
default ".noncacheable.bss"
config SEGGER_SYSVIEW_SECTION
string "segger sysview section"
default ".noncacheable.bss"
endif
source "$RTT_DIR/../libraries/misc/systemview/Kconfig"
endif
endmenu

menu "Hpmicro Interrupt Config"
config HPM_USING_VECTOR_PREEMPTED_MODE
bool "Enable Vector and Preempted Mode"
default n
endmenu

endmenu
Loading

0 comments on commit 25685c7

Please sign in to comment.