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

Raspi 4 #5

Closed
6b4g opened this issue Aug 16, 2022 · 2 comments
Closed

Raspi 4 #5

6b4g opened this issue Aug 16, 2022 · 2 comments

Comments

@6b4g
Copy link

6b4g commented Aug 16, 2022

Thanks for this example!
I'm running your code on a Rasperry Pi4 with 64-bit RpiOs. GCC sets the uintptr_t type to a unsigned long int which in the automatic conversion to uint32_t crashed the program. Changing all declarations of uintptr_t to uint32_t solved the issue.

@bpesun
Copy link

bpesun commented Sep 4, 2022

how you ever meet the question like 'could not request channel' ? It seemed the pwm dma can not be used in my work.

@besp9510
Copy link
Owner

besp9510 commented Sep 7, 2022

Thanks for bringing this issue up 6b4g. Apologies on the delay, I've pushed an update that has replaced all uintprt_t with uin32_t. Feel free to reopen if it doesn't work on your Pi.

I'll address bpesun's issue in the other thread.

@besp9510 besp9510 closed this as completed Sep 7, 2022
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

No branches or pull requests

3 participants