{"action":"created","issue":{"url":"https://api.github.com/repos/SmingHub/Sming/issues/332","labels_url":"https://api.github.com/repos/SmingHub/Sming/issues/332/labels{/name}","comments_url":"https://api.github.com/repos/SmingHub/Sming/issues/332/comments","events_url":"https://api.github.com/repos/SmingHub/Sming/issues/332/events","html_url":"https://github.com/SmingHub/Sming/issues/332","id":110788892,"number":332,"title":"Basic rboot","user":{"login":"flexiti","id":11538048,"avatar_url":"https://avatars.githubusercontent.com/u/11538048?v=3","gravatar_id":"","url":"https://api.github.com/users/flexiti","html_url":"https://github.com/flexiti","followers_url":"https://api.github.com/users/flexiti/followers","following_url":"https://api.github.com/users/flexiti/following{/other_user}","gists_url":"https://api.github.com/users/flexiti/gists{/gist_id}","starred_url":"https://api.github.com/users/flexiti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flexiti/subscriptions","organizations_url":"https://api.github.com/users/flexiti/orgs","repos_url":"https://api.github.com/users/flexiti/repos","events_url":"https://api.github.com/users/flexiti/events{/privacy}","received_events_url":"https://api.github.com/users/flexiti/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2015-10-10T11:31:48Z","updated_at":"2015-10-13T15:45:52Z","closed_at":"2015-10-13T10:38:41Z","body":"I  compile a Basic_rBoot example and I have such a thing.\r\nAny advice?\r\n\r\n13:22:38 **** Build of configuration Sming for project Basic_rBoot ****\r\nmake rebuild \r\nOC out/build/libmain2.a\r\nmake -C /c/tools/sming/Sming/rboot\r\nmake[1]: Entering directory `/c/tools/sming/Sming/rboot'\r\nCC rboot-stage2a.c\r\nLD /c/tools/sming/Basic_rBoot/out/build/rboot-stage2a.elf\r\nFW /c/tools/sming/Basic_rBoot/out/build/rboot-hex2a.h\r\nCC rboot.c\r\nLD /c/tools/sming/Basic_rBoot/out/build/rboot.elf\r\nFW /c/tools/sming/Basic_rBoot/out/firmware/rboot.bin\r\nmake[1]: Leaving directory `/c/tools/sming/Sming/rboot'\r\nC+ app/application.cpp\r\nCC /c/tools/sming/Sming/rboot/appcode/rboot-api.c\r\nIn file included from c:/tools/sming/Sming/rboot/appcode/rboot-api.c:17:0:\r\nc:/tools/sming/Sming/rboot/appcode/rboot-api.c: In function 'rboot_set_config':\r\nc:/Espressif/ESP8266_SDK/include/mem.h:8:21: error: implicit declaration of function 'pvPortMalloc' [-Werror=implicit-function-declaration]\r\n #define os_malloc   pvPortMalloc\r\n                     ^\r\nc:/tools/sming/Sming/rboot/appcode/rboot-api.c:44:19: note: in expansion of macro 'os_malloc'\r\n  buffer = (uint8*)os_malloc(SECTOR_SIZE);\r\n                   ^\r\nc:/Espressif/ESP8266_SDK/include/mem.h:9:21: error: implicit declaration of function 'vPortFree' [-Werror=implicit-function-declaration]\r\n #define os_free     vPortFree\r\n                     ^\r\nc:/tools/sming/Sming/rboot/appcode/rboot-api.c:63:2: note: in expansion of macro 'os_free'\r\n  os_free(buffer);\r\n  ^\r\nc:/tools/sming/Sming/rboot/appcode/rboot-api.c: In function 'rboot_write_flash':\r\nc:/Espressif/ESP8266_SDK/include/mem.h:10:21: error: implicit declaration of function 'pvPortZalloc' [-Werror=implicit-function-declaration]\r\n #define os_zalloc   pvPortZalloc\r\n                     ^\r\nc:/tools/sming/Sming/rboot/appcode/rboot-api.c:106:20: note: in expansion of macro 'os_zalloc'\r\n  buffer = (uint8 *)os_zalloc(len + status->extra_count);\r\n                    ^\r\nIn file included from c:/tools/sming/Sming/rboot/appcode/rboot-api.c:18:0:\r\nc:/Espressif/ESP8266_SDK/include/osapi.h:16:19: error: implicit declaration of function 'ets_memcpy' [-Werror=implicit-function-declaration]\r\n #define os_memcpy ets_memcpy\r\n                   ^\r\nc:/tools/sming/Sming/rboot/appcode/rboot-api.c:113:2: note: in expansion of macro 'os_memcpy'\r\n  os_memcpy(buffer, status->extra_bytes, status->extra_count);\r\n  ^\r\ncc1.exe: all warnings being treated as errors\r\nmake: *** [out/build//c/tools/sming/Sming/rboot/appcode/rboot-api.o] Error 1\r\n\r\n13:22:39 Build Finished (took 1s.398ms)"},"comment":{"url":"https://api.github.com/repos/SmingHub/Sming/issues/comments/147755719","html_url":"https://github.com/SmingHub/Sming/issues/332#issuecomment-147755719","issue_url":"https://api.github.com/repos/SmingHub/Sming/issues/332","id":147755719,"user":{"login":"kireevco","id":1790594,"avatar_url":"https://avatars.githubusercontent.com/u/1790594?v=3","gravatar_id":"","url":"https://api.github.com/users/kireevco","html_url":"https://github.com/kireevco","followers_url":"https://api.github.com/users/kireevco/followers","following_url":"https://api.github.com/users/kireevco/following{/other_user}","gists_url":"https://api.github.com/users/kireevco/gists{/gist_id}","starred_url":"https://api.github.com/users/kireevco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kireevco/subscriptions","organizations_url":"https://api.github.com/users/kireevco/orgs","repos_url":"https://api.github.com/users/kireevco/repos","events_url":"https://api.github.com/users/kireevco/events{/privacy}","received_events_url":"https://api.github.com/users/kireevco/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T15:45:52Z","updated_at":"2015-10-13T15:45:52Z","body":"> In my opinion, when installing sming, we should not \"force\" windows/linux/mac users to a specific toolset.\r\nAnd we should not duplicate installation processes/documentation from other projects which we then have to maintain. And maybe the user is already using (part of) the toolset needed for sming. \r\n\r\nHow do you make sure user doesn't have something incompatible in the environment? for example esp sdk of a wrong version? Or make.exe from a different version? etc... This have been an issue less than a year ago before we standardized toolset. Everything has to be standardized and tested. With too much of choice everything will break eventually. Look at Arduino.\r\n\r\n> We cannot force someone to install exactly as sming team sees appropriate.\r\n\r\nWhy not?\r\n\r\nChocolatey is good because it pulls down binaries from their sources, for example Eclipse.\r\n\r\n\r\n>\"external dependencies\" which software is needed to compile/flash Sming/Examples what version(s) and/or specific options are needed\r\nHow the latest/develop sming framework\r\nWhat needs additionally to be configured to have sming using the \"external dependencies.\r\n\r\nSorry, but this is year 2000. For today's folks this is way to complicated, trust me. We had a discussion with @anakod, and we had a roadmap towards simplification for new users. Let's revisit this question when he comes back."}}