1
0

prj.conf 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # Kernel options
  2. CONFIG_MAIN_STACK_SIZE=16384
  3. CONFIG_ENTROPY_GENERATOR=y
  4. CONFIG_INIT_STACKS=y
  5. CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=8192
  6. # General config
  7. CONFIG_NEWLIB_LIBC=y
  8. # Pthreads
  9. CONFIG_PTHREAD_IPC=y
  10. # Clock for time()
  11. CONFIG_POSIX_CLOCK=y
  12. # Networking config
  13. CONFIG_NETWORKING=y
  14. CONFIG_NET_IPV4=y
  15. CONFIG_NET_IPV6=n
  16. CONFIG_NET_TCP=y
  17. CONFIG_NET_SOCKETS=y
  18. CONFIG_NET_SOCKETS_POSIX_NAMES=y
  19. CONFIG_NET_TEST=y
  20. CONFIG_NET_LOOPBACK=y
  21. # Network driver config
  22. CONFIG_TEST_RANDOM_GENERATOR=y
  23. # Network address config
  24. CONFIG_NET_CONFIG_SETTINGS=y
  25. CONFIG_NET_CONFIG_NEED_IPV4=y
  26. CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
  27. CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2"
  28. CONFIG_NET_CONFIG_MY_IPV4_GW="192.0.2.2"
  29. CONFIG_NET_PKT_TX_COUNT=10
  30. # Network debug config
  31. #CONFIG_NET_LOG=y
  32. #CONFIG_NET_PKT_LOG_LEVEL_DBG=y
  33. # Logging
  34. CONFIG_PRINTK=y
  35. #CONFIG_WOLFSSL_DEBUG=y
  36. CONFIG_LOG=y
  37. CONFIG_LOG_MODE_IMMEDIATE=y
  38. # TLS configuration
  39. CONFIG_WOLFSSL=y
  40. CONFIG_WOLFSSL_BUILTIN=y
  41. CONFIG_WOLFSSL_TLS_VERSION_1_3=y
  42. CONFIG_WOLFSSL_KEY_EXCHANGE_ALL_ENABLED=y
  43. CONFIG_WOLFSSL_CIPHER_ALL_ENABLED=y
  44. CONFIG_WOLFSSL_MAC_ALL_ENABLED=y
  45. CONFIG_WOLFSSL_HMAC_DRBG_ENABLED=y