Jump to content

Low level air interface access?


Nicholas Weaver

Recommended Posts

One last stupid question:

 

I'm having some build issues with wifi_lib_test... (Mac, downloaded the latest DevKitPro MAC installer (x86) from sourceforge). I then manually updated the dswifi lib to 0.3.3...

 

 

 

Where is the source code for wifi_lib_test?

 

It doesn't seem to be in the dswifi-src-0.3.3.tar.bz2 or dswifi-0.3.3.tar.bz2 files from sourceforge.

 

So did it change at all from the 0.3a version complete zipfile? I think it did...

 

When I tried to compile:

[gala:~/devkit/test/dswifi_lib_v0.3a_full] nweaver% cd wifi_lib_test/

[gala:test/dswifi_lib_v0.3a_full/wifi_lib_test] nweaver% make

make -C arm7

template.c

arm-eabi-gcc -MMD -MP -MF /Users/nweaver/devkit/test/dswifi_lib_v0.3a_full/wifi_lib_test/arm7/build/template.d -g -Wall -O2 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb-interwork -I/Users/nweaver/devkit/test/dswifi_lib_v0.3a_full/wifi_lib_test/arm7/include -I/Users/nweaver/devkit/test/dswifi_lib_v0.3a_full/wifi_lib_test/arm7/build -I/opt/local/devkitPro//libnds/include -I/Users/nweaver/devkit/test/dswifi_lib_v0.3a_full/wifi_lib_test/arm7/build -DARM 7 -c /Users/nweaver/devkit/test/dswifi_lib_v0.3a_full/wifi_lib_test/arm7/source/ template.c -o template.o

/Users/nweaver/devkit/test/dswifi_lib_v0.3a_full/wifi_lib_test/arm7/source/template.c: In function 'VblankHandler':

/Users/nweaver/devkit/test/dswifi_lib_v0.3a_full/wifi_lib_test/arm7/source/template.c:62: error: 'TransferRegion' has no member named 'curtime'/Users/nweaver/devkit/test/dswifi_lib_v0.3a_full/wifi_lib_test/arm7/source/template.c:97: error: 'TransferRegion' has no member named 'heartbeat'

/Users/nweaver/devkit/test/dswifi_lib_v0.3a_full/wifi_lib_test/arm7/source/template.c:109: error: 'TransferRegion' has no member named 'curtime'

/Users/nweaver/devkit/test/dswifi_lib_v0.3a_full/wifi_lib_test/arm7/source/template.c:62: warning: unused variable 'ct'

make[2]: *** [template.o] Error 1

make[1]: *** [build] Error 2

make: *** [arm7/wifi_lib_test.elf] Error 2

[gala:test/dswifi_lib_v0.3a_full/wifi_lib_test] nweaver%

 

 

I placed the downloaded binary 0.3.3 libs in the appropriate place in

 

[gala:/opt/local/devkitPro] nweaver% find . -name "*dswifi*" -print

./libnds/include/dswifi7.h

./libnds/include/dswifi9.h

./libnds/include/dswifi_version.h

./libnds/lib/libdswifi7.a

./libnds/lib/libdswifi7d.a

./libnds/lib/libdswifi9.a

./libnds/lib/libdswifi9d.a

[gala:/opt/local/devkitPro] nweaver%

 

I do see the representation for TransferRegion in libnds/include/nds/ipc.h

and it does declare curtime, but as a subunion, not as a field, and there is no definition of heartbeat...

 

Thanks!

 

(Oh, and if you are ever in Berkeley, CA, I owe you a beer or three)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...