Skip to content

Conversation

@kilograham
Copy link
Contributor

fixes #1924

@kilograham kilograham added this to the 2.0.1 milestone Sep 11, 2024
@kilograham kilograham mentioned this pull request Sep 16, 2024
@kilograham kilograham self-assigned this Sep 28, 2024
// PICO_CONFIG: CYW43_PIO_CLOCK_DIV_FRAC, Fractional part of the clock divider for communication with the wireless chip, type=bool, default=0, group=pico_cyw43_driver
#ifndef CYW43_PIO_CLOCK_DIV_FRAC
#define CYW43_PIO_CLOCK_DIV_FRAC 0
// PICO_CONFIG: CYW43_PIO_CLOCK_DIV_FRAC8, Fractional part of the clock divider for communication with the wireless chip 0-255, type=bool, default=0, group=pico_cyw43_driver
Copy link
Contributor

Choose a reason for hiding this comment

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

If we're renaming the PICO_CONFIG: entry from CYW43_PIO_CLOCK_DIV_FRAC to CYW43_PIO_CLOCK_DIV_FRAC8, we probably ought to do the same for the PICO_CMAKE_CONFIG: entry at https://github.com/raspberrypi/pico-sdk/blob/develop/src/rp2_common/pico_cyw43_driver/CMakeLists.txt#L87-L90

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch; @peterharperuk since this value was new post SDK2.0 I'm not going to support the old value

Copy link
Contributor

Choose a reason for hiding this comment

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

ok, I doubt there's much use for it anyway

Copy link
Contributor Author

Choose a reason for hiding this comment

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

presumably much use OF it?

Copy link
Contributor

Choose a reason for hiding this comment

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

yes, there's unlikely to be much need for changing the cyw43 pio divider by anything but a whole number.

@lurch lurch mentioned this pull request Nov 11, 2024
@kilograham kilograham requested a review from Wren6991 November 11, 2024 18:22
#endif

// PICO_CONFIG: CYW43_PIO_CLOCK_DIV_INT, Integer part of the clock divider for communication with the wireless chip, type=bool, default=2, group=pico_cyw43_driver
// PICO_CONFIG: CYW43_PIO_CLOCK_DIV_INT, Integer part of the clock divider for communication with the wireless chip, type=int, default=2, group=pico_cyw43_driver
Copy link
Contributor

Choose a reason for hiding this comment

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

LOL, how on earth did I miss this?? 🤣

Copy link
Contributor

@peterharperuk peterharperuk left a comment

Choose a reason for hiding this comment

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

I can't spot any issues and my head hurts look at this change.

@kilograham kilograham merged commit 06b7c1c into develop Nov 12, 2024
6 checks passed
@kilograham kilograham deleted the int_frac branch November 12, 2024 17:18
lurch added a commit that referenced this pull request Nov 20, 2024
Looks like this change accidentally got omitted from #1926
kilograham pushed a commit that referenced this pull request Nov 20, 2024
Looks like this change accidentally got omitted from #1926
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.

5 participants