(output_file, device_properties: ConfigParser)
| 362 | output_file.write("CONFIG_BT_NIMBLE_NVS_PERSIST=y\n") |
| 363 | |
| 364 | def write_usbhost_variables(output_file, device_properties: ConfigParser): |
| 365 | has_usbhost = get_boolean_property_or_false(device_properties, "hardware", "usbHostEnabled") |
| 366 | if has_usbhost: |
| 367 | output_file.write("# USB Host\n") |
| 368 | output_file.write("CONFIG_FATFS_VOLUME_COUNT=6\n") |
| 369 | output_file.write("CONFIG_VFS_MAX_COUNT=10\n") |
| 370 | output_file.write("CONFIG_USB_HOST_HUBS_SUPPORTED=y\n") |
| 371 | output_file.write("CONFIG_USB_HOST_DEBOUNCE_DELAY_MS=500\n") |
| 372 | output_file.write("CONFIG_USB_HOST_RESET_HOLD_MS=100\n") |
| 373 | output_file.write("CONFIG_USB_HOST_RESET_RECOVERY_MS=100\n") |
| 374 | output_file.write("CONFIG_USB_HOST_SET_ADDR_RECOVERY_MS=500\n") |
| 375 | |
| 376 | def write_custom_sdkconfig(output_file, device_properties: ConfigParser): |
| 377 | if "sdkconfig" in device_properties.sections(): |
no test coverage detected