mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-24 19:53:08 +00:00
e02040107b
* WIP on stripping fw * Compact FW build - use RAM_EXEC=1 COMPACT=1 DEBUG=0 * Fixed uninitialized storage struct; small fixes to compact fw * Flasher srv w/mocked flash ops * Fixed typos & accomodated FFF changes * Alternative fw startup branch * Working load & jmp to RAM fw * +manifest processing for stage loader; + crc verification for stage payload * Fixed questionable code & potential leaks * Lowered screen update rate; added radio stack update stubs; working dfu write * Console EP with manifest & stage validation * Added microtar lib; minor ui fixes for updater * Removed microtar * Removed mtar #2 * Added a better version of microtar * TAR archive api; LFS backup & restore core * Recursive backup/restore * LFS worker thread * Added system apps to loader - not visible in UI; full update process with restarts * Typo fix * Dropped BL & f6; tooling for updater WIP * Minor py fixes * Minor fixes to make it build after merge * Ported flash workaround from BL + fixed visuals * Minor cleanup * Chmod + loader app search fix * Python linter fix * Removed usb stuff & float read support for staged loader == -10% of binary size * Added backup/restore & update pb requests * Added stub impl to RPC for backup/restore/update commands * Reworked TAR to use borrowed Storage api; slightly reduced build size by removing `static string`; hidden update-related RPC behind defines * Moved backup&restore to storage * Fixed new message types * Backup/restore/update RPC impl * Moved furi_hal_crc to LL; minor fixes * CRC HAL rework to LL * Purging STM HAL * Brought back minimal DFU boot mode (no gui); additional crc state checks * Added splash screen, BROKEN usb function * Clock init rework WIP * Stripped graphics from DFU mode * Temp fix for unused static fun * WIP update picker - broken! * Fixed UI * Bumping version * Fixed RTC setup * Backup to update folder instead of ext root * Removed unused scenes & more usb remnants from staged loader * CI updates * Fixed update bundle name * Temporary restored USB handler * Attempt to prevent .text corruption * Comments on how I spent this Saturday * Added update file icon * Documentation updates * Moved common code to lib folder * Storage: more unit tests * Storage: blocking dir open, differentiate file and dir when freed. * Major refactoring; added input processing to updater to allow retrying on failures (not very useful prob). Added API for extraction of thread return value * Removed re-init check for manifest * Changed low-level path manipulation to toolbox/path.h; makefile cleanup; tiny fix in lint.py * Increased update worker stack size * Text fixes in backup CLI * Displaying number of update stages to run; removed timeout in handling errors * Bumping version * Added thread cleanup for spawner thread * Updated build targets to exclude firmware bundle from 'ALL' * Fixed makefile for update_package; skipping VCP init for update mode (ugly) * Switched github build from ALL to update_package * Added +x for dist_update.sh * Cli: add total heap size to "free" command * Moved (RAM) suffix to build version instead of git commit no. * DFU comment * Some fixes suggested by clang-tidy * Fixed recursive PREFIX macro * Makefile: gather all new rules in updater namespace. FuriHal: rename bootloader to boot, isr safe delays * Github: correct build target name in firmware build * FuriHal: move target switch to boot * Makefile: fix firmware flash * Furi, FuriHal: move kernel start to furi, early init * Drop bootloader related stuff * Drop cube. Drop bootloader linker script. * Renamed update_hl, moved constants to #defines * Moved update-related boot mode to separate bitfield * Reworked updater cli to single entry point; fixed crash on tar cleanup * Added Python replacement for dist shell scripts * Linter fixes for dist.py +x * Fixes for environment suffix * Dropped bash scripts * Added dirty build flag to version structure & interfaces * Version string escapes * Fixed flag logic in dist.py; added support for App instances being imported and not terminating the whole program * Fixed fw address in ReadMe.md * Rpc: fix crash on double screen start * Return back original boot behavior and fix jump to system bootloader * Cleanup code, add error sequence for RTC * Update firmware readme * FuriHal: drop boot, restructure RTC registers usage and add header register check * Furi goes first * Toolchain: add ccache support * Renamed update bundle dir Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com> Co-authored-by: あく <alleteam@gmail.com>
182 lines
6.6 KiB
C
182 lines
6.6 KiB
C
#pragma once
|
|
#include <gui/icon.h>
|
|
|
|
extern const Icon I_Certification1_103x23;
|
|
extern const Icon I_Certification2_119x30;
|
|
extern const Icon A_Levelup1_128x64;
|
|
extern const Icon A_Levelup2_128x64;
|
|
extern const Icon I_125_10px;
|
|
extern const Icon I_Nfc_10px;
|
|
extern const Icon I_badusb_10px;
|
|
extern const Icon I_ble_10px;
|
|
extern const Icon I_dir_10px;
|
|
extern const Icon I_ibutt_10px;
|
|
extern const Icon I_ir_10px;
|
|
extern const Icon I_sub1_10px;
|
|
extern const Icon I_u2f_10px;
|
|
extern const Icon I_unknown_10px;
|
|
extern const Icon I_update_10px;
|
|
extern const Icon I_BLE_Pairing_128x64;
|
|
extern const Icon I_Ble_connected_38x34;
|
|
extern const Icon I_Ble_disconnected_24x34;
|
|
extern const Icon I_Button_18x18;
|
|
extern const Icon I_Circles_47x47;
|
|
extern const Icon I_Ok_btn_9x9;
|
|
extern const Icon I_Pressed_Button_13x13;
|
|
extern const Icon I_Space_65x18;
|
|
extern const Icon I_Voldwn_6x6;
|
|
extern const Icon I_Volup_8x6;
|
|
extern const Icon I_Clock_18x18;
|
|
extern const Icon I_Error_18x18;
|
|
extern const Icon I_EviSmile1_18x21;
|
|
extern const Icon I_EviSmile2_18x21;
|
|
extern const Icon I_EviWaiting1_18x21;
|
|
extern const Icon I_EviWaiting2_18x21;
|
|
extern const Icon I_Percent_10x14;
|
|
extern const Icon I_Smile_18x18;
|
|
extern const Icon I_UsbTree_48x22;
|
|
extern const Icon I_ButtonCenter_7x7;
|
|
extern const Icon I_ButtonDown_7x4;
|
|
extern const Icon I_ButtonLeftSmall_3x5;
|
|
extern const Icon I_ButtonLeft_4x7;
|
|
extern const Icon I_ButtonRightSmall_3x5;
|
|
extern const Icon I_ButtonRight_4x7;
|
|
extern const Icon I_ButtonUp_7x4;
|
|
extern const Icon I_DFU_128x50;
|
|
extern const Icon I_Warning_30x23;
|
|
extern const Icon A_Loading_24;
|
|
extern const Icon I_DolphinFirstStart0_70x53;
|
|
extern const Icon I_DolphinFirstStart1_59x53;
|
|
extern const Icon I_DolphinFirstStart2_59x51;
|
|
extern const Icon I_DolphinFirstStart3_57x48;
|
|
extern const Icon I_DolphinFirstStart4_67x53;
|
|
extern const Icon I_DolphinFirstStart5_54x49;
|
|
extern const Icon I_DolphinFirstStart6_58x54;
|
|
extern const Icon I_DolphinFirstStart7_61x51;
|
|
extern const Icon I_DolphinFirstStart8_56x51;
|
|
extern const Icon I_DolphinOkay_41x43;
|
|
extern const Icon I_Flipper_young_80x60;
|
|
extern const Icon I_ArrowDownEmpty_14x15;
|
|
extern const Icon I_ArrowDownFilled_14x15;
|
|
extern const Icon I_ArrowUpEmpty_14x15;
|
|
extern const Icon I_ArrowUpFilled_14x15;
|
|
extern const Icon I_Back_15x10;
|
|
extern const Icon I_DolphinReadingSuccess_59x63;
|
|
extern const Icon I_Down_25x27;
|
|
extern const Icon I_Down_hvr_25x27;
|
|
extern const Icon I_Fill_marker_7x7;
|
|
extern const Icon I_InfraredArrowDown_4x8;
|
|
extern const Icon I_InfraredArrowUp_4x8;
|
|
extern const Icon I_InfraredLearnShort_128x31;
|
|
extern const Icon I_InfraredLearn_128x64;
|
|
extern const Icon I_InfraredSendShort_128x34;
|
|
extern const Icon I_InfraredSend_128x64;
|
|
extern const Icon I_Mute_25x27;
|
|
extern const Icon I_Mute_hvr_25x27;
|
|
extern const Icon I_Power_25x27;
|
|
extern const Icon I_Power_hvr_25x27;
|
|
extern const Icon I_Up_25x27;
|
|
extern const Icon I_Up_hvr_25x27;
|
|
extern const Icon I_Vol_down_25x27;
|
|
extern const Icon I_Vol_down_hvr_25x27;
|
|
extern const Icon I_Vol_up_25x27;
|
|
extern const Icon I_Vol_up_hvr_25x27;
|
|
extern const Icon I_Back3_45x8;
|
|
extern const Icon I_DoorLeft_70x55;
|
|
extern const Icon I_DoorLocked_10x56;
|
|
extern const Icon I_DoorRight_70x55;
|
|
extern const Icon I_PassportBottom_128x17;
|
|
extern const Icon I_PassportLeft_6x47;
|
|
extern const Icon I_WarningDolphin_45x42;
|
|
extern const Icon I_KeyBackspaceSelected_16x9;
|
|
extern const Icon I_KeyBackspace_16x9;
|
|
extern const Icon I_KeySaveSelected_24x11;
|
|
extern const Icon I_KeySave_24x11;
|
|
extern const Icon A_125khz_14;
|
|
extern const Icon A_BadUsb_14;
|
|
extern const Icon A_Bluetooth_14;
|
|
extern const Icon A_Debug_14;
|
|
extern const Icon A_FileManager_14;
|
|
extern const Icon A_GPIO_14;
|
|
extern const Icon A_Games_14;
|
|
extern const Icon A_Infrared_14;
|
|
extern const Icon A_NFC_14;
|
|
extern const Icon A_Passport_14;
|
|
extern const Icon A_Plugins_14;
|
|
extern const Icon A_Power_14;
|
|
extern const Icon A_Settings_14;
|
|
extern const Icon A_Sub1ghz_14;
|
|
extern const Icon A_Tamagotchi_14;
|
|
extern const Icon A_U2F_14;
|
|
extern const Icon A_iButton_14;
|
|
extern const Icon I_Detailed_chip_17x13;
|
|
extern const Icon I_Medium_chip_22x21;
|
|
extern const Icon I_Pin_arrow_down_7x9;
|
|
extern const Icon I_Pin_arrow_left_9x7;
|
|
extern const Icon I_Pin_arrow_right_9x7;
|
|
extern const Icon I_Pin_arrow_up7x9;
|
|
extern const Icon I_Pin_attention_dpad_29x29;
|
|
extern const Icon I_Pin_back_arrow_10x8;
|
|
extern const Icon I_Pin_back_full_40x8;
|
|
extern const Icon I_Pin_cell_13x13;
|
|
extern const Icon I_Pin_pointer_5x3;
|
|
extern const Icon I_Pin_star_7x7;
|
|
extern const Icon I_passport_bad1_46x49;
|
|
extern const Icon I_passport_bad2_46x49;
|
|
extern const Icon I_passport_bad3_46x49;
|
|
extern const Icon I_passport_bottom_128x18;
|
|
extern const Icon I_passport_happy1_46x49;
|
|
extern const Icon I_passport_happy2_46x49;
|
|
extern const Icon I_passport_happy3_46x49;
|
|
extern const Icon I_passport_left_6x46;
|
|
extern const Icon I_passport_okay1_46x49;
|
|
extern const Icon I_passport_okay2_46x49;
|
|
extern const Icon I_passport_okay3_46x49;
|
|
extern const Icon I_BatteryBody_52x28;
|
|
extern const Icon I_Battery_16x16;
|
|
extern const Icon I_FaceCharging_29x14;
|
|
extern const Icon I_FaceConfused_29x14;
|
|
extern const Icon I_FaceNopower_29x14;
|
|
extern const Icon I_FaceNormal_29x14;
|
|
extern const Icon I_Health_16x16;
|
|
extern const Icon I_Temperature_16x16;
|
|
extern const Icon I_Voltage_16x16;
|
|
extern const Icon I_RFIDBigChip_37x36;
|
|
extern const Icon I_RFIDDolphinReceive_97x61;
|
|
extern const Icon I_RFIDDolphinSend_97x61;
|
|
extern const Icon I_RFIDDolphinSuccess_108x57;
|
|
extern const Icon I_SDError_43x35;
|
|
extern const Icon I_SDQuestion_35x43;
|
|
extern const Icon I_Cry_dolph_55x52;
|
|
extern const Icon I_Attention_5x8;
|
|
extern const Icon I_Background_128x11;
|
|
extern const Icon I_BadUsb_9x8;
|
|
extern const Icon I_Battery_19x8;
|
|
extern const Icon I_Battery_26x8;
|
|
extern const Icon I_Bluetooth_Connected_16x8;
|
|
extern const Icon I_Bluetooth_Idle_5x8;
|
|
extern const Icon I_Charging_lightning_9x10;
|
|
extern const Icon I_Charging_lightning_mask_9x10;
|
|
extern const Icon I_Lock_8x8;
|
|
extern const Icon I_PlaceholderL_11x13;
|
|
extern const Icon I_PlaceholderR_30x13;
|
|
extern const Icon I_SDcardFail_11x8;
|
|
extern const Icon I_SDcardMounted_11x8;
|
|
extern const Icon I_USBConnected_15x8;
|
|
extern const Icon I_Lock_7x8;
|
|
extern const Icon I_MHz_25x11;
|
|
extern const Icon I_Quest_7x8;
|
|
extern const Icon I_Scanning_123x52;
|
|
extern const Icon I_Unlock_7x8;
|
|
extern const Icon I_Auth_62x31;
|
|
extern const Icon I_Connect_me_62x31;
|
|
extern const Icon I_Connected_62x31;
|
|
extern const Icon I_Drive_112x35;
|
|
extern const Icon I_Error_62x31;
|
|
extern const Icon I_DolphinExcited_64x63;
|
|
extern const Icon I_DolphinMafia_115x62;
|
|
extern const Icon I_DolphinNice_96x59;
|
|
extern const Icon I_DolphinWait_61x59;
|
|
extern const Icon I_iButtonDolphinSuccess_109x60;
|
|
extern const Icon I_iButtonDolphinVerySuccess_108x52;
|
|
extern const Icon I_iButtonKey_49x44;
|