* Assets: move assets compilation to separate Makefile. Move all scripts to scripts folder. Add scripts ReadMe. Add precompiled assets. * Split assets.py into separate entities. Option bytes for FL-1289 and checker/setter. * Cli: explicitly initialize variable befor use in api_hal_vcp_rx_with_timeout * Rename ob_check script to ob.
		
			
				
	
	
		
			18 lines
		
	
	
		
			260 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			260 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
set -x -e
 | 
						|
 | 
						|
if [ "$#" -ne 1 ]; then
 | 
						|
    echo "OTP file required"
 | 
						|
    exit
 | 
						|
fi
 | 
						|
 | 
						|
if [ ! -f $1 ]; then
 | 
						|
    echo "Unable to open OTP file"
 | 
						|
    exit
 | 
						|
fi
 | 
						|
 | 
						|
STM32_Programmer_CLI -c port=swd -d $1 0x1FFF7000
 | 
						|
 | 
						|
STM32_Programmer_CLI -c port=swd -r8 0x1FFF7000 8
 |