ports/stm32/boards/NUCLEO_L476RG/mpconfigboard: expose 5 remaining UA…#7058
ports/stm32/boards/NUCLEO_L476RG/mpconfigboard: expose 5 remaining UA…#7058aziubin wants to merge 1 commit intomicropython:masterfrom aziubin:master
Conversation
…RTs. STM32L476RG mcu of NUCLEO_L476RG board has 6 UART/USART units in total (USART1, USART2, USART3, UART4, UART5 and LPUART1), but only UART2, connected to REPL, was defined and available in Python code. Defined are all 5 remaining units including LPUART1. Signed-off-by: Alexander Ziubin <aziubin@googlemail.com>
|
Commot message does not follow convention. |
|
You can update your commit message by using: |
|
Thank you, @davehylands, I have another issue - Check commit message formatting reports "error: commit 8b98099: Unwanted email address: noreply@github.com", although I have updated my email settings in GitHub and I can see now with |
|
Sorry - I'm not sure what the issue might be there. Now that your email is setup properly, you might need to create a new branch and cherry pick that commit. I fetched the commit you referenced and it seems to have the correct email. github.com says "This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository." |
Use micropython #defines for stream polling operations
STM32L476RG mcu of NUCLEO_L476RG board has 6 UART units in total (USART1, USART2, USART3, UART4, UART5 and LPUART1), but only UART2, which is connected to REPL, has been defined and available for Python code. As a result there is no possibility to use serial communication together with REPL.
This pull request resolves the issue with missing UART units in NUCLEO_L476RG board official MicroPython firmware, which affects others, for example:
Tested on real NUCLEO_L476RG board:
Tested in real scenario using MH-Z19C CO2 sensor with UART interface:
References:
Signed-off-by: Alexander Ziubin aziubin@googlemail.com