 8116bfcbab
			
		
	
	
		8116bfcbab
		
			
		
	
	
	
	
		
			
			* 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.
		
			
				
	
	
		
			21 lines
		
	
	
		
			703 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			703 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| set -x -e
 | |
| 
 | |
| SCRIPT_DIR="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
 | |
| PROJECT_DIR="$(dirname "$SCRIPT_DIR")"
 | |
| COPRO_DIR="$PROJECT_DIR/lib/STM32CubeWB/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x"
 | |
| 
 | |
| STM32_Programmer_CLI -c port=swd -fwupgrade $COPRO_DIR/stm32wb5x_FUS_fw_1_0_2.bin 0x080EC000 || true
 | |
| STM32_Programmer_CLI -c port=swd
 | |
| 
 | |
| STM32_Programmer_CLI -c port=swd -fwupgrade $COPRO_DIR/stm32wb5x_FUS_fw.bin 0x080EC000 || true
 | |
| STM32_Programmer_CLI -c port=swd
 | |
| 
 | |
| STM32_Programmer_CLI -c port=swd -fwdelete
 | |
| 
 | |
| STM32_Programmer_CLI -c port=swd -fwupgrade $COPRO_DIR/stm32wb5x_BLE_Stack_full_fw.bin 0x080CB000 firstinstall=0
 | |
| 
 | |
| STM32_Programmer_CLI -c port=swd -ob nSWBOOT0=1 nBOOT0=1
 | |
| 
 |