Sparkfun Micromod STM32 - Add additional UART #14065
-
I am looking to modify the SPARKFUN_MICROMOD_STM32 port of micropython to add a second uart on pins PB6 and PB7. I have modified mpconfigboard.h and pins.csv but I am obviously missing something because when I compile and load the firmware I get a value error for "UART(2)" This is what I added to mpconfigboard.h...
and this to pins.csv...
I have compiled with these commands...
What else do I have to change to get this to work? Any help greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Maybe start with: |
Beta Was this translation helpful? Give feedback.
-
In micropython/ports.stm32/SPARKFUN_MICROMOD_STM32 I see a pins.csv, which seems more descriptive than the pins.csv I have seen so far ... which isn't many! Where is the file I have been trying to put Micropython on a E77-400M22S. I think I managed to get a 2nd UART working, but can't sure. Thanks, |
Beta Was this translation helpful? Give feedback.
I have UART1, UART3 and UART6 working.
Looking through 'pins_SPARKFUN_MICROMOD_STM32.c' gave me the pins that the different uart ports work on.
Modified 'pins_SPARKFUN_MICROMOD_STM32.c' and 'pins.csv' and it works.