diff --git a/ChangeLog.md b/ChangeLog.md index 97bf634f..6db6f0ba 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,10 @@ # Change Log +## 1.4.1 +- Fixed: + - Transmission error while enabling DMA in I2C driver + - Failed to create template project + ## v1.4.0 - Integrated hpm_sdk v1.4.0 diff --git a/ChangeLog_zh.md b/ChangeLog_zh.md index caea3fac..00e96e8b 100644 --- a/ChangeLog_zh.md +++ b/ChangeLog_zh.md @@ -1,5 +1,10 @@ # 更新 +## v1.4.1 +- 修复: + - I2C开启DMA后传输出错的问题 + - 默认模板工程创建出错的问题 + ## v1.4.0 - 整合了hpm_sdk v1.4.0 diff --git a/HPMicro-HPM6300EVK.yaml b/HPMicro-HPM6300EVK.yaml index 4bce5fd3..96b4940e 100644 --- a/HPMicro-HPM6300EVK.yaml +++ b/HPMicro-HPM6300EVK.yaml @@ -50,16 +50,28 @@ features_zh: pkg_type: Board_Support_Packages pkg_vendor: HPMicro -pkg_version: 1.4.0 +pkg_version: 1.4.1 template_projects: -- project_name: +- project_name: blink_led 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/ + - source_path_offset: projects/blink_led target_path_offset: '' files_and_folders: + - .config + - .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: diff --git a/common/libraries/drivers/drv_i2c.c b/common/libraries/drivers/drv_i2c.c index 04577aa3..d7675796 100644 --- a/common/libraries/drivers/drv_i2c.c +++ b/common/libraries/drivers/drv_i2c.c @@ -380,6 +380,7 @@ static rt_ssize_t hpm_i2c_master_transfer(struct rt_i2c_bus_device *bus, struct break; } i2c_info->is_read = true; + i2c_enable_irq(i2c_info->base, I2C_EVENT_TRANSACTION_COMPLETE); dmamux_config(HPM_DMAMUX, i2c_info->dma.channel, i2c_info->dmamux, true); i2c_stat = i2c_rx_trigger_dma(i2c_info->dma.base, i2c_info->dma.channel, i2c_info->base, core_local_mem_to_sys_address(0, (uint32_t) dummy_buf), transfer_len); diff --git a/projects/adc_example/.settings/projcfg.ini b/projects/adc_example/.settings/projcfg.ini index e18de823..4e6c9517 100644 --- a/projects/adc_example/.settings/projcfg.ini +++ b/projects/adc_example/.settings/projcfg.ini @@ -16,5 +16,5 @@ project_name=adc_example is_base_example_project=True board_name=hpm6300evk device_vendor=HPMicro -bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.0 -bsp_version=1.4.0 \ No newline at end of file +bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.1 +bsp_version=1.4.1 \ No newline at end of file diff --git a/projects/blink_led/.settings/projcfg.ini b/projects/blink_led/.settings/projcfg.ini index 73fc0da0..33a83736 100644 --- a/projects/blink_led/.settings/projcfg.ini +++ b/projects/blink_led/.settings/projcfg.ini @@ -16,5 +16,5 @@ project_name=blink_led is_base_example_project=True board_name=hpm6300evk device_vendor=HPMicro -bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.0 -bsp_version=1.4.0 \ No newline at end of file +bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.1 +bsp_version=1.4.1 \ No newline at end of file diff --git a/projects/can_example/.settings/projcfg.ini b/projects/can_example/.settings/projcfg.ini index 0504e32c..2c69ba82 100644 --- a/projects/can_example/.settings/projcfg.ini +++ b/projects/can_example/.settings/projcfg.ini @@ -16,5 +16,5 @@ project_name=can_example is_base_example_project=True board_name=hpm6300evk device_vendor=HPMicro -bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.0 -bsp_version=1.4.0 \ No newline at end of file +bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.1 +bsp_version=1.4.1 \ No newline at end of file diff --git a/projects/ethernet_demo/.settings/projcfg.ini b/projects/ethernet_demo/.settings/projcfg.ini index e1355ef0..460907f3 100644 --- a/projects/ethernet_demo/.settings/projcfg.ini +++ b/projects/ethernet_demo/.settings/projcfg.ini @@ -16,5 +16,5 @@ project_name=ethernet_demo is_base_example_project=True board_name=hpm6300evk device_vendor=HPMicro -bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.0 -bsp_version=1.4.0 \ No newline at end of file +bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.1 +bsp_version=1.4.1 \ No newline at end of file diff --git a/projects/ethernet_ptp_master_demo/.settings/projcfg.ini b/projects/ethernet_ptp_master_demo/.settings/projcfg.ini index b3b11760..ba09c199 100644 --- a/projects/ethernet_ptp_master_demo/.settings/projcfg.ini +++ b/projects/ethernet_ptp_master_demo/.settings/projcfg.ini @@ -16,5 +16,5 @@ project_name=ethernet_ptp_master_demo is_base_example_project=True board_name=hpm6300evk device_vendor=HPMicro -bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.0 -bsp_version=1.4.0 \ No newline at end of file +bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.1 +bsp_version=1.4.1 \ No newline at end of file diff --git a/projects/ethernet_ptp_slave_demo/.settings/projcfg.ini b/projects/ethernet_ptp_slave_demo/.settings/projcfg.ini index 77cd001b..e2671f22 100644 --- a/projects/ethernet_ptp_slave_demo/.settings/projcfg.ini +++ b/projects/ethernet_ptp_slave_demo/.settings/projcfg.ini @@ -16,5 +16,5 @@ project_name=ethernet_ptp_slave_demo is_base_example_project=True board_name=hpm6300evk device_vendor=HPMicro -bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.0 -bsp_version=1.4.0 \ No newline at end of file +bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.1 +bsp_version=1.4.1 \ No newline at end of file diff --git a/projects/flashdb_demo/.settings/projcfg.ini b/projects/flashdb_demo/.settings/projcfg.ini index 647bf8f8..c5428a78 100644 --- a/projects/flashdb_demo/.settings/projcfg.ini +++ b/projects/flashdb_demo/.settings/projcfg.ini @@ -16,5 +16,5 @@ project_name=flashdb_demo is_base_example_project=True board_name=hpm6300evk device_vendor=HPMicro -bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.0 -bsp_version=1.4.0 \ No newline at end of file +bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.1 +bsp_version=1.4.1 \ No newline at end of file diff --git a/projects/sdcard_demo/.settings/projcfg.ini b/projects/sdcard_demo/.settings/projcfg.ini index 8adcfc16..0c148c05 100644 --- a/projects/sdcard_demo/.settings/projcfg.ini +++ b/projects/sdcard_demo/.settings/projcfg.ini @@ -16,5 +16,5 @@ project_name=sdcard_demo is_base_example_project=True board_name=hpm6300evk device_vendor=HPMicro -bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.0 -bsp_version=1.4.0 \ No newline at end of file +bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.1 +bsp_version=1.4.1 \ No newline at end of file diff --git a/projects/timer_demo/.settings/projcfg.ini b/projects/timer_demo/.settings/projcfg.ini index a715214b..e030dcc0 100644 --- a/projects/timer_demo/.settings/projcfg.ini +++ b/projects/timer_demo/.settings/projcfg.ini @@ -16,5 +16,5 @@ project_name=timer_demo is_base_example_project=True board_name=hpm6300evk device_vendor=HPMicro -bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.0 -bsp_version=1.4.0 \ No newline at end of file +bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.1 +bsp_version=1.4.1 \ No newline at end of file diff --git a/projects/uart_dma_demo/.settings/projcfg.ini b/projects/uart_dma_demo/.settings/projcfg.ini index 64e99c20..6bf02399 100644 --- a/projects/uart_dma_demo/.settings/projcfg.ini +++ b/projects/uart_dma_demo/.settings/projcfg.ini @@ -16,5 +16,5 @@ project_name=uart_dma_demo is_base_example_project=True board_name=hpm6300evk device_vendor=HPMicro -bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.0 -bsp_version=1.4.0 \ No newline at end of file +bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.1 +bsp_version=1.4.1 \ No newline at end of file diff --git a/projects/usb_device_generic_hid/.settings/projcfg.ini b/projects/usb_device_generic_hid/.settings/projcfg.ini index 45b7f519..5caf06f4 100644 --- a/projects/usb_device_generic_hid/.settings/projcfg.ini +++ b/projects/usb_device_generic_hid/.settings/projcfg.ini @@ -16,5 +16,5 @@ project_name=usb_device_generic_hid is_base_example_project=True board_name=hpm6300evk device_vendor=HPMicro -bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.0 -bsp_version=1.4.0 \ No newline at end of file +bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.1 +bsp_version=1.4.1 \ No newline at end of file diff --git a/projects/usb_host_msc_udisk/.settings/projcfg.ini b/projects/usb_host_msc_udisk/.settings/projcfg.ini index 4816c594..a873a568 100644 --- a/projects/usb_host_msc_udisk/.settings/projcfg.ini +++ b/projects/usb_host_msc_udisk/.settings/projcfg.ini @@ -16,5 +16,5 @@ project_name=usb_host_msc_udisk is_base_example_project=True board_name=hpm6300evk device_vendor=HPMicro -bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.0 -bsp_version=1.4.0 \ No newline at end of file +bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.1 +bsp_version=1.4.1 \ No newline at end of file diff --git a/projects/webnet_demo/.settings/projcfg.ini b/projects/webnet_demo/.settings/projcfg.ini index e39a5fc7..3131ff46 100644 --- a/projects/webnet_demo/.settings/projcfg.ini +++ b/projects/webnet_demo/.settings/projcfg.ini @@ -16,5 +16,5 @@ project_name=webnet_demo is_base_example_project=True board_name=hpm6300evk device_vendor=HPMicro -bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.0 -bsp_version=1.4.0 \ No newline at end of file +bsp_path=repo/Extract/Board_Support_Packages/HPMicro/HPMicro-HPM6300EVK/1.4.1 +bsp_version=1.4.1 \ No newline at end of file