Skip to content

Conversation

@0tobsam0
Copy link

  • created switch for 32-bit and 64-bit pointer type (uint32_t and size_t)
  • added command line argument for chaser delay

- use "gcc -Wall -fcommon -o rpi_pixleds rpi_pixleds.c rpi_dma_utils.c" to compile
- build with "gcc -Wall -fPIC -shared -o rpi_pixleds.so rpi_pixleds_lib.c rpi_dma_utils.c"
Copy link

Choose a reason for hiding this comment

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

You sure you need this ?

Choose a reason for hiding this comment

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

Agreed. A code repo is not the place for binaries.

@petiepooo
Copy link

Thank you for the PR. I like some of the changes, but it needs some work first IMO.

Does the library work? The commit message isn't very clear.

You may have better luck breaking this into individual PRs per feature.

@mouqurem
Copy link

Did all the stuff to convert into 64bit but I still have a segmentation fault when I run rpi_dma_test. Any help :) ?

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.

4 participants