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

Modernize #17

Open
wants to merge 3 commits into
base: rp2040
Choose a base branch
from
Open

Modernize #17

wants to merge 3 commits into from

Conversation

arkadijs
Copy link

@arkadijs arkadijs commented Oct 11, 2023

  1. Allocate user IRQ to avoid conflict / hard fault when other parts are changed and/or SDK features included.
  2. Use *.cmake from SDK 1.5.1.
  3. Allow for in-tree board definitions.
  4. A distinctive CMake project name for IDE.
  5. Include host/usbh.h instead of tusb.h where the former could be ifdef-ed out depending on the config. I believe this is a proper semantic / intention.
  6. Overclocking now preserves correct peripherals clock (SPI).
  7. Invoke irq_set_pending() every core1 loop. While invoking once is sufficient when all is going well, I see better stability when things go wrong. It's a cheap insurance that has no bad side effects.
  8. I've experimented with sleep_ms() between vreg_set_voltage() and set_sys_clock_khz() and it did not resolve cold-start issue. TODO removed.

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.

1 participant