Skip to content

Commit

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

Signed-off-by: Fan YANG <[email protected]>
  • Loading branch information
helloeagleyang committed Apr 29, 2024
1 parent 9d4b2f8 commit a55f5c2
Show file tree
Hide file tree
Showing 4,468 changed files with 836,406 additions and 589,487 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
13 changes: 13 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# 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
- systemView component
- rtt lcd driver

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

## v1.5.0

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


## v1.4.1
- 修复:
- I2C开启DMA后传输出错的问题
Expand Down
56 changes: 1 addition & 55 deletions HPMicro-HPM6750EVK2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,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 @@ -950,59 +950,5 @@ example_projects:
source_path_offset: ''
target_path_offset: ''
files_and_folders: []
- project_name: webnet_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/webnet_demo
target_path_offset: ''
files_and_folders:
- .config
- .config.old
- .cproject
- .project
- .settings
- applications
- Kconfig
- makefile.targets
- packages
- 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: []

yaml_version: 3
4 changes: 2 additions & 2 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,4 +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.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ RT-Thread Studio BSP for HPM6750EVK2 Board
- uart_dma_demo
- usb_device_generic_hid
- usb_host_msc_udisk
- web_camera_demo
- webnet_demo
- web_camera_demo
3 changes: 1 addition & 2 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ HPM6750EVK2 开发板的 RT-Thread Studio 板级支持包
- uart_dma_demo
- usb_device_generic_hid
- usb_host_msc_udisk
- web_camera_demo
- webnet_demo
- web_camera_demo
52 changes: 44 additions & 8 deletions board/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -161,19 +161,16 @@ menu "On-chip Peripheral Drivers"
default n

select RT_USING_ETH
if BSP_USING_ETH
choice
prompt "ETH"
default BSP_USING_ETH1

if BSP_USING_ETH
config BSP_USING_ETH0
bool "Enable ETH0"
default y
select BSP_USING_ENET_PHY_RTL8211

config BSP_USING_ETH1
bool "Enable ETH1"
select BSP_USING_ENET_PHY_RTL8201
endchoice
default n
select BSP_USING_ENET_PHY_RTL8201
endif

menuconfig BSP_USING_SDXC
Expand Down Expand Up @@ -206,6 +203,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 @@ -309,6 +311,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 @@ -413,9 +416,42 @@ menu "On-chip Peripheral Drivers"
bool "Enable RGB TM070RDH13"
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 a55f5c2

Please sign in to comment.