prj.conf 1.1 KB

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