-
-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Compile error with Chibi OS and USART serial. #19617
Comments
You probably have either The default values of |
Thank you. |
Are you using a Pro Micro RP2040 (or the board file for that)? |
Hello. I'm using STM32F103C6T6(blue pill) and I tried many ways to let them connect to each other. But they dosn't work.
Perhaps something was wrong because I didn't use C8T6 but C6T6. I will buy a new STM32F103C8T6 board and try it again. |
Might be related? #19075 |
Wonderful! I changed My code in
It works without |
By the way, I also tried bitbang and SIO. But they didn't work. |
To be clear, the reason sigprof suggests that
You literally can't get an error on line 11 unless Put another way: the error you are getting means that line 11 of With What tzarc mentions in the other PR is also correct: any changes to the uart driver do not affect the serial_usart driver that you are using. While it is true that within chibios these two functionalities make use of the same underlying hardware, the Lastly, you've said you changed If you can share the code you are using, that will go a long way towards helping us understand what is and is not working, and where changes should be made to get your code running properly. It is always possible that there is a bug in QMK, and if your code reveals that |
Sorry everyone. I know what made my firmware don't work.
can be compiled and works without any problem. That was my fault. |
Issue Description
I tried to make a split keyboard on stm32f103c8t6 and I set serial driver options in
config.h
. Like https://docs.qmk.fm/#/serial_driver. This is my code:When I compile it, there was an error like:
When I tried to delect the TX_PIN and RX_PIN options like this, the compile works(now I havn't a ST Link so I couldn't flash and test it).
I'm not very familiar with stm32 and Chibi OS, but I think A9 and A10 was selected as TX_PIN and RX_PIN because I used
#define SERIAL_USART_DRIVER SD1
. So the#define SERIAL_USART_TX_PIN A9
is incorrect here.Perhaps it is new feature in Chibi OS and the manual document are outdated. So the manual document should be corrected.
The text was updated successfully, but these errors were encountered: