This PR adds support for a generic, OS-agnostic board for broader use cases (such as with pytest). It also removes the "fake_mcp2221" board and its related files, since the new "generic agnostic board" is intended to supersede this board.
@lorennorman You may want to take a look/review pass over this as well since we will switch to using it in WipperSnapper Python.
Added new board, generic_agnostic_board, with support for digitalio, analogio, and busio modules.
This board includes "expected pin behaviors" such as returning expected pin values for digitalio input and output, analogio input and output, and special analog pin functions like waveforms.
Added new tests/ directory with pytest files for this board
This PR adds support for a generic, OS-agnostic board for broader use cases (such as with pytest). It also removes the "fake_mcp2221" board and its related files, since the new "generic agnostic board" is intended to supersede this board.
@lorennorman You may want to take a look/review pass over this as well since we will switch to using it in WipperSnapper Python.
generic_agnostic_board
, with support fordigitalio
,analogio
, andbusio
modules.digitalio
input and output,analogio
input and output, and special analog pin functions like waveforms.fake_mcp2221
boardTest Results: