prj.conf 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. # Networking config
  9. CONFIG_NETWORKING=y
  10. CONFIG_NET_IPV4=y
  11. CONFIG_NET_IPV6=n
  12. CONFIG_NET_TCP=y
  13. CONFIG_NET_SOCKETS=y
  14. CONFIG_NET_SOCKETS_POSIX_NAMES=y
  15. CONFIG_NET_TEST=y
  16. CONFIG_NET_LOOPBACK=y
  17. CONFIG_DNS_RESOLVER=y
  18. CONFIG_DNS_SERVER_IP_ADDRESSES=y
  19. CONFIG_DNS_SERVER1="192.0.2.2"
  20. # Network driver config
  21. CONFIG_TEST_RANDOM_GENERATOR=y
  22. # Network address config
  23. CONFIG_NET_CONFIG_SETTINGS=y
  24. CONFIG_NET_CONFIG_NEED_IPV4=y
  25. CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
  26. CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2"
  27. CONFIG_NET_CONFIG_MY_IPV4_GW="192.0.2.2"
  28. CONFIG_NET_PKT_TX_COUNT=10
  29. # Network debug config
  30. #CONFIG_NET_LOG=y
  31. #CONFIG_NET_PKT_LOG_LEVEL_DBG=y
  32. # Logging
  33. CONFIG_PRINTK=y
  34. #CONFIG_WOLFSSL_DEBUG=y
  35. # TLS configuration
  36. CONFIG_WOLFSSL=y
  37. CONFIG_WOLFSSL_BUILTIN=y
  38. CONFIG_WOLFSSL_TLS_VERSION_1_2=y
  39. CONFIG_WOLFSSL_KEY_EXCHANGE_ALL_ENABLED=y
  40. CONFIG_WOLFSSL_CIPHER_ALL_ENABLED=y
  41. CONFIG_WOLFSSL_MAC_ALL_ENABLED=y
  42. CONFIG_WOLFSSL_HMAC_DRBG_ENABLED=y