Forum > Embedded
Xtensa-freertos wiki
botster:
--- Quote from: ccrause on January 05, 2022, 08:25:15 am ---
--- Quote ---Now, one more question. When it says, "Create a hello world program [...] in the fpc dir", I am assuming that is for simplicity, and one could put the program in a directory of their choice providing the paths in the compiler command line are adjusted appropriately. Correct? I ask because, personally, I would not want to clutter up my fpc source directory.
--- End quote ---
Yes, you are correct, updated.
--- End quote ---
I don't want to second-guess you in case I am incorrect. But, shouldn't
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---~/fpc/main/compiler/ppcrossxtensa -Furtl/units/xtensa-freertos/ -Tfreertos -XPxtensa-lx106-elf- -O3 -Wpesp8266 hello -Fl~/esp/xtensa-lx106-elf-libs/ -Fl$IDF_PATH/components/esp8266/lib -Fl$IDF_PATH/components/newlib/newlib/lib -Fl~/esp/xtensa-lx106-elf/xtensa-lx106-elf/lib/be
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---~/fpc/main/compiler/ppcrossxtensa -Fu~/fpc/main/rtl/units/xtensa-freertos/ -Tfreertos -XPxtensa-lx106-elf- -O3 -Wpesp8266 hello -Fl~/esp/xtensa-lx106-elf-libs/ -Fl$IDF_PATH/components/esp8266/lib -Fl$IDF_PATH/components/newlib/newlib/lib -Fl~/esp/xtensa-lx106-elf/xtensa-lx106-elf/lib/(ie. "-Fu~/fpc/main/rtl/units/xtensa-freertos/")?
ccrause:
--- Quote from: botster on January 05, 2022, 06:43:44 pm ---I don't want to second-guess you in case I am incorrect. But, shouldn't
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---~/fpc/main/compiler/ppcrossxtensa -Furtl/units/xtensa-freertos/ -Tfreertos -XPxtensa-lx106-elf- -O3 -Wpesp8266 hello -Fl~/esp/xtensa-lx106-elf-libs/ -Fl$IDF_PATH/components/esp8266/lib -Fl$IDF_PATH/components/newlib/newlib/lib -Fl~/esp/xtensa-lx106-elf/xtensa-lx106-elf/lib/be
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---~/fpc/main/compiler/ppcrossxtensa -Fu~/fpc/main/rtl/units/xtensa-freertos/ -Tfreertos -XPxtensa-lx106-elf- -O3 -Wpesp8266 hello -Fl~/esp/xtensa-lx106-elf-libs/ -Fl$IDF_PATH/components/esp8266/lib -Fl$IDF_PATH/components/newlib/newlib/lib -Fl~/esp/xtensa-lx106-elf/xtensa-lx106-elf/lib/(ie. "-Fu~/fpc/main/rtl/units/xtensa-freertos/")?
--- End quote ---
You are correct, please feel free to edit the wiki. Thanks for checking the content.
botster:
@ccrause, you're correct. As you mentioned in another thread, there is a note about using -WP to specify the SDK version number. I did not see it before; probably from reading too fast.
May I suggest the individual notes be put near the paragraph to which they pertain? For example, the note about -WP would go directly underneath the compiler command.
Or, do you think this would make things look more cluttered?
ccrause:
--- Quote from: botster on January 06, 2022, 01:33:53 am ---@ccrause, you're correct. As you mentioned in another thread, there is a note about using -WP to specify the SDK version number. I did not see it before; probably from reading too fast.
May I suggest the individual notes be put near the paragraph to which they pertain? For example, the note about -WP would go directly underneath the compiler command.
Or, do you think this would make things look more cluttered?
--- End quote ---
The presentation format is not ideal at the moment. I would prefer not to repeat common information, but the page is quite busy so it is easy to miss details like using the -WP option. I tend to agree that one should probably treat each paragraph (or at least subsection) as standalone, so all information should be presented where applicable.
ccrause:
--- Quote from: kassane on March 17, 2024, 05:53:28 pm ---Cool, it's great to see more languages supporting this architecture. FPC supports it without using LLVM (espressif-fork).
The wiki doesn't specify if esp32-s2 and esp32-s3 are also supported.
--- End quote ---
Not yet, but in principle this should not be too challenging.
--- Quote ---Does anyone have experience with idf v5.x?
--- End quote ---
I have tried a few times to link an fpc example against esp-idf 5.0 & 5.2, but I've run into a problem where xtensa-esp32-elf-ld reported it cannot locate the precompiled esp-idf libraries, even though the path information was correct.
Navigation
[0] Message Index
[#] Next page
[*] Previous page