aboutsummaryrefslogtreecommitdiff
path: root/main/i2c.c
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-09 16:11:12 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-09 16:16:23 +0200
commit07106fe9b11d09fcdd1525425634739a3e3c4375 (patch)
treed9cbcdb99c26307c437c2452a7b42f5d031ffea3 /main/i2c.c
parent5fcf856a3b7482f65d2a7a152e909e1f9a304e22 (diff)
add some remnants of rp2040 debugging hell (see message)
This commit has a few commented lines in CMakeLists.txt for compiling Arduino sketches for the RP2040 using <https://github.com/earlephilhower/arduino-pico>. I used this to sanity check if the same use of the Wire library that I used for the Arduino would work on the RP2040, and to my surprise, it didn't. Turns out the ATmega328P's TWI interface supports a thing where I2C masters can be addressed as slaves in a multi-master configuration (see section 21.9.5 of the datasheet). This is used in the puzzle box, and not (natively) supported by the RP2040 processor.
Diffstat (limited to 'main/i2c.c')
0 files changed, 0 insertions, 0 deletions