How can i enable modules at the minimal ports? #9780
-
a question about How to enable modules in the minimal ports? i mean how can i enable rtc and i2c or other modules to conformity in firmware ? like very small firmware customized. now testing minimal ports is good. but not anything modules in firmware no good. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Any module that uses hardware requires specific drivers. Some functions can be enabled by software. If for instance your minimal port has support for machine.pin, you can enable softspi by a config switch. If the pin module supports open drain mode, you can as well enable softI2C. RTC usually requires a specific driver. But some timekeeping may be included in the time module. |
Beta Was this translation helpful? Give feedback.
-
Also in https://github.com/orgs/micropython/discussions/9768 you said you were using an STM32 part. Why not just use the STM32 port? |
Beta Was this translation helpful? Give feedback.
Also in https://github.com/orgs/micropython/discussions/9768 you said you were using an STM32 part. Why not just use the STM32 port?