<p>On the one hand the I2C driver is the same on all ATmega boards, on the other hand more testing is always better.</p>
<p>Due to memory constraints it will be a bit difficult to test. E.g. the i2c test overflows the memory. <a href="https://github.com/maribu/RIOT/tree/i2c_leonardo">In this branch</a> I rebased this PR against master (to get the i2c_scan shell command) and added the <code>examples/i2c_scan</code> as a minimal RIOT shell with only the commands <code>reboot</code> and <code>i2c_scan</code> provided. This is small enough to fit the Arduino Leonardo and allows very basic testing of the I2C interface.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/11227?email_source=notifications&email_token=ABE7WYD3GKROLTN3CLXUQ7LPW7AJHA5CNFSM4HAF3QEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWE33OI#issuecomment-495566265">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYC5I23TRN6AMNEDFL3PW7AJHANCNFSM4HAF3QEA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYCRRQDRGTIG36IBEJTPW7AJHA5CNFSM4HAF3QEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWE33OI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/11227?email_source=notifications\u0026email_token=ABE7WYD3GKROLTN3CLXUQ7LPW7AJHA5CNFSM4HAF3QEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWE33OI#issuecomment-495566265",
"url": "https://github.com/RIOT-OS/RIOT/pull/11227?email_source=notifications\u0026email_token=ABE7WYD3GKROLTN3CLXUQ7LPW7AJHA5CNFSM4HAF3QEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWE33OI#issuecomment-495566265",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>