{"action":"created","issue":{"url":"https://api.github.com/repos/SmingHub/Sming/issues/985","repository_url":"https://api.github.com/repos/SmingHub/Sming","labels_url":"https://api.github.com/repos/SmingHub/Sming/issues/985/labels{/name}","comments_url":"https://api.github.com/repos/SmingHub/Sming/issues/985/comments","events_url":"https://api.github.com/repos/SmingHub/Sming/issues/985/events","html_url":"https://github.com/SmingHub/Sming/pull/985","id":210234202,"number":985,"title":"complete refactored makefile","user":{"login":"tius2000","id":19631492,"avatar_url":"https://avatars2.githubusercontent.com/u/19631492?v=3","gravatar_id":"","url":"https://api.github.com/users/tius2000","html_url":"https://github.com/tius2000","followers_url":"https://api.github.com/users/tius2000/followers","following_url":"https://api.github.com/users/tius2000/following{/other_user}","gists_url":"https://api.github.com/users/tius2000/gists{/gist_id}","starred_url":"https://api.github.com/users/tius2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tius2000/subscriptions","organizations_url":"https://api.github.com/users/tius2000/orgs","repos_url":"https://api.github.com/users/tius2000/repos","events_url":"https://api.github.com/users/tius2000/events{/privacy}","received_events_url":"https://api.github.com/users/tius2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/SmingHub/Sming/milestones/10","html_url":"https://github.com/SmingHub/Sming/milestone/10","labels_url":"https://api.github.com/repos/SmingHub/Sming/milestones/10/labels","id":2339766,"number":10,"title":"3.2.0","description":null,"creator":{"login":"slaff","id":247452,"avatar_url":"https://avatars0.githubusercontent.com/u/247452?v=3","gravatar_id":"","url":"https://api.github.com/users/slaff","html_url":"https://github.com/slaff","followers_url":"https://api.github.com/users/slaff/followers","following_url":"https://api.github.com/users/slaff/following{/other_user}","gists_url":"https://api.github.com/users/slaff/gists{/gist_id}","starred_url":"https://api.github.com/users/slaff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slaff/subscriptions","organizations_url":"https://api.github.com/users/slaff/orgs","repos_url":"https://api.github.com/users/slaff/repos","events_url":"https://api.github.com/users/slaff/events{/privacy}","received_events_url":"https://api.github.com/users/slaff/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2017-02-22T07:24:33Z","updated_at":"2017-03-06T09:18:08Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2017-02-25T13:19:12Z","updated_at":"2017-03-06T09:19:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SmingHub/Sming/pulls/985","html_url":"https://github.com/SmingHub/Sming/pull/985","diff_url":"https://github.com/SmingHub/Sming/pull/985.diff","patch_url":"https://github.com/SmingHub/Sming/pull/985.patch"},"body":"I recently started to create completely refactored makefile _sming.mk_ for my rboot projects with many additions:\r\n\r\n* automatic flash address caclulation \r\n* automatic linker script creation\r\n* dependency tracking for spiffs sources\r\n* dependency tracking for all header files included in cpp and c sources\r\n* memanalyzer added\r\n* automatic patch of _esp_init_data_default.bin_ for _system_get_vdd33()_ \r\n* improved terminal handling for windows\r\n\r\nWhen reorganizing the file, I tried hard to group things that belong together. However, this is still work in progress, so any comments are very welcome! It has a different name, so there are no collisions with the current makefiles. To use it, simple include it from your project makefile (see example). Perl is used for the address calcalculation and must be installed.\r\n\r\nOS-specific files for Windows, Linux, Darvin and FreeBSD are provided, but only the Windows has been tested so far (appart from the Travis build test).\r\n\r\nIt is up to the maintainers, whether this could be a starting point for a new unified makefile or might just serve as an inspiration for further development of the existing makefiles.\r\n\r\nto do:\r\n\r\n* roms without bootloader\r\n* use Python if Perl is not available\r\n* LTO?\r\n"},"comment":{"url":"https://api.github.com/repos/SmingHub/Sming/issues/comments/284342657","html_url":"https://github.com/SmingHub/Sming/pull/985#issuecomment-284342657","issue_url":"https://api.github.com/repos/SmingHub/Sming/issues/985","id":284342657,"user":{"login":"slaff","id":247452,"avatar_url":"https://avatars0.githubusercontent.com/u/247452?v=3","gravatar_id":"","url":"https://api.github.com/users/slaff","html_url":"https://github.com/slaff","followers_url":"https://api.github.com/users/slaff/followers","following_url":"https://api.github.com/users/slaff/following{/other_user}","gists_url":"https://api.github.com/users/slaff/gists{/gist_id}","starred_url":"https://api.github.com/users/slaff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slaff/subscriptions","organizations_url":"https://api.github.com/users/slaff/orgs","repos_url":"https://api.github.com/users/slaff/repos","events_url":"https://api.github.com/users/slaff/events{/privacy}","received_events_url":"https://api.github.com/users/slaff/received_events","type":"User","site_admin":false},"created_at":"2017-03-06T09:19:59Z","updated_at":"2017-03-06T09:19:59Z","body":">  something a *nix user probably would use sed for.\r\n\r\nThen, please, replace it with `sed`. Sed is also part of cygwin/mingw for Windows.\r\n"}}
{"actor":{"display_login":"slaff"}}