I have included #ifndef NO_ASN_TIME in the user_setting.h but the error remains (xrtcpsu.h: No such file or directory). I also built a whole new project again and followed all the points you gave me (WOLFCRYPT_ONLY is defined). Unfortunately there is the same error (xrtcpsu.h: No such file or directory).
I'm not quite sure but I think I didn't quite understand the wrapping with #ifndef NO_ASN_TIME: do I wrap this inside the main function to initiate the wolf library? or do I wrap this around #include "xrtcpsu.h"?
at which point in the code is NO_ASN_TIME requested in order not to use xrtcpsu.h?
i have commented out the xrtcpsu.h and the error occurs:
aarch64-none-elf-gcc -DWOLFSSL_USER_SETTINGS -Wall -O0 -g3 -I"C:\Users\thbur\Desktop\vitis_workspace_2\wolfssl-4.7.0" -I"C:\Users\thbur\Desktop\vitis_workspace_2\wolfssl-4.7.0\IDE\XilinxSDK" -IC:/Users/thbur/Desktop/vitis_workspace_2/zynq-7000/export/zynq-7000/sw/zynq-7000/standalone_domain/bspinclude/include -c -fmessage-length=0 -MT"src/IDE/XilinxSDK/wolfssl_example.o" -MMD -MP -MF"src/IDE/XilinxSDK/wolfssl_example.d" -MT"src/IDE/XilinxSDK/wolfssl_example.o" -o "src/IDE/XilinxSDK/wolfssl_example.o" "C:/Users/thbur/Desktop/vitis_workspace_2/wolfssl-4.7.0/IDE/XilinxSDK/wolfssl_example.c"
'Finished building: C:/Users/thbur/Desktop/vitis_workspace_2/wolfssl-4.7.0/IDE/XilinxSDK/wolfssl_example.c'
' '
'Building target: wolfSSL_blank.elf'
'Invoking: ARM v8 gcc linker'
aarch64-none-elf-gcc -LC:/Users/thbur/Desktop/vitis_workspace_2/zynq-7000/export/zynq-7000/sw/zynq-7000/standalone_domain/bsplib/lib -o "wolfSSL_blank.elf" ./src/wolfcrypt/src/aes.o ./src/wolfcrypt/src/arc4.o ./src/wolfcrypt/src/asm.o ./src/wolfcrypt/src/asn.o ./src/wolfcrypt/src/async.o ./src/wolfcrypt/src/blake2b.o ./src/wolfcrypt/src/blake2s.o ./src/wolfcrypt/src/camellia.o ./src/wolfcrypt/src/chacha.o ./src/wolfcrypt/src/chacha20_poly1305.o ./src/wolfcrypt/src/cmac.o ./src/wolfcrypt/src/coding.o ./src/wolfcrypt/src/compress.o ./src/wolfcrypt/src/cpuid.o ./src/wolfcrypt/src/cryptocb.o ./src/wolfcrypt/src/curve25519.o ./src/wolfcrypt/src/curve448.o ./src/wolfcrypt/src/des3.o ./src/wolfcrypt/src/dh.o ./src/wolfcrypt/src/dsa.o ./src/wolfcrypt/src/ecc.o ./src/wolfcrypt/src/ecc_fp.o ./src/wolfcrypt/src/ed25519.o ./src/wolfcrypt/src/ed448.o ./src/wolfcrypt/src/error.o ./src/wolfcrypt/src/evp.o ./src/wolfcrypt/src/fe_448.o ./src/wolfcrypt/src/fe_low_mem.o ./src/wolfcrypt/src/fe_operations.o ./src/wolfcrypt/src/fips.o ./src/wolfcrypt/src/fips_test.o ./src/wolfcrypt/src/ge_448.o ./src/wolfcrypt/src/ge_low_mem.o ./src/wolfcrypt/src/ge_operations.o ./src/wolfcrypt/src/hash.o ./src/wolfcrypt/src/hc128.o ./src/wolfcrypt/src/hmac.o ./src/wolfcrypt/src/idea.o ./src/wolfcrypt/src/integer.o ./src/wolfcrypt/src/logging.o ./src/wolfcrypt/src/md2.o ./src/wolfcrypt/src/md4.o ./src/wolfcrypt/src/md5.o ./src/wolfcrypt/src/memory.o ./src/wolfcrypt/src/misc.o ./src/wolfcrypt/src/pkcs12.o ./src/wolfcrypt/src/pkcs7.o ./src/wolfcrypt/src/poly1305.o ./src/wolfcrypt/src/pwdbased.o ./src/wolfcrypt/src/rabbit.o ./src/wolfcrypt/src/random.o ./src/wolfcrypt/src/rc2.o ./src/wolfcrypt/src/ripemd.o ./src/wolfcrypt/src/rsa.o ./src/wolfcrypt/src/selftest.o ./src/wolfcrypt/src/sha.o ./src/wolfcrypt/src/sha256.o ./src/wolfcrypt/src/sha3.o ./src/wolfcrypt/src/sha512.o ./src/wolfcrypt/src/signature.o ./src/wolfcrypt/src/sp_arm32.o ./src/wolfcrypt/src/sp_arm64.o ./src/wolfcrypt/src/sp_armthumb.o ./src/wolfcrypt/src/sp_c32.o ./src/wolfcrypt/src/sp_c64.o ./src/wolfcrypt/src/sp_cortexm.o ./src/wolfcrypt/src/sp_dsp32.o ./src/wolfcrypt/src/sp_int.o ./src/wolfcrypt/src/sp_x86_64.o ./src/wolfcrypt/src/srp.o ./src/wolfcrypt/src/tfm.o ./src/wolfcrypt/src/wc_dsp.o ./src/wolfcrypt/src/wc_encrypt.o ./src/wolfcrypt/src/wc_pkcs11.o ./src/wolfcrypt/src/wc_port.o ./src/wolfcrypt/src/wolfcrypt_first.o ./src/wolfcrypt/src/wolfcrypt_last.o ./src/wolfcrypt/src/wolfevent.o ./src/wolfcrypt/src/wolfmath.o ./src/src/bio.o ./src/src/crl.o ./src/src/internal.o ./src/src/keys.o ./src/src/ocsp.o ./src/src/sniffer.o ./src/src/ssl.o ./src/src/tls.o ./src/src/tls13.o ./src/src/wolfio.o ./src/IDE/XilinxSDK/wolfssl_example.o -l-Wl,--start-group,-lxil,-lgcc,-lc,--end-group -l-Wl,--start-group,-lxil,-llwip4,-lgcc,-lc,--end-group
c:/xilinx/vitis/2020.2/gnu/aarch64/nt/aarch64-none/x86_64-oesdk-mingw32/usr/bin/aarch64-xilinx-elf/../../libexec/aarch64-xilinx-elf/gcc/aarch64-xilinx-elf/9.2.0/real-ld.exe: cannot find -l-Wl,--start-group,-lxil,-lgcc,-lc,--end-group
c:/xilinx/vitis/2020.2/gnu/aarch64/nt/aarch64-none/x86_64-oesdk-mingw32/usr/bin/aarch64-xilinx-elf/../../libexec/aarch64-xilinx-elf/gcc/aarch64-xilinx-elf/9.2.0/real-ld.exe: cannot find -l-Wl,--start-group,-lxil,-llwip4,-lgcc,-lc,--end-group
collect2.exe: error: ld returned 1 exit status
make[1]: *** [makefile:42: wolfSSL_blank.elf] Error 1
make: *** [makefile:33: all] Error 2
another question: is it at all possible to use the library without an OS, i.e. as a standalone domain?
kind regards
Tom