-
Notifications
You must be signed in to change notification settings - Fork 46
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
wep_keys must be const #4
Comments
Ok my bad, it was just unable to connect my laptop configured as AP. Woks with a D-LINK DI-624. |
hello @tnorth im facing trouble with the my WIFI shield although im just trying the hello world example, and the red light is not turning on, is it because of my router settings , i tried making it an Access point and a normal router both cases the shield didnt work, or is there a specific kind of router i should get. or im missing anything out.. help please |
Hi wam090, Are you using the provided example "SimpleServer.pde" ? |
Well i tried everything till now , I even assigned to it an IP upon its MAC address but , nothing still not connecting, it worked once and never again, although im doing the same steps. Thanks |
Hmm hard to help here. Have you tried with an open network ? |
I tried to compile the SimpleServer example for an Ardunio Uno, with the Copperhead wifi shield.
I get this error:
avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=100 -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/share/arduino/libraries/ZG2100BasedWiFiShield /tmp/build8344589035392899805.tmp/SimpleServer.cpp -o/tmp/build8344589035392899805.tmp/SimpleServer.cpp.o
SimpleServer.cpp:28:50: error: variable 'wep_keys' must be const in order to be put into read-only section by means of 'attribute((progmem))'
Looks like adding const in config.h:51 fixes the problem.
However, it doesn't seems that the wireless is working, and there is no output on the serial port event though the verbose mode is set. Any hint ?
Config:
COLLECT_GCC=/usr/bin/avr-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/avr/4.6.2/lto-wrapper
Target: avr
Configured with: ../gcc-4.6.2/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --target=avr --enable-languages=c,c++ --disable-nls --disable-libssp --with-system-zlib --enable-version-specific-runtime-libs --with-pkgversion='Fedora 4.6.2-1.fc16' --with-bugurl=https://bugzilla.redhat.com/
Thread model: single
gcc version 4.6.2 (Fedora 4.6.2-1.fc16)
The text was updated successfully, but these errors were encountered: