{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5407","repository_url":"https://api.github.com/repos/RIOT-OS/RIOT","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5407/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5407/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5407/events","html_url":"https://github.com/RIOT-OS/RIOT/issues/5407","id":151838077,"number":5407,"title":"Networking not working while 'gpio_init_int' for button added","user":{"login":"Nordzisko","id":11806065,"avatar_url":"https://avatars.githubusercontent.com/u/11806065?v=3","gravatar_id":"","url":"https://api.github.com/users/Nordzisko","html_url":"https://github.com/Nordzisko","followers_url":"https://api.github.com/users/Nordzisko/followers","following_url":"https://api.github.com/users/Nordzisko/following{/other_user}","gists_url":"https://api.github.com/users/Nordzisko/gists{/gist_id}","starred_url":"https://api.github.com/users/Nordzisko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nordzisko/subscriptions","organizations_url":"https://api.github.com/users/Nordzisko/orgs","repos_url":"https://api.github.com/users/Nordzisko/repos","events_url":"https://api.github.com/users/Nordzisko/events{/privacy}","received_events_url":"https://api.github.com/users/Nordzisko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/arm","name":"arm","color":"dddddd"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/Device%20driver","name":"Device driver","color":"aaffff"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/network","name":"network","color":"8f00cc"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"PeterKietzmann","id":7765855,"avatar_url":"https://avatars.githubusercontent.com/u/7765855?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterKietzmann","html_url":"https://github.com/PeterKietzmann","followers_url":"https://api.github.com/users/PeterKietzmann/followers","following_url":"https://api.github.com/users/PeterKietzmann/following{/other_user}","gists_url":"https://api.github.com/users/PeterKietzmann/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterKietzmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterKietzmann/subscriptions","organizations_url":"https://api.github.com/users/PeterKietzmann/orgs","repos_url":"https://api.github.com/users/PeterKietzmann/repos","events_url":"https://api.github.com/users/PeterKietzmann/events{/privacy}","received_events_url":"https://api.github.com/users/PeterKietzmann/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2016-04-29T10:36:00Z","updated_at":"2016-05-20T06:27:53Z","closed_at":null,"body":"Hello guys,\r\n\r\nI am working on STM32F3Discovery with Atmel AT86RF233 radio, trying to run microcoap server. Everything is working, while I dont add initialization for user button BTN_B1_PIN. \r\n\r\nNetworking is working well, but when I add this \r\n\r\n`gpio_init_int(BTN_B1_PIN, GPIO_IN, GPIO_RISING, cb, (void*) 0);`\r\n\r\ninto microcoap_server main.c, the networking stop working. \r\nThis is how function cb looks like:\r\n\r\n` int flag_stav_2 = 0;\r\n\r\nvoid cb(void *arg)\r\n{\r\n\tif ( flag_stav_2 == 0 )\t\r\n\t{\r\n\t\tLED5_ON;\r\n\t\tLED6_ON;\t\r\n\t\tflag_stav_2 = 1;\r\n\t}\r\n\telse \r\n\t{ \r\n\t\tLED5_OFF;\r\n\t\tLED6_OFF;\t\r\n\t\tflag_stav_2 = 0;\r\n\t}\r\n}`\r\n\r\n\r\nAfter adding that line interrupt is working, but networking don't. \r\n\r\nDo you know what can be an issue ? \r\nThanks"},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/220527544","html_url":"https://github.com/RIOT-OS/RIOT/issues/5407#issuecomment-220527544","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/5407","id":220527544,"user":{"login":"PeterKietzmann","id":7765855,"avatar_url":"https://avatars.githubusercontent.com/u/7765855?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterKietzmann","html_url":"https://github.com/PeterKietzmann","followers_url":"https://api.github.com/users/PeterKietzmann/followers","following_url":"https://api.github.com/users/PeterKietzmann/following{/other_user}","gists_url":"https://api.github.com/users/PeterKietzmann/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterKietzmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterKietzmann/subscriptions","organizations_url":"https://api.github.com/users/PeterKietzmann/orgs","repos_url":"https://api.github.com/users/PeterKietzmann/repos","events_url":"https://api.github.com/users/PeterKietzmann/events{/privacy}","received_events_url":"https://api.github.com/users/PeterKietzmann/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T06:27:53Z","updated_at":"2016-05-20T06:27:53Z","body":"`gpio_init_int()` initializes \"any\" pin as external interrupt source. Thy pin may not be connected to a button but you can apply low-high or high-low transitions as well, to trigger an interrupt. With that proposal I wanted to figure out if your problem is still about pin conflicts or if there's something going wrong in the driver, especially looking at the ISR"}}
{"actor":{"display_login":"PeterKietzmann"}}