[FL-1443, FL-1289] Move assets compilation to separate Makefile. Add scripts folder. Add OTP flashing with DFU. (#531)
* 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.
This commit is contained in:
		
							
								
								
									
										617
									
								
								assets/compiled/assets_icons.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										617
									
								
								assets/compiled/assets_icons.c
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										131
									
								
								assets/compiled/assets_icons.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										131
									
								
								assets/compiled/assets_icons.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,131 @@ | ||||
| #pragma once | ||||
|  | ||||
| #include <gui/icon.h> | ||||
|  | ||||
| typedef enum { | ||||
| 	I_SDQuestion_35x43, | ||||
| 	I_SDError_43x35, | ||||
| 	I_Health_16x16, | ||||
| 	I_FaceCharging_29x14, | ||||
| 	I_BatteryBody_52x28, | ||||
| 	I_Voltage_16x16, | ||||
| 	I_Temperature_16x16, | ||||
| 	I_FaceNopower_29x14, | ||||
| 	I_FaceNormal_29x14, | ||||
| 	I_Battery_16x16, | ||||
| 	I_FaceConfused_29x14, | ||||
| 	I_PassportBottom_128x17, | ||||
| 	I_DoorLeft_8x56, | ||||
| 	I_DoorLocked_10x56, | ||||
| 	I_DoorRight_8x56, | ||||
| 	I_DoorLeft_70x55, | ||||
| 	I_PassportLeft_6x47, | ||||
| 	I_DoorRight_70x55, | ||||
| 	I_LockPopup_100x49, | ||||
| 	I_WalkR2_32x32, | ||||
| 	I_WalkL2_32x32, | ||||
| 	I_WalkRB1_32x32, | ||||
| 	I_Home_painting_17x20, | ||||
| 	I_WalkLB2_32x32, | ||||
| 	I_Sofa_40x13, | ||||
| 	I_WalkLB1_32x32, | ||||
| 	I_PC_22x29, | ||||
| 	I_WalkL1_32x32, | ||||
| 	I_TV_20x20, | ||||
| 	I_WalkR1_32x32, | ||||
| 	I_WalkRB2_32x32, | ||||
| 	I_TV_20x24, | ||||
| 	I_dir_10px, | ||||
| 	I_Nfc_10px, | ||||
| 	I_sub1_10px, | ||||
| 	I_ir_10px, | ||||
| 	I_ibutt_10px, | ||||
| 	I_unknown_10px, | ||||
| 	I_ble_10px, | ||||
| 	I_125_10px, | ||||
| 	I_FX_SittingB_40x27, | ||||
| 	I_BigGames_24x24, | ||||
| 	I_BigProfile_24x24, | ||||
| 	I_DolphinOkay_41x43, | ||||
| 	I_DolphinFirstStart5_45x53, | ||||
| 	I_DolphinFirstStart4_67x53, | ||||
| 	I_DolphinFirstStart2_59x51, | ||||
| 	I_DolphinFirstStart0_70x53, | ||||
| 	I_DolphinFirstStart6_58x54, | ||||
| 	I_DolphinFirstStart1_59x53, | ||||
| 	I_DolphinFirstStart8_56x51, | ||||
| 	I_DolphinFirstStart7_61x51, | ||||
| 	I_Flipper_young_80x60, | ||||
| 	I_BigBurger_24x24, | ||||
| 	I_FX_Bang_32x6, | ||||
| 	I_DolphinFirstStart3_57x48, | ||||
| 	I_BadUsb_9x8, | ||||
| 	I_PlaceholderR_30x13, | ||||
| 	I_Background_128x8, | ||||
| 	I_Lock_8x8, | ||||
| 	I_Battery_26x8, | ||||
| 	I_PlaceholderL_11x13, | ||||
| 	I_Battery_19x8, | ||||
| 	I_SDcardMounted_11x8, | ||||
| 	I_SDcardFail_11x8, | ||||
| 	I_USBConnected_15x8, | ||||
| 	I_Bluetooth_5x8, | ||||
| 	I_Background_128x11, | ||||
| 	I_IrdaArrowUp_4x8, | ||||
| 	I_IrdaLearnShort_128x31, | ||||
| 	I_IrdaArrowDown_4x8, | ||||
| 	I_IrdaLearn_128x64, | ||||
| 	I_IrdaSend_128x64, | ||||
| 	I_IrdaSendShort_128x34, | ||||
| 	I_passport_happy1_43x45, | ||||
| 	I_passport_bad3_43x45, | ||||
| 	I_passport_okay2_43x45, | ||||
| 	I_passport_bad2_43x45, | ||||
| 	I_passport_okay3_43x45, | ||||
| 	I_passport_bad1_43x45, | ||||
| 	I_passport_happy3_43x45, | ||||
| 	I_passport_happy2_43x45, | ||||
| 	I_passport_okay1_43x45, | ||||
| 	I_ButtonRightSmall_3x5, | ||||
| 	I_ButtonLeft_4x7, | ||||
| 	I_ButtonLeftSmall_3x5, | ||||
| 	I_ButtonRight_4x7, | ||||
| 	I_ButtonCenter_7x7, | ||||
| 	A_Games_14, | ||||
| 	A_Plugins_14, | ||||
| 	A_Passport_14, | ||||
| 	A_Sub1ghz_14, | ||||
| 	A_NFC_14, | ||||
| 	A_Tamagotchi_14, | ||||
| 	A_FileManager_14, | ||||
| 	A_125khz_14, | ||||
| 	A_U2F_14, | ||||
| 	A_Infrared_14, | ||||
| 	A_Power_14, | ||||
| 	A_Settings_14, | ||||
| 	A_iButton_14, | ||||
| 	A_Bluetooth_14, | ||||
| 	A_GPIO_14, | ||||
| 	I_DolphinMafia_115x62, | ||||
| 	I_DolphinExcited_64x63, | ||||
| 	I_iButtonDolphinSuccess_109x60, | ||||
| 	I_iButtonDolphinVerySuccess_108x52, | ||||
| 	I_iButtonKey_49x44, | ||||
| 	I_DolphinNice_96x59, | ||||
| 	I_DolphinWait_61x59, | ||||
| 	A_Wink_128x64, | ||||
| 	A_MDWL_32x32, | ||||
| 	A_MDWR_32x32, | ||||
| 	A_WatchingTV_128x64, | ||||
| 	A_MDI_32x32, | ||||
| 	A_MDWRB_32x32, | ||||
| 	A_MDIB_32x32, | ||||
| 	A_FX_Sitting_40x27, | ||||
| 	A_MDWLB_32x32, | ||||
| 	I_KeySave_24x11, | ||||
| 	I_KeyBackspaceSelected_16x9, | ||||
| 	I_KeySaveSelected_24x11, | ||||
| 	I_KeyBackspace_16x9, | ||||
| } IconName; | ||||
|  | ||||
| Icon * assets_icons_get(IconName name); | ||||
							
								
								
									
										5
									
								
								assets/compiled/assets_icons_i.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								assets/compiled/assets_icons_i.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| #pragma once | ||||
|  | ||||
| #include <assets_icons.h> | ||||
|  | ||||
| const IconData * assets_icons_get_data(IconName name); | ||||
		Reference in New Issue
	
	Block a user