JacobBarthelmeh 45b88048c2 make macro unique to wolfSSL | 1 hónapja | |
---|---|---|
.. | ||
README.md | 1 hónapja |
Devkitpro with libnds.
$ ./configure \
--host=arm-none-eabi \
CC=$DEVKITARM/bin/arm-none-eabi-g++ \
AR=$DEVKITARM/bin/arm-none-eabi-ar \
STRIP=$DEVKITARM/bin/arm-none-eabi-strip \
RANLIB=$DEVKITARM/bin/arm-none-eabi-ranlib \
LIBS="-lfat -lnds9" \
LDFLAGS="-L/opt/devkitpro/libnds/lib" \
--prefix=$DEVKITPRO/portlibs/nds \
CFLAGS="-march=armv5te -mtune=arm946e-s \
--specs=ds_arm9.specs -DARM9 -DWOLFSSL_NDS \
-DWOLFSSL_USER_IO \
-I$DEVKITPRO/libnds/include" \
--enable-fastmath --disable-benchmark \
--disable-shared --disable-examples --disable-ecc
$ make
$ sudo make install
To run the Crypttests type the following.
$ ndstool -9 ./wolfcrypt/test/testwolfcrypt -c ./wolfcrypt/test/testwolfcrypt.nds
copy ./certs
to your_nds_sd_card/_nds/certs
Run the Rom (located in ./wolfcrypt/test/testwolfcrypt.nds) in an Emulator or real Hardware.