{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2849","repository_url":"https://api.github.com/repos/ARMmbed/mbed-os","labels_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2849/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2849/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2849/events","html_url":"https://github.com/ARMmbed/mbed-os/pull/2849","id":179769749,"number":2849,"title":"Fix nordic critical section entry and exit ","user":{"login":"pan-","id":409941,"avatar_url":"https://avatars.githubusercontent.com/u/409941?v=3","gravatar_id":"","url":"https://api.github.com/users/pan-","html_url":"https://github.com/pan-","followers_url":"https://api.github.com/users/pan-/followers","following_url":"https://api.github.com/users/pan-/following{/other_user}","gists_url":"https://api.github.com/users/pan-/gists{/gist_id}","starred_url":"https://api.github.com/users/pan-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pan-/subscriptions","organizations_url":"https://api.github.com/users/pan-/orgs","repos_url":"https://api.github.com/users/pan-/repos","events_url":"https://api.github.com/users/pan-/events{/privacy}","received_events_url":"https://api.github.com/users/pan-/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/needs:%20CI","name":"needs: CI","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-28T13:16:59Z","updated_at":"2016-09-29T07:03:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/2849","html_url":"https://github.com/ARMmbed/mbed-os/pull/2849","diff_url":"https://github.com/ARMmbed/mbed-os/pull/2849.diff","patch_url":"https://github.com/ARMmbed/mbed-os/pull/2849.patch"},"body":"## Description\r\n\r\nThe default implementation of critical sections provided by mbed doesn't fit with the Nordic softdevice because it might blocks critical interrupts related to the radio management. \r\n\r\nThe Nordic softdevice provides primitives to enter or exit a critical sections without disrupting IRQs used for radio management. \r\n\r\nThis PR does three things: \r\n* Tag the default implementation of `core_util_critical_section_enter` and `core_util_critical_section_exit` as weak symbols so it can be overridden from somewhere else.\r\n* Provides an implementation of `core_util_critical_section_enter` and `core_util_critical_section_exit` for the Nordic SDK v10 (used by legacy or not up to date targets).\r\n* Provides another  implementation of `core_util_critical_section_enter` and `core_util_critical_section_exit` for the V11 of the Nordic SDK.\r\n\r\n\r\n## Status\r\n**READY**\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/comments/250386943","html_url":"https://github.com/ARMmbed/mbed-os/pull/2849#issuecomment-250386943","issue_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2849","id":250386943,"user":{"login":"nvlsianpu","id":17042885,"avatar_url":"https://avatars.githubusercontent.com/u/17042885?v=3","gravatar_id":"","url":"https://api.github.com/users/nvlsianpu","html_url":"https://github.com/nvlsianpu","followers_url":"https://api.github.com/users/nvlsianpu/followers","following_url":"https://api.github.com/users/nvlsianpu/following{/other_user}","gists_url":"https://api.github.com/users/nvlsianpu/gists{/gist_id}","starred_url":"https://api.github.com/users/nvlsianpu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvlsianpu/subscriptions","organizations_url":"https://api.github.com/users/nvlsianpu/orgs","repos_url":"https://api.github.com/users/nvlsianpu/repos","events_url":"https://api.github.com/users/nvlsianpu/events{/privacy}","received_events_url":"https://api.github.com/users/nvlsianpu/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T07:03:19Z","updated_at":"2016-09-29T07:03:19Z","body":"It looks good to me."}}
{"actor":{"display_login":"nvlsianpu"}}