Kconfig.projbuild 842 B

1234567891011121314151617181920212223242526272829
  1. menu "ESP-NN"
  2. choice NN_OPTIMIZATIONS
  3. bool "Optimization for nn functions"
  4. default NN_OPTIMIZED
  5. help
  6. Use ANSI-C versions for verification and debug purpose.
  7. Optimisations are automatically picked up for a chipset.
  8. For ESP32-S3, assembly optimisations are selected.
  9. For other platforms(viz., ESP32, ESP32-C3), generic optimisations are used.
  10. config NN_ANSI_C
  11. bool "ANSI C"
  12. help
  13. ANSI C versions for verification and debug purposes.
  14. config NN_OPTIMIZED
  15. bool "Optimized versions"
  16. help
  17. Optimisations are automatically picked up for a chipset.
  18. For ESP32-S3, assembly optimisations are selected.
  19. For other platforms(viz., ESP32, ESP32-C3), generic optimisations are used.
  20. endchoice
  21. config NN_OPTIMIZATIONS
  22. int
  23. default 0 if NN_ANSI_C
  24. default 1 if NN_OPTIMIZED
  25. endmenu