anselmolsm has quit [Remote host closed the connection]
zkis has joined #soletta
anselmolsm has joined #soletta
Sachiel has joined #soletta
spoussa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ceolin[AWAY] is now known as ceolin
jeez_ has joined #soletta
acidx has joined #soletta
glima has joined #soletta
zkis has quit [Ping timeout: 276 seconds]
aguedes has joined #soletta
ricardotk has joined #soletta
aguedes has quit [Quit: Leaving.]
aguedes has joined #soletta
ceolin is now known as ceolin[AWAY]
zehortigoza has joined #soletta
ceolin[AWAY] is now known as ceolin
mbelluzzo has joined #soletta
zkis has joined #soletta
bdilly has joined #soletta
_whitelogger has joined #soletta
bsmelo has quit [Remote host closed the connection]
lstrano has joined #soletta
zkis has quit [Ping timeout: 276 seconds]
zehortigoza has joined #soletta
bsmelo has joined #soletta
<bsmelo>
hi guys
<bsmelo>
what's the correct way to use uncrustify?
<acidx>
Use tools/check-stype.py
<acidx>
Er... check-style.py
<bsmelo>
to test it, I just modified a file to have the '{' at the wrong place, and my pre-commit hook got it
<bsmelo>
sure, I've put that on the pre-commit hook... and then when I try to commit I get a message
<bsmelo>
I should just go there manually and perform the changes suggested?
<bsmelo>
I though it would be automatic, since it already knows what needs to be changed
<acidx>
There's an option to check-style to apply the changes automatically
<acidx>
Yeah, the problem is that uncrustify isn't that smart
<bsmelo>
the message talks about a new file called lwm2m-client.c.uncrustify, but I don't see it either
<bsmelo>
hmm, I see
<ceolin>
bsmelo: i recommend you run the script manually. It takes in consideration the whole file, because of this a lot of errors not introduced by you can appears
<otaviobp>
ceolin: have you (or anyone else) updated the uncrustify in semaphore? I am getting errors that are only occuring in old versions
<ceolin>
otaviobp: nope, but i think we should
<ceolin>
the output of the new version seems a little bit better
<otaviobp>
ceolin: yep
<acidx>
Isn't it part of the code repository? If it's picking up an older config file then it's likely something else
<glima>
acidx: the config for uncrustify is the same, but a newer version outputs a different diff even though
<bsmelo>
I see the script tries to load "data/schemas/uncrustify.schema", but I don't see this file. Should I [see it]?
<glima>
inside soletta, yes
<bsmelo>
oh, my bad.
<bsmelo>
I though it would be inside tools
zkis has joined #soletta
jeez_ has quit [Ping timeout: 252 seconds]
jeez_ has joined #soletta
ceolin is now known as ceolin[AWAY]
ceolin[AWAY] is now known as ceolin
zkis has quit [Ping timeout: 260 seconds]
zkis has joined #soletta
glima has quit [Ping timeout: 244 seconds]
glima has joined #soletta
zkis has quit [Ping timeout: 244 seconds]
glima has quit [Ping timeout: 260 seconds]
glima has joined #soletta
caiortp has quit [Quit: Ex-Chat]
caiortp has joined #soletta
ceolin is now known as ceolin[AWAY]
ceolin[AWAY] is now known as ceolin
babu_ has quit [Read error: Connection reset by peer]
babu_ has joined #soletta
otaviobp has quit [Quit: WeeChat 1.4]
caiortp has quit [Remote host closed the connection]
anselmolsm has quit [Quit: Konversation terminated!]
<jimmy1>
glima: does analog IO work on zephyr? like reading input from analog pins from Arduino, does it require enabling some other configs similar to CONFIG_GPIO?
<glima>
jimmy1: any i/o on zephyr will involve turning the driver on by CONFIG_* means
<glima>
jimmy1: and yes, aio has been tested and it works
<glima>
ederson: ^
<glima>
jimmy1: it's commonly only exposed to SS (arc), though
<glima>
be warned
<glima>
we get access to that by running soletta on arc
<glima>
we're on the process of defining an user-friendly way of passing data around from lakemont to arc and back with soletta (se dev list)
<jimmy1>
which CONFIG would that be? I don't see a CONFIG_AIO in there
<glima>
this should help having two flows communicating with the other, on each core
<glima>
lemme see
<glima>
menuconfig ADC
<glima>
jimmy1: ^
<jimmy1>
ok, thanks
<glima>
np
<jimmy1>
also, it expects the pin to be a char*, do i pass in like "A0" for the A0 pin? what is the mapping for analog pins?
<glima>
jimmy1: please use raw pins on zephyr
<glima>
some pin number, as in 23
<glima>
"23"
<glima>
gotta go
<jimmy1>
oh, ok
<jimmy1>
i'll try, thanks
glima has quit [Remote host closed the connection]
ceolin is now known as ceolin[AWAY]
Guest24120 is now known as ifdef42
ricardotk has quit [Quit: vlwflw]
mbelluzzo has quit [Quit: Leaving]
bsmelo has quit [Remote host closed the connection]