Explorar o código

Merge spi_mem_manager from https://github.com/xMasterX/all-the-plugins

Willy-JL %!s(int64=2) %!d(string=hai) anos
pai
achega
765144ce39

+ 0 - 37
spi_mem_manager/.catalog/README.md

@@ -1,37 +0,0 @@
-# SPI Memory Manager
-
-This application allows you to read, erase, and flash SPI memory chips. It can be used to backup the contents of SPI memory chips, or to restore them to their original state.
-
-## Wiring
-
-The SPI Memory Manager includes a wiring pinout diagram in the app. You can also find it here:
-
-| FLIPPER PIN | SPI PIN |
-|-------------|---------|
-| 1           | -       |
-| 2           | MOSI    |
-| 3           | MISO    |
-| 4           | CS      |
-| 5           | CLK     |
-| 6           | -       |
-| 7           | -       |
-| 8           | GND     |
-| 9           | 3.3V    |
-| 10          | -       |
-| 11          | GND     |
-| 12-17       | -       |
-| 18          | GND     |
-
-# Features
-
-## Read
-
-To read the contents of an SPI memory chip, connect it to your Flipper Zero and press the Read button. The chip type will be detected automatically, and, if it is supported, the contents of the chip will be read and saved to a file on your Flipper Zero's SD card.
-
-## Erase
-
-To erase the contents of an SPI memory chip, connect it to your Flipper Zero and press the Erase button. If the chip type is supported, the chip will be erased.
-
-## Flash
-
-To flash the contents of a file on your Flipper Zero's SD card to an SPI memory chip, connect it to your Flipper Zero, select the Saved menu option in the app, and select the file you want to flash. If the chip type is supported, the file will be flashed to the chip.

+ 0 - 4
spi_mem_manager/.catalog/changelog.md

@@ -1,4 +0,0 @@
-## 1.1
- - New random filename API
-## 1.0
- - Initial release

BIN=BIN
spi_mem_manager/.catalog/screenshots/1.png


BIN=BIN
spi_mem_manager/.catalog/screenshots/2.png


BIN=BIN
spi_mem_manager/.catalog/screenshots/3.png


BIN=BIN
spi_mem_manager/.catalog/screenshots/4.png


+ 1 - 1
spi_mem_manager/application.fam

@@ -6,7 +6,7 @@ App(
     requires=["gui"],
     stack_size=1 * 2048,
     fap_description="Application for reading and writing 25-series SPI memory chips",
-    fap_version="1.1",
+    fap_version="1.0",
     fap_icon="images/Dip8_10px.png",
     fap_category="GPIO",
     fap_icon_assets="images",

+ 1 - 1
spi_mem_manager/scenes/spi_mem_scene_about.c

@@ -3,7 +3,7 @@
 
 #define SPI_MEM_VERSION_APP "0.1.0"
 #define SPI_MEM_DEVELOPER "DrunkBatya"
-#define SPI_MEM_GITHUB "https://github.com/flipperdevices/flipperzero-good-faps"
+#define SPI_MEM_GITHUB "https://github.com/flipperdevices/flipperzero-firmware"
 #define SPI_MEM_NAME "\e#\e!       SPI Mem Manager        \e!\n"
 #define SPI_MEM_BLANK_INV "\e#\e!                                                      \e!\n"
 

+ 1 - 1
spi_mem_manager/scenes/spi_mem_scene_read_filename.c

@@ -11,7 +11,7 @@ void spi_mem_scene_read_set_random_filename(SPIMemApp* app) {
         size_t filename_start = furi_string_search_rchar(app->file_path, '/');
         furi_string_left(app->file_path, filename_start);
     }
-    name_generator_make_auto(app->text_buffer, SPI_MEM_TEXT_BUFFER_SIZE, SPI_MEM_FILE_PREFIX);
+    name_generator_make_auto(app->text_buffer, SPI_MEM_TEXT_BUFFER_SIZE, TAG);
 }
 
 void spi_mem_scene_read_filename_on_enter(void* context) {

+ 0 - 1
spi_mem_manager/spi_mem_app_i.h

@@ -26,7 +26,6 @@
 
 #define TAG "SPIMem"
 #define SPI_MEM_FILE_EXTENSION ".bin"
-#define SPI_MEM_FILE_PREFIX "SPIMem"
 #define SPI_MEM_FILE_NAME_SIZE 100
 #define SPI_MEM_TEXT_BUFFER_SIZE 128