79410232

Date: 2025-02-03 23:18:01
Score: 0.5
Natty:
Report link

The actual solution (from dirbaio in Matrix Embassy chat):

try this before creating the i2c:

embassy_stm32::pac::AFIO.mapr().modify(|w| w.set_i2c1_remap(true));

(gpio on F1 is weird, it has this remap thing that the embassy-stm32 hal doesn't do automatically for you yet)

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: MrPashaPG