Skip to content
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

Test AT firmware at_v0.19_14_10_30.zip with SDK 0.9.2 #6

Closed
pfalcon opened this issue Nov 25, 2014 · 1 comment
Closed

Test AT firmware at_v0.19_14_10_30.zip with SDK 0.9.2 #6

pfalcon opened this issue Nov 25, 2014 · 1 comment

Comments

@pfalcon
Copy link
Owner

pfalcon commented Nov 25, 2014

Test that vendor-provided AT firmware in at_v0.19_14_10_30.zip builds and runs with esp-open-sdk when using vendor sdk 0.9.2.

@pfalcon
Copy link
Owner Author

pfalcon commented Nov 25, 2014

Builds and basic test shows that it works as expected (available APs list, can connect) with following Makefile (note - -lcirom used):

CC = xtensa-lx106-elf-gcc
CFLAGS = -Os -Iinclude -mlongcalls
LDLIBS = -nostdlib -Wl,--start-group -lmain -lupgrade -lnet80211 -lwpa -llwip -lpp -lphy -Wl,--end-group -lcirom -lgcc
LDFLAGS = -Teagle.app.v6.ld

at-0x00000.bin: at
    esptool.py elf2image $^

at: driver/uart.o \
    user/at_baseCmd.o \
    user/at_cmd.o \
    user/at_ipCmd.o \
    user/at_wifiCmd.o \
    user/at_port.o \
    user/user_main.o
    $(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS)

flash: at-0x00000.bin
    esptool.py write_flash 0 at-0x00000.bin 0x40000 at-0x40000.bin

connect:
    picocom -b 115200 --omap crcrlf /dev/ttyUSB0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant