Skip to content

Commit

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

Signed-off-by: Fan YANG <[email protected]>
  • Loading branch information
helloeagleyang committed Apr 29, 2024
1 parent 81d8f42 commit d080d96
Show file tree
Hide file tree
Showing 4,145 changed files with 807,591 additions and 561,480 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
11 changes: 11 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Change Log

## v1.5.0

- Integrated hpm_sdk v1.5.0
- Updated:
- usb stack switched to cherryUSB for usb samples
- Fixed:
- CAN sample read data error when enable RT_CAN_USING_HDR
- Added:
- added interrupt vector mode and preemptive mode
- systemView component

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

## v1.5.0

- 整合了hpm_sdk v1.5.0
- 更新:
- USB相关sample协议栈切换为cherryUSB
- 修复:
- CAN sample开启硬件过滤器读取数据错误的问题
- 新增:
- 增加中断向量模式和可抢占模式
- systemView组件

## v1.4.1
- 修复:
- I2C开启DMA后传输出错的问题
Expand Down
55 changes: 1 addition & 54 deletions HPMicro-HPM6300EVK.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,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 @@ -731,58 +731,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
- 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
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.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ RT-Thread Studio BSP for HPM6300EVK Board
- timer_demo
- uart_dma_demo
- usb_device_generic_hid
- usb_host_msc_udisk
- webnet_demo
- usb_host_msc_udisk
3 changes: 1 addition & 2 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ HPM6300EVK 开发板的 RT-Thread Studio 板级支持包
- timer_demo
- uart_dma_demo
- usb_device_generic_hid
- usb_host_msc_udisk
- webnet_demo
- usb_host_msc_udisk
34 changes: 31 additions & 3 deletions board/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,6 @@ menu "On-chip Peripheral Drivers"
default n
select RT_USING_HWTIMER if BSP_USING_GPTMR
if BSP_USING_GPTMR
config BSP_USING_GPTMR0
bool "Enable GPTMR0"
default n
config BSP_USING_GPTMR1
bool "Enable GPTMR1"
default n
Expand Down Expand Up @@ -200,6 +197,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 @@ -252,6 +250,36 @@ menu "On-chip Peripheral Drivers"
endif
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 d080d96

Please sign in to comment.