Skip to content

Commit

Permalink
RT-Thread BSP v1.4.0 for HPM6300EVK
Browse files Browse the repository at this point in the history
- integrated hpm_sdk v1.4.0
- integrated rt-thread v5.0.2
- driver updates & bugfixes
- added new examples

Signed-off-by: Fan YANG <[email protected]>
  • Loading branch information
helloeagleyang committed Jan 29, 2024
1 parent bc18113 commit 9b0b861
Show file tree
Hide file tree
Showing 2,452 changed files with 1,058,184 additions and 817,991 deletions.
17 changes: 17 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Declare files that will always have LF line endings on checkout.
*.cpp text eol=lf
*.h text eol=lf
*.c text eol=lf
*.hpp text eol=lf
*.S text eol=lf
*.s text eol=lf
*.cmake text eol=lf
SConcript text eol=lf
SConstruct text eol=lf
*.ld text eol=lf
*.icf text eol=lf
*.sh text eol=lf
*.py text eol=lf
Kconfig text eol=lf
*.template text eol=lf
*.yaml text eol=lf
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,9 @@ dkms.conf
# Scons cache
*.dbsqlite

.vscode
# Vim cache
*.swp

#dir
.vscode
.idea
127 changes: 74 additions & 53 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,82 +1,103 @@
# Change Log

## v1.4.0

- Integrated hpm_sdk v1.4.0
- Upgraded RT-Thread to v5.0.2
- Updated:
- Improved SPI driver
- Improved I2C driver
- Added support for `rt_pin_get` API
- Unified the ethernet phy driver
- Improved the i2s driver
- Enabled retention mode for battery domain in RTC driver
- Fixed:
- Fixed the mismatch data type issue for return value of API in `pwm` driver
- Added examples:
- webnet_demo

## v1.3.0

- Integrated hpm_sdk v1.3.0
- Note:
- the docs, middleware, scripts, samples folder in SDK root directory were removed
- Note:
- the docs, middleware, scripts, samples folder in SDK root directory were removed
- Updated:
- Added SVD support
- Added hardare filter support to `CAN` driver
- Added hardware filter support to `CAN` driver
- Disable PWM invert output by default
- Fixed:
- elf file generated by RT-Thread Studio cannot be recognized by Ozone properly
- online package `i2c tools` cannot work
- ethernet may fail to work when network storm happened
- audio channel control may be unexepcted if i2s overflow/underflow happened
- compiling error if `ADC12` is enabled
- GPIO cannot read back pin level correctly if it is configured as Open-Drain Pull-up mode
- Fixed:
- elf file generated by RT-Thread Studio cannot be recognized by Ozone properly
- online package `i2c tools` cannot work
- ethernet may fail to work when network storm happened
- audio channel control may be unexpected if i2s overflow/underflow happened
- compiling error if `ADC12` is enabled
- GPIO cannot read back pin level correctly if it is configured as Open-Drain Pull-up mode

## v1.2.0

- Integrated hpm_sdk v1.2.0
- Note:
- the docs, middleware, scripts, samples folder in SDK root directory were removed
- Note:
- the docs, middleware, scripts, samples folder in SDK root directory were removed
- Updated:
- Upgraded rt-thread to v5.0.1
- Added `README.md` for all samples
- Added UART RXFIFO timeout interrupt support
- Added `flash_release` build and `ram_release` build
- Fixed:
- SD card performance is slow
- Uart lost data when working in low baudrate
- Fixed:
- SD card performance is slow
- Uart lost data when working in low baudrate

## v1.1.0

- Integrated hpm_sdk v1.1.0
- Note:
- the docs, middleware, scripts, samples folder in SDK root directory were removed
- Note:
- the docs, middleware, scripts, samples folder in SDK root directory were removed
- Fixed:
- typos in the drv_i2c.c
- hw_timer cannot work due to SDK driver update
- RT-Thread Studio project compiling error after enabling C++ support
- iperf performance is low if working as client mode
- ethernet throughput is not optimized
- adc driver may return incorrect value
- pwm channel may not work as expected
- uart_dma_demo doesn't work
- eMMC to TF card doesn't work
- typos in the drv_i2c.c
- hw_timer cannot work due to SDK driver update
- RT-Thread Studio project compiling error after enabling C++ support
- iperf performance is low if working as client mode
- ethernet throughput is not optimized
- adc driver may return incorrect value
- pwm channel may not work as expected
- uart_dma_demo doesn't work
- eMMC to TF card doesn't work

## 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

- 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:
- The doc, middleware, cmake, samples folder were removed
- Fixed:
- SD card multi-block read/write issue
- Note:
- The doc, middleware, cmake, samples folder were removed
- Fixed:
- SD card multi-block read/write issue

## v0.6.0

- Integrated the SDK v0.11.0 release
- Note:
- The docs folder in SDK root directory were removed
- Note:
- The docs folder in SDK root directory were removed
- Added examples:
- blink_led
- uart_dma_demo
- timer_demo
- sdcard_demo
- flashdb_demo
- can_example
- adc_example
- blink_led
- uart_dma_demo
- timer_demo
- sdcard_demo
- flashdb_demo
- can_example
- adc_example
127 changes: 72 additions & 55 deletions ChangeLog_zh.md
Original file line number Diff line number Diff line change
@@ -1,85 +1,102 @@
# 更新

