-
-
Notifications
You must be signed in to change notification settings - Fork 81
[EV3] Implement LED brightness control via software PWM on PRU1 #339
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
Conversation
|
PR has been updated to download a released PRU binary (which is no worse than what currently happens for U-boot). This is now ready for review. |
|
Updated based on feedback. Using the linker script incidentally means that overflowing the shared memory region will be caught. However, this PR doesn't yet migrate PRU0 to use it. |
| $(BUILD)/pru_ledpwm.bin: | ||
| $(ECHO) "Downloading pru_ledpwm.bin" | ||
| $(Q)mkdir -p $(dir $@) | ||
| $(Q)curl -sL -o $@ https://github.com/pybricks/pybricks-pru/releases/download/v0.0.1/pru_ledpwm.bin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would already call it v1.0.0. (I no longer believe in https://0ver.org/) 😆
|
This one looks good to go. |
|
Although I just noticed too late that none of the commits have a description beyond the subject. We don't want to make a habit of this and instead would like at least one sentence explaining why the change is needed. |
This is dependent on pybricks/pybricks-pru#1 , and it needs to be modified to download the PRU binary rather than checking it into git (see related: pybricks/support#2262 ), but I am opening the PR for now as the rest of the code is ready.