pins_af_const.h:59:19: error: 'MP_QSTR_AF8_USART6' undeclared here (not in a function); did you mean 'MP_QSTR_AF8_UART5'?
59 | { MP_ROM_QSTR(MP_QSTR_AF8_USART6), MP_ROM_INT(GPIO_AF8_USART6) },
| ^~~~~~~~~~~~~~~~~~
../../py/obj.h:96:56: note: in definition of macro 'MP_OBJ_NEW_QSTR'
96 | #define MP_OBJ_NEW_QSTR(qst) ((mp_obj_t)((((mp_uint_t)(qst)) << 3) | 2))
| ^~~
build-HJGZ01/genhdr/pins_af_const.h:59:7: note: in expansion of macro 'MP_ROM_QSTR'
59 | { MP_ROM_QSTR(MP_QSTR_AF8_USART6), MP_ROM_INT(GPIO_AF8_USART6) },
| ^~~~~~~~~~~
出现此问题,请问大佬如何解决呢,谢谢!
STM32F407VGT6 增加UART6 出错
-
- 随机主题
- 回复总数
- 阅读次数
- 最新文章
-
- 1回复总数
- 245 阅读次数
- 最新文章 由 shaoziyang
2022年 12月 22日 10:19
-
- 1回复总数
- 290 阅读次数
- 最新文章 由 shaoziyang
2022年 12月 22日 11:12
-
- 2回复总数
- 504 阅读次数
- 最新文章 由 shaoziyang
2022年 12月 22日 11:22