{"action":"closed","issue":{"url":"https://api.github.com/repos/SmingHub/Sming/issues/715","repository_url":"https://api.github.com/repos/SmingHub/Sming","labels_url":"https://api.github.com/repos/SmingHub/Sming/issues/715/labels{/name}","comments_url":"https://api.github.com/repos/SmingHub/Sming/issues/715/comments","events_url":"https://api.github.com/repos/SmingHub/Sming/issues/715/events","html_url":"https://github.com/SmingHub/Sming/issues/715","id":151405110,"number":715,"title":"rboot - makefile missing options","user":{"login":"patrickjahns","id":6403243,"avatar_url":"https://avatars.githubusercontent.com/u/6403243?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickjahns","html_url":"https://github.com/patrickjahns","followers_url":"https://api.github.com/users/patrickjahns/followers","following_url":"https://api.github.com/users/patrickjahns/following{/other_user}","gists_url":"https://api.github.com/users/patrickjahns/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickjahns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickjahns/subscriptions","organizations_url":"https://api.github.com/users/patrickjahns/orgs","repos_url":"https://api.github.com/users/patrickjahns/repos","events_url":"https://api.github.com/users/patrickjahns/events{/privacy}","received_events_url":"https://api.github.com/users/patrickjahns/received_events","type":"User","site_admin":false},"labels":[{"id":362436957,"url":"https://api.github.com/repos/SmingHub/Sming/labels/Review","name":"Review","color":"e6e6e6","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-04-27T14:48:55Z","updated_at":"2016-11-15T09:25:26Z","closed_at":"2016-11-15T09:25:26Z","body":"I have tried getting the temprom feature to work, but rboot never \"enables\" the rtc module\n\nSerial output from booting\n\n```\n16:45:23.591> load 0x3ffe8000, len 660, room 12 \n16:45:23.591> tail 8\n16:45:23.591> chksum 0xcd\n16:45:23.591> csum 0xcd\n16:45:23.591> \n16:45:23.591> rBoot v1.3.0 - richardaburton@gmail.com\n16:45:23.591> Flash Size:   32 Mbit\n16:45:23.591> Flash Mode:   QIO\n16:45:23.591> Flash Speed:  40 MHz\n16:45:23.591> rBoot Option: Big flash\n16:45:23.591> \n16:45:23.803> Booting rom 0.\n```\n\nMakefile-user.mk\n\n```\n# use rboot build mode\nRBOOT_ENABLED = 1\n\n# \nRBOOT_RTC_ENABLED = 1\n\n# enable big flash support (for multiple roms, each in separate 1mb block of flash)\nRBOOT_BIG_FLASH = 1\n\n# two rom mode (where two roms sit in the same 1mb block of flash)\nRBOOT_TWO_ROMS  = 0\n\n# where does the filesystem reside\nRBOOT_SPIFFS_0  = 0x100000\nRBOOT_SPIFFS_1  = 0x300000 \n```\n\nRelevant section from makefile\n\n```\nmake all V=1 \nmkdir -p out/build/app\nmkdir -p out/build//C/opt/Sming/Sming/rboot/appcode\nmkdir -p out/firmware\nOC out/build/libmain2.a\n/usr/bin/make -C /C/opt/Sming/Sming/rboot\nmake[1]: Entering directory `/C/opt/Sming/Sming/rboot'\nCC rboot-stage2a.c\nxtensa-lx106-elf-gcc -Os -O3 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals  -D__ets__ -DICACHE_FLASH -DBOOT_BIG_FLASH  -c rboot-stage2a.c -o /c/Users/patri/@projects/arduinoprojects/RGBCTRLfw/out/build/rboot-stage2a.o\nLD /c/Users/patri/@projects/arduinoprojects/RGBCTRLfw/out/build/rboot-stage2a.elf\nxtensa-lx106-elf-gcc -Trboot-stage2a.ld -nostdlib -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group /c/Users/patri/@projects/arduinoprojects/RGBCTRLfw/out/build/rboot-stage2a.o -Wl,--end-group -o /c/Users/patri/@projects/arduinoprojects/RGBCTRLfw/out/build/rboot-stage2a.elf\nE2 /c/Users/patri/@projects/arduinoprojects/RGBCTRLfw/out/build/rboot-hex2a.h\nC:\\opt\\esptool2\\esptool2.exe -quiet -header /c/Users/patri/@projects/arduinoprojects/RGBCTRLfw/out/build/rboot-stage2a.elf /c/Users/patri/@projects/arduinoprojects/RGBCTRLfw/out/build/rboot-hex2a.h .text\nCC rboot.c\nxtensa-lx106-elf-gcc -Os -O3 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals  -D__ets__ -DICACHE_FLASH -DBOOT_BIG_FLASH -I/c/Users/patri/@projects/arduinoprojects/RGBCTRLfw/out/build  -c rboot.c -o /c/Users/patri/@projects/arduinoprojects/RGBCTRLfw/out/build/rboot.o\nLD /c/Users/patri/@projects/arduinoprojects/RGBCTRLfw/out/build/rboot.elf\nxtensa-lx106-elf-gcc -Teagle.app.v6.ld -nostdlib -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group /c/Users/patri/@projects/arduinoprojects/RGBCTRLfw/out/build/rboot.o -Wl,--end-group -o /c/Users/patri/@projects/arduinoprojects/RGBCTRLfw/out/build/rboot.elf\nE2 /c/Users/patri/@projects/arduinoprojects/RGBCTRLfw/out/firmware/rboot.bin\nC:\\opt\\esptool2\\esptool2.exe -quiet -bin -boot0 -4096 -qio /c/Users/patri/@projects/arduinoprojects/RGBCTRLfw/out/build/rboot.elf /c/Users/patri/@projects/arduinoprojects/RGBCTRLfw/out/firmware/rboot.bin .text .rodata\nmake[1]: Leaving directory `/C/opt/Sming/Sming/rboot'\n```\n\nComparison to make for application\n\n```\n/C/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++ -Iapp -I/C/opt/Sming/Sming/rboot/appcode -Iapp/include -I/C/opt/Sming/Sming/rboot/appcode/include -Iinclude -I/C/opt/Sming/Sming/include -I/C/opt/Sming/Sming/ -I/C/opt/Sming/Sming/system/include -I/C/opt/Sming/Sming/Wiring -I/C/opt/Sming/Sming/Libraries -I/C/opt/Sming/Sming/SmingCore -IC:/Espressif/ESP8266_SDK/../include -I/C/opt/Sming/Sming/rboot -I/C/opt/Sming/Sming/rboot/appcode -IC:/Espressif/ESP8266_SDK/include -Wpointer-arith -Wundef -Werror -Wl,-EL -nostdlib -mlongcalls -mtext-section-literals -finline-functions -fdata-sections -ffunction-sections -D__ets__ -DICACHE_FLASH -DARDUINO=106 -DGITVERSION=\\\"v0.2.5-5-gdec4-dirty\\\" -DGITDATE=\\\"2016-04-25\\\" -DFWVERSION=\\\"`cat VERSION`\\\"  -Os -g -DBOOT_BIG_FLASH -DSPIFF_SIZE=224288  -DRBOOT_SPIFFS_0=0x100000 -DRBOOT_SPIFFS_1=0x300000  -DRBOOT_INTEGRATION -DBOOT_RTC_ENABLED -fno-rtti -fno-exceptions -std=c++11 -felide-constructors -c app/application.cpp -o out/build/app/application.o\n```\n\nLooking at the make log - it seems that the Makefile inside rboot folder does not aknowledge the options specified. \nIs this targeted behavior? Any reason why it is not included or just a \"bug\"\n"}}
{"actor":{"display_login":"slaff"}}