05:22
AadityaNair has quit [Ping timeout: 252 seconds]
05:24
AadityaNair has joined #soletta
05:45
AadityaNair has quit [Ping timeout: 250 seconds]
05:46
AadityaNair has joined #soletta
05:51
AadityaNair has quit [Ping timeout: 240 seconds]
05:53
AadityaNair has joined #soletta
11:12
anselmolsm has joined #soletta
11:28
aguedes has joined #soletta
11:49
caiortp has joined #soletta
12:18
lizardo has joined #soletta
12:40
AadityaNair has quit [Ping timeout: 240 seconds]
12:41
AadityaNair has joined #soletta
12:54
kamidi_preetham has joined #soletta
12:57
mbelluzzo has joined #soletta
13:06
iscaro has joined #soletta
13:13
AadityaNair has quit [Ping timeout: 248 seconds]
13:26
ricardotk has joined #soletta
13:40
kamidi_preetham has quit [Ping timeout: 250 seconds]
13:40
kamidi_preetham_ has joined #soletta
13:43
tomz has joined #soletta
13:43
tomz is now known as Guest32550
13:44
kamidi_preetham_ has quit [Ping timeout: 250 seconds]
13:48
ceolin[AWAY] is now known as ceolin
13:59
bdilly has joined #soletta
14:05
aguedes has left #soletta [#soletta]
14:13
glima has joined #soletta
14:25
AadityaNair has joined #soletta
14:48
anselmolsm has quit [Remote host closed the connection]
15:26
anselmolsm has joined #soletta
16:40
aguedes has joined #soletta
17:00
kamidi_preetham has joined #soletta
17:12
<
jimmy1 >
glima: i've tried using the soletta c api to write to the gpio pin on the arduino, but i am hitting this error, any idea if gpio on zephyr is working?
17:12
<
jimmy1 >
failed to open gpio pin=16 for writing.
17:12
<
jimmy1 >
WRN:sol-gpio ./src/lib/io/sol-gpio-impl-zephyr.c:110 sol_gpio_open_raw() device == NULL
17:14
<
glima >
jimmy1: which gpio driver is supposed to match the platform? dw?
17:14
<
Sachiel >
jimmy1: arc?
17:15
<
Sachiel >
I don't think you'll get any gpio working there
17:15
<
jimmy1 >
i've got the zypher sample gpio working that writes to pin 16, io8pin
17:17
<
Sachiel >
what device name it uses to get it?
17:18
<
Sachiel >
that's samples/drivers/gpio?
17:18
<
jimmy1 >
yeah, i wrote my own derived from that
17:19
<
Sachiel >
what are you passing to device_get_binding?
17:19
<
jimmy1 >
i am just calling gpio = sol_gpio_open(pin, &cfg);
17:20
<
jimmy1 >
i think it's handled by soletta api itself?
17:20
<
glima >
so it's GPIO_0
17:20
<
Sachiel >
on soletta it is, but what is the name on the plain sample that works?
17:20
<
glima >
you got to make sure the kernel exposes that exactly as well
17:20
<
Sachiel >
jimmy1: check in outdir/.config if that name is there
17:21
aguedes has quit [Remote host closed the connection]
17:22
<
jimmy1 >
CONFIG_GPIO_DW_0_NAME="GPIO_0"
17:22
<
glima >
do you have GPIO=y, GPIO_DW=y as well?
17:22
<
glima >
CONFIG_GPIO=y
17:22
<
glima >
CONFIG_GPIO_DW=y
17:22
<
glima >
CONFIG_GPIO_DW_0=y
17:23
<
jimmy1 >
well, in the zephyr one, i do, let me check the soletta one
17:24
<
jimmy1 >
not in the soletta one, none of them is set
17:25
<
glima >
well, it won't enable gpio in the kernel without those
17:25
aguedes has joined #soletta
17:25
<
jimmy1 >
so how do i enable them? just add it to prj.conf?
17:26
<
jimmy1 >
ok, i'll try, thanks :)
17:36
lolsec has joined #soletta
17:37
<
lolsec >
isn't there testing module for sml?. i was unable to find it
17:37
<
lolsec >
in soletta it is there
17:37
<
iscaro >
lolsec, well, we have the samples
17:37
<
iscaro >
and examples
17:37
<
iscaro >
the simulator..
17:38
<
lolsec >
ohh.so for testing we are relying on running sml on sample and simulator data
17:39
<
lolsec >
can you tell where interfacing between fann and sml_ann is? i can take idea from it
17:40
<
lolsec >
i mean sml_ann is using fann library
17:41
<
iscaro >
lolsec, one sec
17:41
<
iscaro >
lolsec, look at sml_ann_bridge.c
17:41
<
iscaro >
lolsec, from there sml calls fann directly
17:42
<
iscaro >
lolsec, and sml_fuzzy_bridge.cpp for fuzzy
17:43
<
lolsec >
yeah got it .thanks :]
17:43
<
lolsec >
sml_ann_support is for checking if fann support is there?
17:44
<
iscaro >
ann_support/fuzzy_support is only used when you compile sml withou the respective backend
17:45
<
lolsec >
okay. also I got to know about openIoT summit presentation by soletta. is there any link for that
17:45
<
iscaro >
hmm, I don't know
17:48
Sachiel has quit [Remote host closed the connection]
17:49
Sachiel has joined #soletta
17:54
Guest32550 has quit [Ping timeout: 276 seconds]
18:20
cmarcelo has quit [Quit: Leaving]
18:22
lolsec has quit [Quit: Page closed]
18:25
<
jimmy1 >
glima: Sachiel: gpio working now, after adding the config, thanks
18:26
<
glima >
jimmy1: me gusta
18:33
<
jimmy1 >
glima: how big is soletta in terms of library size? i see the zephyr.bin file with my simple gpio app aroud 43k, so soletta around 30k?
18:33
<
glima >
jimmy1: we did not make official measurements yet
18:34
<
glima >
jimmy1: use nm
18:35
<
glima >
we're small, but we still did not tackle mem optimization everywhere we could
18:35
<
glima >
(we only started that)
18:41
kamidi_preetham has quit [Ping timeout: 250 seconds]
18:45
ceolin is now known as ceolin[AWAY]
18:47
ceolin[AWAY] is now known as ceolin
18:55
bdilly has quit [Remote host closed the connection]
18:56
bdilly has joined #soletta
18:56
bdilly has joined #soletta
18:57
kamidi_preetham has joined #soletta
19:41
caiortp has quit [Remote host closed the connection]
19:45
tomz has joined #soletta
19:45
kamidi_preetham has quit [Quit: Page closed]
19:46
tomz is now known as Guest89633
20:01
mbelluzzo has quit [Ping timeout: 244 seconds]
20:05
mbelluzzo has joined #soletta
21:50
mbelluzzo has quit [Quit: Leaving]
21:50
anselmolsm has quit [Quit: Konversation terminated!]
21:57
iscaro has quit [Remote host closed the connection]
22:02
glima has quit [Remote host closed the connection]
22:09
ceolin is now known as ceolin[AWAY]
22:26
ricardotk has quit [Quit: vlwflw]
23:14
aguedes has quit [Quit: Leaving.]