m1n1/config.h
Hector Martin 5aaedef975 main: Add RELEASE mode features
- Hide console by default unless booting in verbose mode.
- In verbose mode, enable USB early and poll for connection before
  launching payloads.
- Show console on fallback to proxy.

Signed-off-by: Hector Martin <marcan@marcan.st>
2022-02-22 00:30:54 +09:00

24 lines
535 B
C

/* SPDX-License-Identifier: MIT */
#ifndef CONFIG_H
#define CONFIG_H
// Enable framebuffer console
#define USE_FB
// Disable framebuffer console unless verbose boot is enabled
//#define FB_SILENT_MODE
// Initialize USB early and break into proxy if device is opened within this time (sec)
//#define EARLY_PROXY_TIMEOUT 5
// Print RTKit logs to the console
//#define RTKIT_SYSLOG
// Target for device-specific debug builds
//#define TARGET T8103
#ifdef RELEASE
# define FB_SILENT_MODE
# define EARLY_PROXY_TIMEOUT 5
#endif
#endif