Skip to content

Commit

Permalink
同步gitee,fix bug,release 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
liuhy-2020 committed Nov 4, 2021
1 parent 09cc1f3 commit 2e80f27
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion RealThread_ES32F3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
vendor: RealThread
dvendor: essemi
name: ES32F3
version: 1.0.2
version: 1.0.3
yaml_version: 1
type: Chip_Support_Packages
family_name: ES32
Expand Down
2 changes: 1 addition & 1 deletion drivers/rtt/ES/es_conf_info_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ static const struct pin_index pins[] =
#endif

#if ( defined(CHIP_NAME_ES32F3656LT) || defined(CHIP_NAME_ES32F3656LX) ||\
defined(CHIP_NAME_ES32F3696LX) || defined(CHIP_NAME_ES32F3696LX) )
defined(CHIP_NAME_ES32F3696LT) || defined(CHIP_NAME_ES32F3696LX) )

#define ES_GPIO_ADC_CH0_GPIO GPIOC
#define ES_GPIO_ADC_CH1_GPIO GPIOC
Expand Down
6 changes: 3 additions & 3 deletions drivers/rtt/drv_example/uart_dma_sample.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ static rt_err_t duart_input(rt_device_t dev, rt_size_t size)
static void dserial_thread_entry(void *parameter)
{
char buf[17];
uint32_t len;
uint32_t i;
rt_uint32_t len;
rt_uint32_t i;
while (1)
{
/* 从串口读取一个字节的数据,没有读取到则等待接收信号量 */
Expand Down Expand Up @@ -101,7 +101,7 @@ static int duart(int argc, char *argv[])
{
rt_kprintf("error open serial\n");
rt_device_close(dserial);
dserial = NULL;
dserial = RT_NULL;
return -1;
}

Expand Down
2 changes: 1 addition & 1 deletion drivers/rtt/drv_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ struct es32_uart uart2 =
{UART2},
&serial2,
UART2_IRQn,
#ifdef RT_USING_SERIAL
#ifdef RT_SERIAL_USING_DMA
UART2_DMATX_CHANNEL,
UART2_DMARX_CHANNEL
#endif /* RT_SERIAL_USING_DMA */
Expand Down

0 comments on commit 2e80f27

Please sign in to comment.