{"action":"created","issue":{"url":"https://api.github.com/repos/platformio/platform-espressif32/issues/142","repository_url":"https://api.github.com/repos/platformio/platform-espressif32","labels_url":"https://api.github.com/repos/platformio/platform-espressif32/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/platformio/platform-espressif32/issues/142/comments","events_url":"https://api.github.com/repos/platformio/platform-espressif32/issues/142/events","html_url":"https://github.com/platformio/platform-espressif32/pull/142","id":383838471,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMjExNjQz","number":142,"title":"Adding ability to include arduino-esp32 as component for espidf builds","user":{"login":"atanisoft","id":6457044,"node_id":"MDQ6VXNlcjY0NTcwNDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/6457044?v=4","gravatar_id":"","url":"https://api.github.com/users/atanisoft","html_url":"https://github.com/atanisoft","followers_url":"https://api.github.com/users/atanisoft/followers","following_url":"https://api.github.com/users/atanisoft/following{/other_user}","gists_url":"https://api.github.com/users/atanisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/atanisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atanisoft/subscriptions","organizations_url":"https://api.github.com/users/atanisoft/orgs","repos_url":"https://api.github.com/users/atanisoft/repos","events_url":"https://api.github.com/users/atanisoft/events{/privacy}","received_events_url":"https://api.github.com/users/atanisoft/received_events","type":"User","site_admin":false},"labels":[{"id":796752062,"node_id":"MDU6TGFiZWw3OTY3NTIwNjI=","url":"https://api.github.com/repos/platformio/platform-espressif32/labels/feature","name":"feature","color":"123c9e","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":29,"created_at":"2018-11-23T14:12:09Z","updated_at":"2019-07-02T12:04:18Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/platformio/platform-espressif32/pulls/142","html_url":"https://github.com/platformio/platform-espressif32/pull/142","diff_url":"https://github.com/platformio/platform-espressif32/pull/142.diff","patch_url":"https://github.com/platformio/platform-espressif32/pull/142.patch"},"body":"fixes #24.\r\n\r\nBy adding the following to the sdkconfig.h in the project using framework=espidf the framework-arduinoesp32 code is automatically included/compiled.\r\n```\r\n#define ENABLE_ARDUINO_DEPENDS 1\r\n```\r\n\r\nThe default configuration is to require the application to define app_main as per usual with ESPIDF and call to arduinoInit(). By adding the following:\r\n```\r\n#define CONFIG_AUTOSTART_ARDUINO 1\r\n```\r\nthe arduino-esp32 app_main will instead be used and the application can instead use setup()/loop() which are more common in arduino applications."},"comment":{"url":"https://api.github.com/repos/platformio/platform-espressif32/issues/comments/507647143","html_url":"https://github.com/platformio/platform-espressif32/pull/142#issuecomment-507647143","issue_url":"https://api.github.com/repos/platformio/platform-espressif32/issues/142","id":507647143,"node_id":"MDEyOklzc3VlQ29tbWVudDUwNzY0NzE0Mw==","user":{"login":"sticilface","id":10061736,"node_id":"MDQ6VXNlcjEwMDYxNzM2","avatar_url":"https://avatars3.githubusercontent.com/u/10061736?v=4","gravatar_id":"","url":"https://api.github.com/users/sticilface","html_url":"https://github.com/sticilface","followers_url":"https://api.github.com/users/sticilface/followers","following_url":"https://api.github.com/users/sticilface/following{/other_user}","gists_url":"https://api.github.com/users/sticilface/gists{/gist_id}","starred_url":"https://api.github.com/users/sticilface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sticilface/subscriptions","organizations_url":"https://api.github.com/users/sticilface/orgs","repos_url":"https://api.github.com/users/sticilface/repos","events_url":"https://api.github.com/users/sticilface/events{/privacy}","received_events_url":"https://api.github.com/users/sticilface/received_events","type":"User","site_admin":false},"created_at":"2019-07-02T12:04:18Z","updated_at":"2019-07-02T12:04:18Z","author_association":"NONE","body":"ah ok.  this would be a great feature if @ivankravets would consider merging it.  I'm trying to get coredumps to work within the arduino-esp32 framework so i can debug an  easy to reproduce hard to debug crash. "}}
{"actor":{"display_login":"sticilface"}}