Skip to content

Commit

Permalink
RT-Thread BSP v1.0.0 for HPM6300EVK
Browse files Browse the repository at this point in the history
    - Integrated HPM_SDK v1.0.0
    - Upgraded RT-Thread to V4.1.0
    - Added audio example, ethernet exmaple, usb examples

Signed-off-by: Fan YANG <[email protected]>
  • Loading branch information
helloeagleyang committed Jan 31, 2023
1 parent 9d7ff2d commit 6d8137a
Show file tree
Hide file tree
Showing 4,604 changed files with 489,020 additions and 158,386 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
17 changes: 17 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Change Log

## v1.0.0
- Integrated the SDK v1.0.0 release
- Note:
- The doc, middleware, cmake, samples foler were removed
- Updated:
- Improved the drv_uart_v2
- Implemented audio driver
- Migrated to rt-thread v4.1.0
- Added support for JLink Probe
- Added examples:
- ethernet_demo
- ethernet_ptp_master_demo
- ethernet_ptp_slave_demo
- usb_device_generic_hid
- usb_host_msc_udisk


## v0.7.0
- Integrated the SDK v0.12.1 release
- Note:
Expand Down
20 changes: 19 additions & 1 deletion ChangeLog_zh.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# 更新


## 1.0.0
- 整合了SDK v1.0.0
- 注:
- SDK根目录下的doc, middleware,samples,cmake目录被删除
- 更新:
- 完善了drv_uart_v2驱动
- 实现了audio驱动
- 迁移到rt-thread v4.1.0
- 增加了对JLink调试器的支持
- 增加了如下示例:
- ethernet_demo
- ethernet_ptp_master_demo
- ethernet_ptp_slave_demo
- usb_device_generic_hid
- usb_host_msc_udisk


## 0.7.0
- 整合了SDK v0.12.1
- 注:
Expand All @@ -19,4 +37,4 @@
- sdcard_demo
- flashdb_demo
- can_example
- adc_example
- adc_example
245 changes: 236 additions & 9 deletions HPMicro-HPM6300EVK.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ features_zh:
- '调试接口: 板载FT2232'
pkg_type: Board_Support_Packages
pkg_vendor: HPMicro
pkg_version: 0.7.0
pkg_version: 1.0.0

template_projects:
- project_name: blink_led
project_description: create this project if user choose rt-thread project
project_type: rt-thread|@full|@4.0.5
project_type: rt-thread|@full|@4.1.0
builtin_files:
- source_path_offset: projects/blink_led
target_path_offset: ''
Expand Down Expand Up @@ -99,7 +99,7 @@ template_projects:
example_projects:
- project_name: blink_led
project_description: create this project if user choose rt-thread project
project_type: rt-thread|@full|@4.0.5
project_type: rt-thread|@full|@4.1.0
builtin_files:
- source_path_offset: projects/blink_led
target_path_offset: ''
Expand Down Expand Up @@ -142,7 +142,7 @@ example_projects:
files_and_folders: []
- project_name: flashdb_demo
project_description: create this project if user choose rt-thread project
project_type: rt-thread|@full|@4.0.5
project_type: rt-thread|@full|@4.1.0
builtin_files:
- source_path_offset: projects/flashdb_demo
target_path_offset: ''
Expand Down Expand Up @@ -187,7 +187,7 @@ example_projects:

- project_name: timer_demo
project_description: create this project if user choose rt-thread project
project_type: rt-thread|@full|@4.0.5
project_type: rt-thread|@full|@4.1.0
builtin_files:
- source_path_offset: projects/timer_demo
target_path_offset: ''
Expand Down Expand Up @@ -231,7 +231,7 @@ example_projects:

- project_name: sdcard_demo
project_description: create this project if user choose rt-thread project
project_type: rt-thread|@full|@4.0.5
project_type: rt-thread|@full|@4.1.0
builtin_files:
- source_path_offset: projects/sdcard_demo
target_path_offset: ''
Expand Down Expand Up @@ -275,7 +275,7 @@ example_projects:

- project_name: can_example
project_description: create this project if user choose rt-thread project
project_type: rt-thread|@full|@4.0.5
project_type: rt-thread|@full|@4.1.0
builtin_files:
- source_path_offset: projects/can_example
target_path_offset: ''
Expand Down Expand Up @@ -319,7 +319,7 @@ example_projects:

- project_name: uart_dma_demo
project_description: create this project if user choose rt-thread project
project_type: rt-thread|@full|@4.0.5
project_type: rt-thread|@full|@4.1.0
builtin_files:
- source_path_offset: projects/uart_dma_demo
target_path_offset: ''
Expand Down Expand Up @@ -363,7 +363,7 @@ example_projects:

