FelipeMdeO commented on code in PR #3532:
URL: https://github.com/apache/nuttx-apps/pull/3532#discussion_r3408546475


##########
netutils/dropbear/Kconfig:
##########
@@ -0,0 +1,102 @@
+#
+# For a description of the syntax of this configuration file,
+# see the file kconfig-language.txt in the NuttX tools repository.
+#
+
+menuconfig NETUTILS_DROPBEAR
+       tristate "Dropbear SSH server"
+       default n
+       depends on NET && NET_TCP
+       depends on !DISABLE_PSEUDOFS_OPERATIONS
+       depends on !DISABLE_PTHREAD
+       depends on SCHED_WAITPID
+       depends on NSH_LIBRARY
+       depends on FSUTILS_PASSWD
+       depends on PSEUDOTERM
+       depends on SERIAL
+       depends on ARCH_HAVE_RNG
+       select CRYPTO
+       select CRYPTO_RANDOM_POOL
+       select DEV_RANDOM
+       select DEV_URANDOM
+       select LIBC_NETDB
+       select LIBC_GAISTRERROR
+       ---help---
+               Enable a minimal Dropbear SSH server port for NuttX.  This 
initial
+               port is based on the ESP-IDF MCU test port and provides a single
+               foreground SSH server process with SSH sessions backed by NSH.
+
+if NETUTILS_DROPBEAR
+
+config NETUTILS_DROPBEAR_STACKSIZE
+       int "Dropbear main stack size"
+       default 65536 if ARCH_CHIP_ESP32C3
+       default 32768

Review Comment:
   You're right. Previously I used esp32s3 which uses less stack. During the 
development I keep this if-else to allow test in both HW.
   I am keep the highest size and user can adjust to specific HW.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to