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

platform: Add Edison board to test PWM #99

Merged
merged 1 commit into from
Jun 27, 2019

Conversation

rzr
Copy link
Contributor

@rzr rzr commented Jun 27, 2019

It was tested on Intel edison on PWM0
GPIO12 must be manually configured first
using:

gpio=12
echo $gpio | sudo tee -a /sys/class/gpio/export
echo out | sudo tee /sys/class/gpio/gpio$gpio/direction
echo mode1 | sudo tee /sys/kernel/debug/gpio_debug/gpio${gpio}/current_pinmux

More insights at:

https://github.com/rzr/webthing-iotjs/wiki/Actuator

Relate-to: rzr/webthing-iotjs#3
Change-Id: I6f587a840e8c429d91ba2491e7cddfdfab66bf4b
Signed-off-by: Philippe Coval p.coval@samsung.com

It was tested on Intel edison on PWM0
GPIO12 must be manually configured first
using:

```sh
gpio=12
echo $gpio | sudo tee -a /sys/class/gpio/export
echo out | sudo tee /sys/class/gpio/gpio$gpio/direction
echo mode1 | sudo tee /sys/kernel/debug/gpio_debug/gpio${gpio}/current_pinmux
```

More insights at:

https://github.com/rzr/webthing-iotjs/wiki/Actuator

Relate-to: rzr/webthing-iotjs#3
Change-Id: I6f587a840e8c429d91ba2491e7cddfdfab66bf4b
Signed-off-by: Philippe Coval <p.coval@samsung.com>
@hobinjk
Copy link
Contributor

hobinjk commented Jun 27, 2019

Very cool! It would be nice to add that shell code as an accompanying configure.sh or as a comment in the code so that people know how to get started from the example

@rzr
Copy link
Contributor Author

rzr commented Jun 27, 2019

make file helper to come next

@rzr
Copy link
Contributor Author

rzr commented Jun 27, 2019

I start it using:

make -C example/platform edison

with that upcoming patch:

TizenTeam@8758e77

the reason that the change is split in several patch is to make my rebase job easier for iotjs

@mrstegeman mrstegeman merged commit 221f40a into WebThingsIO:master Jun 27, 2019
rzr added a commit to TizenTeam/webthing-node that referenced this pull request Jun 27, 2019
Usage:

    make -C example/platform edison

Align older rpi related bits

Relate-to: WebThingsIO#99
Change-Id: Id55d10d4385174b8906c2fcf1ab066ebbc37ca2b
Signed-off-by: Philippe Coval <p.coval@samsung.com>
mrstegeman pushed a commit that referenced this pull request Jun 27, 2019
Usage:

    make -C example/platform edison

Align older rpi related bits

Relate-to: #99
Change-Id: Id55d10d4385174b8906c2fcf1ab066ebbc37ca2b
Signed-off-by: Philippe Coval <p.coval@samsung.com>
rzr added a commit to rzr/webthing-iotjs that referenced this pull request Jun 28, 2019
Usage:

    make -C example/platform edison

Align older rpi related bits

Relate-to: WebThingsIO/webthing-node#99
Change-Id: Id55d10d4385174b8906c2fcf1ab066ebbc37ca2b
Signed-off-by: Philippe Coval <p.coval@samsung.com>
rzr added a commit to TizenTeam/webthing-node that referenced this pull request Jul 4, 2019
It was tested on Intel edison on PWM0
GPIO12 must be manually configured first
using:

```sh
gpio=12
echo $gpio | sudo tee -a /sys/class/gpio/export
echo out | sudo tee /sys/class/gpio/gpio$gpio/direction
echo mode1 | sudo tee /sys/kernel/debug/gpio_debug/gpio${gpio}/current_pinmux
```

More insights at:

https://github.com/rzr/webthing-iotjs/wiki/Actuator

Relate-to: rzr/webthing-iotjs#3
Change-Id: I6f587a840e8c429d91ba2491e7cddfdfab66bf4b
Signed-off-by: Philippe Coval <p.coval@samsung.com>
rzr added a commit to TizenTeam/webthing-node that referenced this pull request Jul 5, 2019
It was tested on Intel edison on PWM0
GPIO12 must be manually configured first
using:

```sh
gpio=12
echo $gpio | sudo tee -a /sys/class/gpio/export
echo out | sudo tee /sys/class/gpio/gpio$gpio/direction
echo mode1 | sudo tee /sys/kernel/debug/gpio_debug/gpio${gpio}/current_pinmux
```

More insights at:

https://github.com/rzr/webthing-iotjs/wiki/Actuator

Relate-to: rzr/webthing-iotjs#3
Change-Id: I6f587a840e8c429d91ba2491e7cddfdfab66bf4b
Signed-off-by: Philippe Coval <p.coval@samsung.com>
rzr added a commit to TizenTeam/webthing-node that referenced this pull request Jul 5, 2019
Usage:

    make -C example/platform edison

Align older rpi related bits

Relate-to: WebThingsIO#99
Change-Id: Id55d10d4385174b8906c2fcf1ab066ebbc37ca2b
Signed-off-by: Philippe Coval <p.coval@samsung.com>
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.

3 participants