Closed Juul closed 9 years ago
Thank you !!! :D
Unfortunately after I followed the procedure of installing everything I am still getting errors. Please help me to pass this step. Here is a log: anton@Satellite-A105:~/esp8266-frankenstein$ make defconfig Reverting to default config
anton@Satellite-A105:~/esp8266-frankenstein$ make build [INFO] Config changed, running silentoldconfig *
- 8051 (ARCH_8051)
- arm (ARCH_ARM)
- avr (ARCH_AVR)
- gbz80 (ARCH_GBZ80)
- mips (ARCH_MIPS)
- msp430 (ARCH_MSP430)
- native (ARCH_NATIVE)
- pic32 (ARCH_PIC32) choice[1-8]: 1 Pick an MCU family
- STC 8051 family (ARCH_8051_STC) (NEW)
- Atmel AT89 family (ARCH_8051_AT89) (NEW) choice[1-2]: CPU Frequency in Hz (F_CPU) CPU Frequency in Hz (F_CPU) 24 Memory model
- Small (MODEL_SMALL) (NEW)
- Medium (MODEL_MEDIUM) (NEW)
- Large (MODEL_LARGE) (NEW)
- Huge (MODEL_HUGE) (NEW) choice[1-4]: XRAM size (bytes) (XRAM_SIZE) 128 IRAM size (bytes) (IRAM_SIZE) 128 FLASH size (bytes) (FLASH_SIZE) 4096 *
# [INFO] Building application code [CC] main.o xtensa-lx106-elf-gcc: error: unrecognized command line option '-mmcu=' /home/anton/esp8266-frankenstein/antares/make/Makefile.build:78: recipe for target 'main.o' failed make[1]: * [main.o] Error 1 /home/anton/esp8266-frankenstein/antares/toolchains/gcc.mk:119: recipe for target 'builtin' failed make: * [builtin] Error 2
@digger3d Ah, you're running antares mater branch. You'll need check out antares experimental branch. ESP8266 port is just not very stable, so not present in master branch. Yet.
Thank you for the fast reply. Ok, Im starting over.
1st I got this
anton@Satellite-A105:~/.antares_examples/esp8266-frankenstein$ make ln -sf ./antares ./antares Using global antares installation: ./antares Symlinking done, please re-run make make: stat: antares: Too many levels of symbolic links
anton@Satellite-A105:~/.antares_examples/esp8266-frankenstein$ make make: stat: antares/Makefile: Too many levels of symbolic links make: stat: antares: Too many levels of symbolic links ln -sf ./antares ./antares Using global antares installation: ./antares Symlinking done, please re-run make make: stat: antares: Too many levels of symbolic links
then I linked ~/.antares into ~/.antares_examples/esp8266-frankenstein as ~/.antares_examples/esp8266-frankenstein/antares and finally got this error:
anton@Satellite-A105:~/.antares_examples/esp8266-frankenstein$ make defaults make: ** No rule to make target 'defaults'. Stop. anton@Satellite-A105:~/.antares_examples/esp8266-frankenstein$ make defconfig Reverting to default config anton@Satellite-A105:~/.antares_examples/esp8266-frankenstein$ make build [INFO] Config changed, running silentoldconfig
- 8051 (ARCH_8051)
- arm (ARCH_ARM)
- avr (ARCH_AVR)
- gbz80 (ARCH_GBZ80)
- mips (ARCH_MIPS)
- msp430 (ARCH_MSP430)
- native (ARCH_NATIVE)
- pic32 (ARCH_PIC32) choice[1-8]: 1 Pick an MCU family
- STC 8051 family (ARCH_8051_STC) (NEW)
- Atmel AT89 family (ARCH_8051_AT89) (NEW) choice[1-2]: CPU Frequency in Hz (F_CPU) CPU Frequency in Hz (F_CPU) CPU Frequency in Hz (F_CPU) CPU Frequency in Hz (F_CPU) CPU Frequency in Hz (F_CPU) CPU Frequency in Hz (F_CPU) CPU Frequency in Hz (F_CPU) CPU Frequency in Hz (F_CPU) CPU Frequency in Hz (F_CPU) CPU Frequency in Hz (F_CPU) CPU Frequency in Hz (F_CPU) CPU Frequency in Hz (F_CPU) 24 Memory model
- Small (MODEL_SMALL) (NEW)
- Medium (MODEL_MEDIUM) (NEW)
- Large (MODEL_LARGE) (NEW)
- Huge (MODEL_HUGE) (NEW) choice[1-4]: XRAM size (bytes) (XRAM_SIZE) 128 IRAM size (bytes) (IRAM_SIZE) 128 FLASH size (bytes) (FLASH_SIZE) 4096 *
# [INFO] Building application code [CC] main.o xtensa-lx106-elf-gcc: error: unrecognized command line option '-mmcu=' /home/anton/.antares_examples/esp8266-frankenstein/antares/make/Makefile.build:78: recipe for target 'main.o' failed make[1]: * [main.o] Error 1 /home/anton/.antares_examples/esp8266-frankenstein/antares/toolchains/gcc.mk:119: recipe for target 'builtin' failed make: * [builtin] Error 2
what is wrong?
when I try to build from a different location (also had to symlink) I am getting this log:
anton@Satellite-A105:~/esp8266-frankenstein$ make defconfig Reverting to default config anton@Satellite-A105:~/esp8266-frankenstein$ make [INFO] Config changed, running silentoldconfig *
- 8051 (ARCH_8051)
- arm (ARCH_ARM)
- avr (ARCH_AVR)
- gbz80 (ARCH_GBZ80)
- mips (ARCH_MIPS)
- msp430 (ARCH_MSP430)
- native (ARCH_NATIVE)
- pic32 (ARCH_PIC32) choice[1-8]: 1 Pick an MCU family
- STC 8051 family (ARCH_8051_STC) (NEW)
- Atmel AT89 family (ARCH_8051_AT89) (NEW) choice[1-2]: CPU Frequency in Hz (F_CPU) CPU Frequency in Hz (F_CPU) CPU Frequency in Hz (F_CPU) CPU Frequency in Hz (F_CPU) CPU Frequency in Hz (F_CPU) CPU Frequency in Hz (F_CPU) CPU Frequency in Hz (F_CPU) CPU Frequency in Hz (F_CPU) 52 Memory model
- Small (MODEL_SMALL) (NEW)
- Medium (MODEL_MEDIUM) (NEW)
- Large (MODEL_LARGE) (NEW)
- Huge (MODEL_HUGE) (NEW) choice[1-4]: XRAM size (bytes) (XRAM_SIZE) 128 IRAM size (bytes) (IRAM_SIZE) 128 FLASH size (bytes) (FLASH_SIZE) 4096 *
# [INFO] Building application code [CC] main.o xtensa-lx106-elf-gcc: error: unrecognized command line option '-mmcu=' /home/anton/esp8266-frankenstein/antares/make/Makefile.build:78: recipe for target 'main.o' failed make[1]: * [main.o] Error 1 /home/anton/esp8266-frankenstein/antares/toolchains/gcc.mk:119: recipe for target 'builtin' failed make: * [builtin] Error 2
what else I've got in my mind:
anton@Satellite-A105:~/esp8266-frankenstein$ make update git fetch && git rebase -i Cannot rebase: You have unstaged changes. Please commit or stash them. Makefile:47: recipe for target 'update' failed make: *\ [update] Error 1
cd antares && git checkout experimental
It might be good to tell people to run:
before running make menuconfig, to start them out with sane defaults.
Then, after make menuconfig they need to run:
before running: