您的功能请求是否与解决某些问题有关?请描述一下。/ Is your feature request related to a problem? Please describe.
在Q群中,版主有提到Air32F103CBT6支持I2S,但是实际上在AirMCU 0.5.1中,不支持I2S HAL库的使用.
以下将报错:
I2S_InitTypeDef I2S_InitStructure;
报错:error: 'I2S_InitTypeDef' was not declared in this scope; did you mean 'I2C_InitTypeDef'?
推测头文件是修改SxxF103xb.h得到,在SxxF103xb上,并不支持I2S功能.
描述您想要的解决方案 / Describe the solution you'd like
检查air32f103xe.h,有以下支持I2S的定义
#define SPI_I2S_SUPPORT /*!< I2S support /
检查air32f103xb.h没有支持I2S的定义
#define SPI_I2S_SUPPORT /!< I2S support */
即使在air32f103xb.h手工添加支持I2S的定义
#define SPI_I2S_SUPPORT /*!< I2S support */
由于缺少其他相关SPI/I2S寄存器/其他的设定,仍会报其他错误而无法使用I2S功能.
描述您想要的详细使用步骤描述 / Describe the solution you'd like to use in what way
希望可以使用air32f103cbt6 HAL库的I2S功能.以扩展air32f103cbt6 应用场景.
其他备注信息或截图 / Add any other context or screenshots about the feature request here



确认信息
您的功能请求是否与解决某些问题有关?请描述一下。/ Is your feature request related to a problem? Please describe.
在Q群中,版主有提到Air32F103CBT6支持I2S,但是实际上在AirMCU 0.5.1中,不支持I2S HAL库的使用.
以下将报错:
I2S_InitTypeDef I2S_InitStructure;
报错:error: 'I2S_InitTypeDef' was not declared in this scope; did you mean 'I2C_InitTypeDef'?
推测头文件是修改SxxF103xb.h得到,在SxxF103xb上,并不支持I2S功能.
描述您想要的解决方案 / Describe the solution you'd like
检查air32f103xe.h,有以下支持I2S的定义
#define SPI_I2S_SUPPORT /*!< I2S support /
检查air32f103xb.h没有支持I2S的定义
#define SPI_I2S_SUPPORT /!< I2S support */
即使在air32f103xb.h手工添加支持I2S的定义
#define SPI_I2S_SUPPORT /*!< I2S support */
由于缺少其他相关SPI/I2S寄存器/其他的设定,仍会报其他错误而无法使用I2S功能.
描述您想要的详细使用步骤描述 / Describe the solution you'd like to use in what way
希望可以使用air32f103cbt6 HAL库的I2S功能.以扩展air32f103cbt6 应用场景.
其他备注信息或截图 / Add any other context or screenshots about the feature request here
确认信息