Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请求:Air32F103CBT6增加支持I2S #88

Open
5 tasks done
JaffLee-China opened this issue Nov 23, 2023 · 0 comments
Open
5 tasks done

请求:Air32F103CBT6增加支持I2S #88

JaffLee-China opened this issue Nov 23, 2023 · 0 comments
Labels
🚩目标 New feature or request

Comments

@JaffLee-China
Copy link

您的功能请求是否与解决某些问题有关?请描述一下。/ 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

报错1

手工添加支持I2S

报错2

确认信息

  • 检查过该需求,之前没有人提过 / Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • 这个需求是真实存在的,并且对于本项目来说是必要的
  • 我已经提供了该需求的清晰、详细、完整的方案,请按该方案进行实施
  • 我认为我提供的信息已经足够,不需要其他人继续完善该需求的其他细节
  • 我同意跟进该需求的实施进程,并在适时提供合理的解释与纠正
@HalfSweet HalfSweet added the 🚩目标 New feature or request label Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚩目标 New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants