forked from xuos/xiuos
				
			
		
			
				
	
	
		
			113 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			113 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
| menu "MicroPython"
 | |
| 
 | |
| config PKG_USING_MICROPYTHON
 | |
|     bool "Enable MicroPython"
 | |
|     select RT_USING_LIBC
 | |
|     select RT_USING_RTC
 | |
|     default n
 | |
| 
 | |
| if PKG_USING_MICROPYTHON
 | |
| 
 | |
|     menu "System Module"
 | |
|         config MICROPYTHON_USING_UOS
 | |
|             bool "uos: basic 'operating system' services"
 | |
|             select RT_USING_DFS
 | |
|             default n
 | |
| 
 | |
|         if MICROPYTHON_USING_UOS
 | |
|             config MICROPYTHON_USING_FILE_SYNC_VIA_IDE
 | |
|                 bool "filesync: sync files through MicroPython IDE"
 | |
|                 default y
 | |
|         endif
 | |
| 
 | |
|         config MICROPYTHON_USING_THREAD
 | |
|             bool "_thread: multithreading support"
 | |
|             default n
 | |
| 
 | |
|         config MICROPYTHON_USING_USELECT
 | |
|             bool "uselect: wait for events on a set of streams"
 | |
|             default n
 | |
| 
 | |
|         config MICROPYTHON_USING_UCTYPES
 | |
|             bool "uctypes: create and manipulate C data types in Python"
 | |
|             default n
 | |
| 
 | |
|         config MICROPYTHON_USING_UERRNO
 | |
|             bool "uerrno: system error codes"
 | |
|             default n
 | |
| 
 | |
|     endmenu
 | |
| 
 | |
|     menu "Tools Module"
 | |
|         config MICROPYTHON_USING_CMATH
 | |
|             bool "cmath: mathematical functions for complex numbers"
 | |
|             default n
 | |
| 
 | |
|         config MICROPYTHON_USING_UBINASCII
 | |
|             bool "ubinascii: binary/ASCII conversions"
 | |
|             default n
 | |
| 
 | |
| 		# # Module hashlib conflicts with Kendryte standalone SDK on header
 | |
|         # config MICROPYTHON_USING_UHASHLIB
 | |
|         #     bool "uhashlib: hashing algorithms"
 | |
|         #     default n
 | |
| 
 | |
|         config MICROPYTHON_USING_UHEAPQ
 | |
|             bool "uheapq: heap queue algorithm"
 | |
|             default n
 | |
| 
 | |
|         config MICROPYTHON_USING_UJSON
 | |
|             bool "ujson: JSON encoding and decoding"
 | |
|             select MICROPYTHON_USING_UOS
 | |
|             default n
 | |
| 
 | |
|         config MICROPYTHON_USING_URE
 | |
|             bool "ure: simple regular expressions"
 | |
|             default n
 | |
| 
 | |
|         config MICROPYTHON_USING_UZLIB
 | |
|             bool "uzlib: zlib decompression"
 | |
|             default n
 | |
| 
 | |
|         config MICROPYTHON_USING_URANDOM
 | |
|             bool "urandom: random variable generators"
 | |
|             default n
 | |
|     endmenu
 | |
| 
 | |
|     menu "Network Module"
 | |
|         config MICROPYTHON_USING_USOCKET
 | |
|             bool "usocket: socket operations and some related functions"
 | |
|             select RT_USING_SAL
 | |
|             select SAL_USING_POSIX
 | |
|             select RT_LWIP_IGMP
 | |
|             default n
 | |
| 
 | |
|     endmenu
 | |
| 
 | |
|     menu "User Extended Module"
 | |
|         config MICROPYTHON_USING_USEREXTMODS
 | |
|         bool "modules define in your project"
 | |
|         default n
 | |
|         help
 | |
|             You must provide 'qstrdefs.user.extmods.h'
 | |
|             and 'moddefs.user.extmods.h'.
 | |
|             Macro 'MICROPY_USER_MODULES' in 
 | |
|             'moddefs.user.extmods.h' to export your modules.
 | |
|     endmenu
 | |
| 
 | |
|     config PKG_MICROPYTHON_HEAP_SIZE
 | |
|         int
 | |
|         prompt "Heap size for python run environment"
 | |
|         default 8192
 | |
| 
 | |
|     
 | |
|     config MICROPYTHON_USING_FLOAT_IMPL_FLOAT
 | |
|         bool "Enable micropython to use float instead of double"
 | |
|         default y
 | |
|         help
 | |
|             In some MCU, using float can accelerate computing-speed because of the FPU.
 | |
| 
 | |
| endif
 | |
| 
 | |
| endmenu
 |