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

Compile error? #8

Open
danergo opened this issue Dec 17, 2021 · 0 comments
Open

Compile error? #8

danergo opened this issue Dec 17, 2021 · 0 comments

Comments

@danergo
Copy link

danergo commented Dec 17, 2021

Hi,

I'm getting a compile failure at this point: https://github.com/xinkaiwang/rpio-pwm/blob/master/dma.cpp#L241

Exactly this:

invalid conversion from ‘uint8_t*’ {aka ‘unsigned char*’} to ‘uint32_t’ {aka ‘unsigned int’} [-fpermissive]

Thus, offset is losing half of the desired address on 64bit systems. (upwards of Pi3)

Have you came across with this yet?

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

1 participant