33 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
[build]
 | 
						|
rustflags = [
 | 
						|
    # Required to obtain backtraces (e.g. when using the "esp-backtrace" crate.)
 | 
						|
    # NOTE: May negatively impact performance of produced code
 | 
						|
    "-C", "force-frame-pointers",
 | 
						|
    "-Z", "stack-protector=all",
 | 
						|
    "-C", "link-arg=-Tlinkall.x",
 | 
						|
]
 | 
						|
 | 
						|
target = "riscv32imac-unknown-none-elf"
 | 
						|
 | 
						|
[target.riscv32imac-unknown-none-elf]
 | 
						|
#runner = "espflash flash --monitor --bootloader bootloader.bin --chip esp32c6 --baud 921600 --partition-table partitions.csv"
 | 
						|
#runner = "espflash flash --monitor --baud 921600 --partition-table partitions.csv -b no-reset" # Select this runner in case of usb ttl
 | 
						|
#runner = "espflash flash --monitor"
 | 
						|
#runner = "cargo runner"
 | 
						|
 | 
						|
 | 
						|
#runner = "espflash flash --monitor --partition-table partitions.csv -b no-reset" # create upgrade image file for webupload
 | 
						|
# runner = espflash erase-parts otadata  //ensure flash is clean
 | 
						|
 | 
						|
[env]
 | 
						|
CHRONO_TZ_TIMEZONE_FILTER = "UTC|America/New_York|America/Chicago|America/Los_Angeles|Europe/London|Europe/Berlin|Europe/Paris|Asia/Tokyo|Asia/Shanghai|Asia/Kolkata|Australia/Sydney|America/Sao_Paulo|Africa/Johannesburg|Asia/Dubai|Pacific/Auckland"
 | 
						|
CARGO_WORKSPACE_DIR = { value = "", relative = true }
 | 
						|
ESP_LOG = "info"
 | 
						|
PATH = { value = "../../../bin:/usr/bin:/usr/local/bin", force = true, relative = true }
 | 
						|
 | 
						|
 | 
						|
 | 
						|
[unstable]
 | 
						|
build-std = ["alloc", "core"]
 | 
						|
 |