{"action":"closed","issue":{"url":"https://api.github.com/repos/platformio/platform-nxplpc/issues/5","repository_url":"https://api.github.com/repos/platformio/platform-nxplpc","labels_url":"https://api.github.com/repos/platformio/platform-nxplpc/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/platformio/platform-nxplpc/issues/5/comments","events_url":"https://api.github.com/repos/platformio/platform-nxplpc/issues/5/events","html_url":"https://github.com/platformio/platform-nxplpc/issues/5","id":252787444,"node_id":"MDU6SXNzdWUyNTI3ODc0NDQ=","number":5,"title":"RTOS thread not work on LPC1768 board","user":{"login":"32duino","id":30950442,"node_id":"MDQ6VXNlcjMwOTUwNDQy","avatar_url":"https://avatars0.githubusercontent.com/u/30950442?v=4","gravatar_id":"","url":"https://api.github.com/users/32duino","html_url":"https://github.com/32duino","followers_url":"https://api.github.com/users/32duino/followers","following_url":"https://api.github.com/users/32duino/following{/other_user}","gists_url":"https://api.github.com/users/32duino/gists{/gist_id}","starred_url":"https://api.github.com/users/32duino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/32duino/subscriptions","organizations_url":"https://api.github.com/users/32duino/orgs","repos_url":"https://api.github.com/users/32duino/repos","events_url":"https://api.github.com/users/32duino/events{/privacy}","received_events_url":"https://api.github.com/users/32duino/received_events","type":"User","site_admin":false},"labels":[{"id":383565986,"node_id":"MDU6TGFiZWwzODM1NjU5ODY=","url":"https://api.github.com/repos/platformio/platform-nxplpc/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-08-25T03:14:42Z","updated_at":"2018-07-20T15:08:06Z","closed_at":"2018-07-20T15:08:06Z","author_association":"NONE","body":"RTOS thread not work on LPC1768 board. but same code work fine on stm32f103rb and FRDM K64F\r\n\r\nConfiguration\r\n\r\nWin 7 64bit operate system:\r\n\r\nPlatformIO Version:\r\nAtom + PlatformIO IDE 2.0.0-beta.8 Core 3.5.0.a4\r\n\r\nThe content of platformio.ini:\r\n```\r\n[env:lpc1768]\r\nplatform = nxplpc\r\nboard = lpc1768\r\nframework = mbed\r\nbuild_flags = -Wall -lc -DPIO_FRAMEWORK_MBED_RTOS_PRESENT\r\n```\r\n\r\nSource file to reproduce issue:\r\n```\r\n#include \"mbed.h\"\r\n#include \"rtos.h\"\r\n\r\nDigitalOut led1(LED1);\r\nDigitalOut led2(LED2);\r\nThread thread;\r\n\r\nvoid led2_thread() {\r\nwhile (true) {\r\nled2 = !led2;\r\nThread::wait(1000);\r\n}\r\n}\r\n\r\nint main() {\r\nthread.start(led2_thread);\r\n\r\nwhile (true) {\r\n    led1 = !led1;\r\n    Thread::wait(500);\r\n}\r\n}\r\n```\r\n\r\n\r\n<bountysource-plugin>\r\n\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/48623862-rtos-thread-not-work-on-lpc1768-board?utm_campaign=plugin&utm_content=tracker%2F38218499&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F38218499&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}
{"actor":{"display_login":"ivankravets"}}