Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal code review request #2

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open

Internal code review request #2

wants to merge 19 commits into from

Conversation

Randall-Scharpf
Copy link
Member

No description provided.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was this being done for a test? i went to compare to adafruit circuitpy 9.0.3 and it has the i2ctarget line

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't want this to be merged to main

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will remove in merge commit

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want to merge our custom build scripts to main? we don't want to merge it to adafruit, and we aren't even using it anymore

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will remove in merge commit

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(same comment as mac script, also should remove the "build-samd51-interpreter" and "build-samd51-interpreter-mac" scripts on main)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will remove in merge commit

@@ -199,11 +145,9 @@ void common_hal_busio_spi_construct(busio_spi_obj_t *self,
// Pads must be set after spi_m_sync_init(), which uses default values from
// the prototypical SERCOM.

hri_sercomspi_write_CTRLA_MODE_bf(sercom, slave_mode ? 2 : 3);
self->slave_mode = slave_mode;
hri_sercomspi_write_CTRLA_MODE_bf(sercom, 3);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems left over from the former peripheral mode implementation in SPI.c. also it seems like SPI.c includes the async spi stuff that adafruit doesnt want so we shouldn't merge it onto main (unless i misunderstood our repo design and you are going to cherry pick changes from our main to merge onto their's but that seems unideal)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this still says I2C

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still says I2C

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants