-
Notifications
You must be signed in to change notification settings - Fork 69
Run this on Android #2
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
Open
KINGDOMWARE
wants to merge
166
commits into
tobetter:master
Choose a base branch
from
hardkernel:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Dongjin Kim <[email protected]>
Signed-off-by: Dongjin Kim <[email protected]>
Signed-off-by: Joshua Yang <[email protected]>
Signed-off-by: Joshua Yang <[email protected]>
Signed-off-by: Joshua Yang <[email protected]>
Signed-off-by: Joshua Yang <[email protected]>
Signed-off-by: Joshua Yang <[email protected]>
Signed-off-by: Joshua Yang <[email protected]>
- android doesn't support pthread_cancel. so use pthread_kill instead pthread_cacnel.
- In some case, ISR callback function pointer can be null pointer untill pthread is not killed. So add mutext to avoid this problem and exit it. Signed-off-by: Luke Go <[email protected]>
- pinPass value has a possibilit to wrong pinvalue pass. Signed-off-by: Luke Go <[email protected]>
Servo motors are typically controlled 1000 us ~ 2000 us pulse widths. So default PWM period was set to 2500us.
To avoid unforeseen collision, add static keyword to the functions. And did some codes clean-up to fit into the exist code style. Signed-off-by: Joshua Yang <[email protected]>
wiringPi did not support device selection. When adding an SPI device or SPI CS, a user did not use wiringPiSPI.h. If using wiringPiSPISetupInterface, a user can select an SPI device.
Signed-off-by: Joshua Yang <[email protected]>
wiringPiI2CReadBlock:
S Addr Wr [A] reg [A]
S Addr Rd [A] [buff] A [buff] A ... A [buff] NA P
wiringPiI2CWriteBlock:
S Addr Wr [A] reg [A] buff [A] buff [A] ... [A] buff [A] P
ex) pinMode(pin, INPUT_PULLUP); pinMode(pin, INPUT_PULLDOWN);
The PWM default clock/range settings conflict with Android things settings.
Signed-off-by: Joshua Yang <[email protected]>
Signed-off-by: Yang Deokgyu <[email protected]>
Signed-off-by: Yang Deokgyu <[email protected]>
…operly Signed-off-by: Yang Deokgyu <[email protected]>
Signed-off-by: Yang Deokgyu <[email protected]>
Signed-off-by: Yang Deokgyu <[email protected]>
Signed-off-by: Yang Deokgyu <[email protected]>
Signed-off-by: Yang Deokgyu <[email protected]>
Signed-off-by: Yang Deokgyu <[email protected]>
Signed-off-by: Steve Jeong <[email protected]> Change-Id: I2e5e4a0c992aa53df5b1ee54e3a13095f9fa8364
Signed-off-by: Steve Jeong <[email protected]> Change-Id: I67a7626e6a258f9116608e6763e786389565245f
Signed-off-by: Steve Jeong <[email protected]> Change-Id: Ib134094f7a35298b1274a60fbfc56a07a14ed965
Signed-off-by: Steve Jeong <[email protected]> Change-Id: Ic7e72e6894df43ad62e00b9200c23df6b984c54d
Signed-off-by: Steve Jeong <[email protected]> Change-Id: I48b505ea29ac10d1d9acbaed0ef99fc091ecd270
Signed-off-by: Steve Jeong <[email protected]> Change-Id: I7db24f9325f3c0a85b2abf379a8183ef63144f5f
The hardware pwm is used as the sys node. Signed-off-by: Steve Jeong <[email protected]> Change-Id: I01181a32aba992a11f41176b485f5472872f84a2
Signed-off-by: Steve Jeong <[email protected]> Change-Id: I4a0f0b571f3bf703940e51859eedd8d848ad169e
Signed-off-by: Steve Jeong <[email protected]> Change-Id: I2f8bc62cf0b7bbde707b10e36e39e3a5a5c3045c
Signed-off-by: Steve Jeong <[email protected]> Change-Id: Ie0eefc480949dfb65ff58c1c2ec2ab0990a0d421
Signed-off-by: Steve Jeong <[email protected]> Change-Id: I4ed61b46ade6b8a2f702a8669b33d83840d86270
… for easy maintenance Signed-off-by: Steve Jeong <[email protected]> Change-Id: Ieef76b76baa387454a174332168bd20b6d3e659b
gpiod is supported through circuitpython platform. odroid-wiringPi will operate faster gpio control as an advantage, so discard the gpiod. Signed-off-by: Steve Jeong <[email protected]> Change-Id: Ibce3c53a1e0c1b6ad1c066b0966ec0d0dcb07e58
Signed-off-by: Steve Jeong <[email protected]> Change-Id: I6756baefda6a49945fbf03790e4a0810164f9064
Signed-off-by: Steve Jeong <[email protected]> Change-Id: I4e803c6410efb4924473b17e6857848ee7edbe0a
Signed-off-by: Steve Jeong <[email protected]> Change-Id: I17b12bf8762a5beb1ab149074ab27eaac4234967
Signed-off-by: Steve Jeong <[email protected]> Change-Id: Ic3bf1cc6e2f0b8d46a9ff22c966780c634076e16
Signed-off-by: Steve Jeong <[email protected]> Change-Id: I379018ae50e6c2c43f0e53d9bc5986a2090d7818
Signed-off-by: xiane <[email protected]> Change-Id: I62c2c7ae7cc1458fbccbac260374f0f1251b209a
Signed-off-by: Steve Jeong <[email protected]> Change-Id: I7a4daa82410cc030884bf9468762b2cc502955bb
Change-Id: Id9839e55cdc557e608af6f29d831d8c1bd8de9fa
- Rev. 20250106 - Warning: Use only GPIO functions. Signed-off-by: YoungSoo Shin <[email protected]> Change-Id: I02623a284c047c6b5e485d28c9714ed8e65025df
- Rev. 20250106 Signed-off-by: YoungSoo Shin <[email protected]> Change-Id: I68581313c6bfe23b870380547e59249075aba3d0
Signed-off-by: YoungSoo Shin <[email protected]> Change-Id: I42bf4afda5a5cb6fc3996c12cb1cb192e58157d6
Signed-off-by: YoungSoo Shin <[email protected]> Change-Id: Ic8b90557cf9585759559d8869590df0233ba8280
Change-Id: I1f91f06f5c6ccad767c6219fcbb190206fd571fe
Signed-off-by: YoungSoo Shin <[email protected]> Change-Id: I64840ede68cd71966d8696ccccf091e88e16f9b2
Signed-off-by: YoungSoo Shin <[email protected]> Change-Id: I6f7c39567e56e5558ab7cd16c2efe21bb29dc21f (cherry picked from commit 45e673d119e53605ca973ced49332d1a47131f06)
Signed-off-by: YoungSoo Shin <[email protected]> Change-Id: I73553adfbe39f81b65d8d92ad83b42ab0007f408
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello, I would like to know how to use GPIOs in Android system. The final goal is to make some APK (using Android Studio etc) to control GPIO`s