- project_name: adc_example
project_description: create this project if user choose rt-thread project
project_type: rt-thread|@full|@4.0.5
project_type: rt-thread|@full|@4.1.0
builtin_files:
- source_path_offset: projects/adc_example
target_path_offset: ''
Expand Down Expand Up @@ -405,4 +405,231 @@ example_projects:
target_path_offset: ''
files_and_folders: []

- project_name: ethernet_ptp_master_demo
project_description: create this project if user choose rt-thread project
project_type: rt-thread|@full|@4.1.0
builtin_files:
- source_path_offset: projects/ethernet_ptp_master_demo
target_path_offset: ''
files_and_folders:
- applications
- Kconfig
- rtconfig.h
- rtconfig.py
- SConscript
- SConstruct
- .cproject
- .project
- makefile.targets
- .settings
- .config
- packages
- 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.3.0
source_path_offset: ''
target_path_offset: ''
files_and_folders: []

- project_name: ethernet_ptp_slave_demo
project_description: create this project if user choose rt-thread project
project_type: rt-thread|@full|@4.1.0
builtin_files:
- source_path_offset: projects/ethernet_ptp_slave_demo
target_path_offset: ''
files_and_folders:
- applications
- Kconfig
- rtconfig.h
- rtconfig.py
- SConscript
- SConstruct
- .cproject
- .project
- makefile.targets
- .settings
- .config
- packages
- 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.3.0
source_path_offset: ''
target_path_offset: ''
files_and_folders: []

- project_name: ethernet_demo
project_description: create this project if user choose rt-thread project
project_type: rt-thread|@full|@4.1.0
builtin_files:
- source_path_offset: projects/ethernet_demo
target_path_offset: ''
files_and_folders:
- applications
- Kconfig
- rtconfig.h
- rtconfig.py
- SConscript
- SConstruct
- .cproject
- .project
- makefile.targets
- .settings
- .config
- packages
- 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.3.0
source_path_offset: ''
target_path_offset: ''
files_and_folders: []


- project_name: usb_host_msc_udisk
project_description: create this project if user choose rt-thread project
project_type: rt-thread|@full|@4.1.0
builtin_files:
- source_path_offset: projects/usb_host_msc_udisk
target_path_offset: ''
files_and_folders:
- applications
- Kconfig
- rtconfig.h
- rtconfig.py
- SConscript
- SConstruct
- .cproject
- .project
- makefile.targets
- .settings
- .config
- packages
- 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.3.0
source_path_offset: ''
target_path_offset: ''
files_and_folders: []

- project_name: usb_device_generic_hid
project_description: create this project if user choose rt-thread project
project_type: rt-thread|@full|@4.1.0
builtin_files:
- source_path_offset: projects/usb_device_generic_hid
target_path_offset: ''
files_and_folders:
- applications
- Kconfig
- rtconfig.h
- rtconfig.py
- SConscript
- SConstruct
- .cproject
- .project
- makefile.targets
- .settings
- .config
- packages
- 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.3.0
source_path_offset: ''
target_path_offset: ''
files_and_folders: []


yaml_version: 3
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
# rtt-bsp-hpm6300evk

RT-Thread Studio BSP for HPM6300EVK Board

## Supported examples

***

- blink_led
- uart_dma_demo
- timer_demo
- sdcard_demo
- flashdb_demo
- can_example
- adc_example
- Users need to provide valid voltage to ADC1 IN7 pin(J26 Pin5 on HPM6300EVK) first, then runs the adc demo, the sampled voltage will be printed out by the demo via the console UART periodically.
- Valid voltage range is [0V, 3.3V], make sure the input voltage is in valid range, otherwise the SoC may be demaged.
- Users need to provide valid voltage to ADC1 IN7 pin(J26 Pin5 on HPM6300EVK) first, then runs the adc demo, the sampled voltage will be printed out by the demo via the console UART periodically.
- Valid voltage range is [0V, 3.3V], make sure the input voltage is in valid range, otherwise the SoC may be demaged.
- ethernet_demo
- ethernet_ptp_master_demo
- ethernet_ptp_slave_demo
- usb_device_generic_hid
- usb_host_msc_udisk
5 changes: 5 additions & 0 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ HPM6300EVK 开板的 RT-Thread Studio 板级支持包
- adc_example
- demo运行前需要给ADC1 IN7引脚(插件J26 Pin5)一个输入电压,adc demo会通过控制台打印采样到的电压值
- 输入电压范围0-3.3v,超出范围可能会损坏芯片
- ethernet_demo
- ethernet_ptp_master_demo
- ethernet_ptp_slave_demo
- usb_device_generic_hid
- usb_host_msc_udisk
Loading

0 comments on commit 6d8137a

Please sign in to comment.