File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,12 +21,4 @@ pico_enable_stdio_usb(benchmark 1)
2121pico_enable_stdio_uart (benchmark 0 )
2222endif ()
2323
24- if (${PICO_PLATFORM} STREQUAL "rp2350" )
25- add_compile_definitions (wolfssl WOLFSSL_SP_ARM_CORTEX_M_ASM )
26- elseif (${PICO_PLATFORM} STREQUAL "rp2350-riscv" )
27- add_compile_definitions (wolfSSL WOLFSSL_SP_RISCV32 )
28- else ()
29- add_compile_definitions (wolfssl WOLFSSL_SP_ARM_THUMB_ASM )
30- endif ()
31-
3224pico_add_extra_outputs (benchmark )
Original file line number Diff line number Diff line change 2828#define DEFAULT_TCP_RECVMBOX_SIZE 10
2929
3030#undef MEM_SIZE
31- #define MEM_SIZE 4000 * 10
31+ #define MEM_SIZE 4000 * 4
3232
3333#endif
Original file line number Diff line number Diff line change @@ -45,8 +45,6 @@ extern time_t myTime(time_t *);
4545/* ------------------------------------------------------------------------- */
4646/* Platform */
4747/* ------------------------------------------------------------------------- */
48- #define WOLFSSL_GENERAL_ALIGNMENT 4
49- #define SIZEOF_LONG_LONG 8
5048#if 0
5149#define NO_64BIT /* disable use of 64-bit variables */
5250#endif
Original file line number Diff line number Diff line change @@ -31,12 +31,4 @@ pico_enable_stdio_usb(tcp_Client 1)
3131pico_enable_stdio_uart(tcp_Client 0)
3232endif()
3333
34- if (${PICO_PLATFORM} STREQUAL " rp2350 ")
35- add_compile_definitions(wolfssl WOLFSSL_SP_ARM_CORTEX_M_ASM)
36- elseif (${PICO_PLATFORM} STREQUAL " rp2350-riscv ")
37- add_compile_definitions(wolfSSL WOLFSSL_SP_RISCV32)
38- else()
39- add_compile_definitions(wolfssl WOLFSSL_SP_ARM_THUMB_ASM)
40- endif()
41-
4234pico_add_extra_outputs(tcp_Client)
Original file line number Diff line number Diff line change @@ -30,12 +30,4 @@ pico_enable_stdio_usb(tcp_Server 1)
3030pico_enable_stdio_uart(tcp_Server 0)
3131endif()
3232
33- if (${PICO_PLATFORM} STREQUAL " rp2350 ")
34- add_compile_definitions(wolfssl WOLFSSL_SP_ARM_CORTEX_M_ASM)
35- elseif (${PICO_PLATFORM} STREQUAL " rp2350-riscv ")
36- add_compile_definitions(wolfSSL WOLFSSL_SP_RISCV32)
37- else()
38- add_compile_definitions(wolfssl WOLFSSL_SP_ARM_THUMB_ASM)
39- endif()
40-
4133pico_add_extra_outputs(tcp_Server)
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ add_executable(testwolfcrypt
33 ${WOLFSSL_ROOT} /wolfcrypt/test/test.c
44)
55
6+ target_compile_definitions (testwolfcrypt PRIVATE
7+ WOLFSSL_USER_SETTINGS
8+ )
9+
610target_link_libraries (testwolfcrypt
711 wolfssl
812 pico_stdlib
@@ -17,12 +21,4 @@ pico_enable_stdio_usb(testwolfcrypt 1)
1721pico_enable_stdio_uart (testwolfcrypt 0 )
1822endif ()
1923
20- if (${PICO_PLATFORM} STREQUAL "rp2350" )
21- add_compile_definitions (wolfssl WOLFSSL_SP_ARM_CORTEX_M_ASM )
22- elseif (${PICO_PLATFORM} STREQUAL "rp2350-riscv" )
23- add_compile_definitions (wolfSSL WOLFSSL_SP_RISCV32 )
24- else ()
25- add_compile_definitions (wolfssl WOLFSSL_SP_ARM_THUMB_ASM )
26- endif ()
27-
2824pico_add_extra_outputs (testwolfcrypt )
Original file line number Diff line number Diff line change @@ -36,12 +36,4 @@ pico_enable_stdio_usb(tls_Client 1)
3636pico_enable_stdio_uart(tls_Client 0)
3737endif()
3838
39- if (${PICO_PLATFORM} STREQUAL " rp2350 ")
40- add_compile_definitions(wolfssl WOLFSSL_SP_ARM_CORTEX_M_ASM)
41- elseif (${PICO_PLATFORM} STREQUAL " rp2350-riscv ")
42- add_compile_definitions(wolfSSL WOLFSSL_SP_RISCV32)
43- else()
44- add_compile_definitions(wolfssl WOLFSSL_SP_ARM_THUMB_ASM)
45- endif()
46-
4739pico_add_extra_outputs(tls_Client)
Original file line number Diff line number Diff line change @@ -35,12 +35,4 @@ pico_enable_stdio_usb(tls_Server 1)
3535pico_enable_stdio_uart(tls_Server 0)
3636endif()
3737
38- if (${PICO_PLATFORM} STREQUAL " rp2350 ")
39- add_compile_definitions(wolfssl WOLFSSL_SP_ARM_CORTEX_M_ASM)
40- elseif (${PICO_PLATFORM} STREQUAL " rp2350-riscv ")
41- add_compile_definitions(wolfSSL WOLFSSL_SP_RISCV32)
42- else()
43- add_compile_definitions(wolfssl WOLFSSL_SP_ARM_THUMB_ASM)
44- endif()
45-
4638pico_add_extra_outputs(tls_Server)
Original file line number Diff line number Diff line change @@ -28,12 +28,4 @@ else()
2828 pico_enable_stdio_uart(Wifi 0)
2929endif()
3030
31- if (${PICO_PLATFORM} STREQUAL " rp2350 ")
32- add_compile_definitions(wolfssl WOLFSSL_SP_ARM_CORTEX_M_ASM)
33- elseif (${PICO_PLATFORM} STREQUAL " rp2350-riscv ")
34- add_compile_definitions(wolfSSL WOLFSSL_SP_RISCV32)
35- else()
36- add_compile_definitions(wolfssl WOLFSSL_SP_ARM_THUMB_ASM)
37- endif()
38-
3931pico_add_extra_outputs(Wifi)
You can’t perform that action at this time.
0 commit comments