Skip to content

sysfs mappings for ARTIK 710 #80

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
wants to merge 61 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
be20125
first stab at ARTIK 710 mapping, woefully incomplete
jcomeauictx Jul 4, 2017
86b961a
found another source
jcomeauictx Jul 4, 2017
b1e414c
correction
jcomeauictx Jul 4, 2017
ce7a55d
for some reason ldconfig did not get run, possibly because I ran `make
jcomeauictx Jul 4, 2017
06b685e
fixes sigsegv when ignorant programmer doesn't use `open` or
jcomeauictx Jul 7, 2017
75f7109
[[ is a bashism
jcomeauictx Jul 8, 2017
92d699f
ln on older BBB doesn't have `r` option
jcomeauictx Jul 9, 2017
8064be9
more consistent indentation
jcomeauictx Jul 10, 2017
ea88f75
finished indentation for lib/
jcomeauictx Jul 10, 2017
497d394
added more pins that can only be used with device overlays
jcomeauictx Jul 11, 2017
8c33c95
about to test __enter__ and __exit__
jcomeauictx Jul 13, 2017
fc63934
possibly dodgy changes to operation, should *not* affect current code
jcomeauictx Jul 14, 2017
c73d891
using threading.Thread internals. sloppy, but should work for now.
jcomeauictx Jul 14, 2017
db9c0b5
last try didn't work: AttributeError: 'InterruptHandler' object has no
jcomeauictx Jul 14, 2017
2dfbe0c
ugh. empty tuple.
jcomeauictx Jul 14, 2017
600ae4f
doesn't work yet
jcomeauictx Jul 14, 2017
fab2905
still doesn't work but at least keeps going until ^C
jcomeauictx Jul 14, 2017
dfdf002
AttributeError: 'GPIO' object has no attribute 'is_low'
jcomeauictx Jul 14, 2017
aa7a716
works but ^C just hangs with optimization
jcomeauictx Jul 14, 2017
89ea02e
finally works
jcomeauictx Jul 14, 2017
770a836
about to test adc, copied from pwm sources and modified
jcomeauictx Jul 20, 2017
8c405bd
fixed buggy code
jcomeauictx Jul 20, 2017
1446a9b
untested changes to lib/adc.c and untested testcase
jcomeauictx Jul 20, 2017
77cca37
use the correct functions
jcomeauictx Jul 20, 2017
3335200
added Makefile for test, needs to be fleshed out
jcomeauictx Jul 20, 2017
6035407
jcomeau@aspire:/usr/src/libsoc$ make -C test adc_test
jcomeauictx Jul 20, 2017
1734cc4
more bugs fixed
jcomeauictx Jul 20, 2017
0bd4ba6
implicit rules aren't chaining for some reason, so kludged it
jcomeauictx Jul 20, 2017
357f8b3
fixed bug and hopefully segfault crash
jcomeauictx Jul 20, 2017
d01a149
another attempt to solve segfault
jcomeauictx Jul 20, 2017
06c810a
string was not being formatted
jcomeauictx Jul 20, 2017
4de0f74
fix newline problem on ADC read
jcomeauictx Jul 20, 2017
44e8b81
obiwan error
jcomeauictx Jul 20, 2017
2b79ca5
adding Python test for adc, untested
jcomeauictx Jul 20, 2017
a520efe
working on adc_test.py
jcomeauictx Jul 20, 2017
8c0cd4b
enabled low-level debugging
jcomeauictx Jul 20, 2017
862cb58
debugging ADC Python test
jcomeauictx Jul 20, 2017
73f9200
bugfix for adc_test, untested pwm_test
jcomeauictx Jul 20, 2017
cdd2a9e
still debugging adc and pwm
jcomeauictx Jul 20, 2017
a5404f7
debugging adc support
jcomeauictx Jul 20, 2017
f1db3a9
constants were not found
jcomeauictx Jul 20, 2017
d21f5b8
trying another way to import constants
jcomeauictx Jul 20, 2017
a3debce
fixing adc and pwm python modules
jcomeauictx Jul 20, 2017
0d0f7cd
I had the mapping of POLARITY wrong
jcomeauictx Jul 20, 2017
b20f955
another round of debugging
jcomeauictx Jul 21, 2017
130eb53
pwm_test now takes args, Makefile will pass them
jcomeauictx Jul 21, 2017
a454c62
got bit by the failure to "open" again
jcomeauictx Jul 21, 2017
9d562f9
still debugging pwm Python module
jcomeauictx Jul 21, 2017
29aee8f
yet more debugging
jcomeauictx Jul 21, 2017
26d4f42
PWM not setting initial values as passed in
jcomeauictx Jul 21, 2017
0f7e9ee
shows args
jcomeauictx Jul 21, 2017
d535c9b
atol fails on ARTIK, returns 0
jcomeauictx Jul 21, 2017
9ca3242
turns out the problem with atol wasn't. I just entered the args as for
jcomeauictx Jul 21, 2017
baef0f8
changed order to match pwm_test.c, maybe fixed settings problem
jcomeauictx Jul 21, 2017
d8478cd
fixing misleading "error" in pwm.c
jcomeauictx Jul 21, 2017
fef36ce
make it easier to test individual ADCs
jcomeauictx Jul 21, 2017
63c0915
fixed conversion of 0 to None
jcomeauictx Jul 21, 2017
6136331
eliminate unnecessary traceback
jcomeauictx Jul 21, 2017
9097884
maybe fixed segfault bug
jcomeauictx Jul 21, 2017
d3c457c
another segfault hopefully fixed :le sigh:
jcomeauictx Jul 21, 2017
9c160a5
Merge remote-tracking branch 'original/master'
jcomeauictx Mar 10, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ test/gpio_test
test/spi_test
test/i2c_test
test/pwm_test
test/adc_test
libtool
libsoc.pc
*.la
Expand Down
Loading