davids5 commented on a change in pull request #1613:
URL: https://github.com/apache/incubator-nuttx/pull/1613#discussion_r473926685



##########
File path: arch/xtensa/src/esp32/Kconfig
##########
@@ -5,6 +5,26 @@
 
 if ARCH_CHIP_ESP32
 
+choice ESP32_DEFAULT_CPU_FREQ_MHZ
+       prompt "CPU frequency"
+       default ESP32_DEFAULT_CPU_FREQ_240
+       help
+               CPU frequency to be set on application startup.
+
+       config ESP32_DEFAULT_CPU_FREQ_80
+               bool "80 MHz"
+       config ESP32_DEFAULT_CPU_FREQ_160
+               bool "160 MHz"
+       config ESP32_DEFAULT_CPU_FREQ_240
+               bool "240 MHz"
+endchoice # CPU frequency
+
+config ESP32_DEFAULT_CPU_FREQ_MHZ

Review comment:
       Why not have an int choice?




----------------------------------------------------------------
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.

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


Reply via email to