-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Use Linux i386/AMD64 binaries on FreeBSD. (IDFGH-5492) #7226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
FreeBSD can natively emulate Linux ELF binaries. This commit allows automated Linux tools deployment on FreeBSD. Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
Thanks for your contribution. |
I can confirm that this commit allows build Zephyr for ESP32 on FreeBSD using Linux toolchain when following instructions provided in the official Zephyr HandBook are met: https://docs.zephyrproject.org/latest/boards/xtensa/esp32/doc/index.html. It is very important to setup environmental variables as instructed :-) It may be really nice to add Also If you are the authors of the |
cc @sylvioalves for |
Hello. Was this patch updated to Zephyr upstream? On a new project calling
|
@cederom yes, it was: zephyrproject-rtos/hal_espressif#44 In your environment, Can you post what is the value of I guess there might be a typo error in there, let's see. Thanks! |
System default Python:
VEnv Python:
|
@cederom Can you confirm whether https://github.com/zephyrproject-rtos/hal_espressif/blob/zephyr/tools/idf_tools.py#L129 |
Okay, that was problem with my local Zephyr Env launcher script, I have removed and re-created everything from scratch and it works now! :-) SORRY, and THANK YOU for your time @sylvioalves !! :-) I can see that this I would like to try ESP32-C3 / RISC-V on both Zephyr and NuttX :-) Quick question what toolchain env variable should I use for riscv on Zephyr do you know? :-) |
Hi, great! You can follow the getting started as in https://docs.zephyrproject.org/latest/boards/riscv/esp32c3_devkitm/doc/index.html. Also, |
Blinky nor Hello World does not build yet, but I have a good starting point, thank you @sylvioalves ! I have the ESP32-C3-WROOM and ESP32-C3-MINI, on tuesday I should get their DevKits so I can verify on real hardware :-) I will return with success or when stuck :-) Thank you!! :-) |
Please, try: |
Ah, the Toolchain Path was recently simplified to just use |
FreeBSD can natively emulate Linux ELF binaries.
This commit allows automated Linux tools deployment on FreeBSD.
Signed-off-by: Tomasz 'CeDeROM' CEDRO tomek@cedro.info