## v1.4.0

- 整合了hpm_sdk v1.4.0
- 升级RT-Thread 到 v5.0.2
- 更新
- 增强了 SPI 驱动
- 增强了I2C 驱动
- 统一了ethernet phy驱动
- 增强了i2S驱动
- RTC驱动中默认使能电池域掉电保持
- 修复:
- 修复了`pwm`驱动返回值类型不匹配的问题
- 新增示例
- webnet_demo

## v1.3.0

- 整合了hpm_sdk v1.3.0
- 注:
- SDK根目录下的docs,middleware,samples, scripts等目录被移除
- 注:
- SDK根目录下的docs,middleware,samples, scripts等目录被移除
- 更新
- 增加了SVD文件的支持
- CAN: 增加了硬件过滤器支持
- 默认禁用了PWM输出反向
- 增加了SVD文件的支持
- CAN: 增加了硬件过滤器支持
- 默认禁用了PWM输出反向
- 修复:
- RT-Thread Studio生成的elf文件无法被`Ozone`正确的识别
- 在线包`i2c tools`不工作
- 以太网在网络风暴产生后工作不正常
- 音频声道控制在产生上溢/下溢后产生异常
- 当开启`ADC12`后编译失败
- GPIO在配置为开漏极并上拉模式后无法正确的读出引脚的电平
- RT-Thread Studio生成的elf文件无法被`Ozone`正确的识别
- 在线包`i2c tools`不工作
- 以太网在网络风暴产生后工作不正常
- 音频声道控制在产生上溢/下溢后产生异常
- 当开启`ADC12`后编译失败
- GPIO在配置为开漏极并上拉模式后无法正确的读出引脚的电平

## v1.2.0

- 整合了hpm_sdk v1.2.0
- 注:
- SDK根目录下的docs,middleware,samples, scripts等目录被移除
- 注:
- SDK根目录下的docs,middleware,samples, scripts等目录被移除
- 更新
- 迁移到rt-thread v5.0.1
- 增加了sample README
- 增加了 `flash_release``ram_release` 工程
- 增加了 UART RXFIFO timeout 中断支持
- 迁移到rt-thread v5.0.1
- 增加了sample README
- 增加了 `flash_release``ram_release` 工程
- 增加了 UART RXFIFO timeout 中断支持
- 修复:
- sd card 性能慢
- uart 在低波特率下丢数据
- sd card 性能慢
- uart 在低波特率下丢数据

## v1.1.0

- 整合了hpm_sdk v1.1.0
- 注:
- SDK根目录下的docs,middleware,samples, scripts等目录被移除
- 注:
- SDK根目录下的docs,middleware,samples, scripts等目录被移除
- 修复:
- drv_i2c.c 中的拼写错误
- hw_timer 工作异常
- 开启C++支持后RT-Thread Studio工程编译失败
- iperf 作为客户端时性能低下
- 网络性能未优化
- ADC 驱动可能会返回错误的数据
- PWM 通道可能会工作不正常
- uart_dma_demo示例不工作
- eMMC转TF卡不工作

- drv_i2c.c 中的拼写错误
- hw_timer 工作异常
- 开启C++支持后RT-Thread Studio工程编译失败
- iperf 作为客户端时性能低下
- 网络性能未优化
- ADC 驱动可能会返回错误的数据
- PWM 通道可能会工作不正常
- uart_dma_demo示例不工作
- eMMC转TF卡不工作

## v1.0.0

- 整合了SDK v1.0.0
- 注:
- SDK根目录下的doc, middleware,samples,cmake目录被删除
- 注:
- SDK根目录下的doc, middleware,samples,cmake目录被删除
- 更新:
- 完善了drv_uart_v2驱动
- 实现了audio驱动
- 迁移到rt-thread v4.1.0
- 增加了对JLink调试器的支持
- 完善了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

- ethernet_demo
- ethernet_ptp_master_demo
- ethernet_ptp_slave_demo
- usb_device_generic_hid
- usb_host_msc_udisk

## v0.7.0

- 整合了SDK v0.12.1
- 注:
- SDK根目录下的doc, middleware,samples,cmake 目录被删除
- 注:
- SDK根目录下的doc, middleware,samples,cmake 目录被删除
- 修复了如下问题:
- sd 卡 multi-block read/write 问题
- sd 卡 multi-block read/write 问题

## v0.6.0

- 整合了SDK v0.11.0
- 注:
- SDK根目录下的doc目录被删除
- 注:
- SDK根目录下的doc目录被删除
- 增加了如下示例:
- blink_led
- uart_dma_demo
- timer_demo
- sdcard_demo
- flashdb_demo
- can_example
- adc_example
- blink_led
- uart_dma_demo
- timer_demo
- sdcard_demo
- flashdb_demo
- can_example
- adc_example
Loading

0 comments on commit 9b0b861

Please sign in to comment.