Forum > Embedded
ESP8266 Compiling with xtensa-freertos
af0815:
Now i have copied the needed bin files and flash
--- Code: Text [+][-]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";}};} ---@echo onset IDF_PATH=D:\data\msys32\home\andi\esp\ESP8266_RTOS_SDKcd D:\data\lazdev\xtensa\projects\blinkpython.exe D:\data\msys32\home\andi\esp\ESP8266_RTOS_SDK/components/esptool_py/esptool/esptool.py --chip esp8266 --port "COM3" --baud 921600 --before "default_reset" --after "hard_reset" write_flash -z --flash_mode "dio" --flash_freq "40m" --flash_size "2MB" 0x0 bootloader.bin 0x10000 blink.bin 0x8000 partitions_singleapp.bin
--- Quote ---esptool.py v2.4.0
Connecting........__
Chip is ESP8266EX
Features: WiFi
MAC: 4c:75:25:10:c4:08
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Compressed 10432 bytes to 7020...
Wrote 10432 bytes (7020 compressed) at 0x00000000 in 0.1 seconds (effective 867.8 kbit/s)...
Hash of data verified.
Compressed 157136 bytes to 100991...
Wrote 157136 bytes (100991 compressed) at 0x00010000 in 1.4 seconds (effective 883.2 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 83...
Wrote 3072 bytes (83 compressed) at 0x00008000 in 0.0 seconds (effective 1520.3 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
--- End quote ---
After a reset my esp8266 is blinking :-)
Many thanks go to ccrause and his help. And to DonAlfredo for his fpcupdeluxe.
So my question is - what can i do for you ?
ccrause:
--- Quote from: af0815 on January 09, 2022, 03:45:29 pm ---After a reset my esp8266 is blinking :-)
Many thanks go to ccrause and his help. And to DonAlfredo for his fpcupdeluxe.
--- End quote ---
Well done! I know it is frustrating when something should just work, but does not.
--- Quote ---So my question is - what can i do for you ?
--- End quote ---
Perhaps update the wiki? In particular getting the SDK toolchain to work on Windows - I struggled a lot to get to the point where I could compile an example on Windows.
af0815:
I have a working fpcupdeluxe, but nothing for other people.
One goal is, stm32 and esp8266 cannot actual work at the same time in fpc out of the box. If you create one, you overwrite the other, without manual work.
The correct crossbin and libs should exists for fpcupdeluxe. The target 4.x is comming :-X
And i have to test all with your samples in Lazarus.
Navigation
[0] Message Index
[*] Previous page