Merge pull request #402 from RogueMaster/gpioFAP

GPIO AS FAP
This commit is contained in:
RogueMaster
2022-11-04 15:48:09 -04:00
committed by GitHub
11 changed files with 32 additions and 6 deletions

View File

@@ -21,6 +21,7 @@
- [BadUSB: BadUSB as FAP #396 (By ESurge)](https://github.com/RogueMaster/flipperzero-firmware-wPlugins/pull/396)
- [RFID: LFRFID AS FAP #397 (By RogueMaster)](https://github.com/RogueMaster/flipperzero-firmware-wPlugins/pull/397) (With Thanks to @ESurge)
- [Infrared: Infrared AS FAP #398 (By RogueMaster)](https://github.com/RogueMaster/flipperzero-firmware-wPlugins/pull/398) (With Thanks to @ESurge)
- [GPIO: GPIO AS FAP #402 (By RogueMaster)](https://github.com/RogueMaster/flipperzero-firmware-wPlugins/pull/402) (With Thanks to @ESurge)
<details>
<summary><B>TO DO / REMOVED</b></summary><br/>

View File

@@ -4,7 +4,8 @@ App(
apptype=FlipperAppType.METAPACKAGE,
provides=[
"clock_loader",
"gpio",
# "gpio",
"gpio_loader",
# "ibutton",
"ibutton_loader",
# "infrared",

View File

@@ -1,13 +1,14 @@
App(
appid="gpio",
name="GPIO",
apptype=FlipperAppType.APP,
apptype=FlipperAppType.EXTERNAL,
entry_point="gpio_app",
cdefines=["APP_GPIO"],
requires=["gui"],
stack_size=1 * 1024,
icon="A_GPIO_14",
# icon="A_GPIO_14",
order=50,
# fap_icon="gpioIcon.png",
# fap_category="Main",
fap_icon="gpioIcon.png",
fap_category="Main",
fap_icon_assets="images",
)

View File

@@ -17,7 +17,7 @@
#include "views/gpio_usb_uart.h"
#include "views/gpio_i2c_scanner.h"
#include "views/gpio_i2c_sfp.h"
#include <assets_icons.h>
#include <gpio_icons.h>
struct GpioApp {
Gui* gui;

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 654 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 669 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -0,0 +1,14 @@
App(
appid="gpio_loader",
name="GPIO",
apptype=FlipperAppType.APP,
entry_point="gpio_loader_app",
requires=[
"gui",
"storage",
],
stack_size=int(1.5 * 1024),
icon="A_GPIO_14",
order=50,
link="/ext/apps/Main/gpio.fap",
)

View File

@@ -0,0 +1,9 @@
#include <applications/services/loader/loader_i.h>
#define TAG "gpio_loader_app"
int32_t gpio_loader_app(void* p) {
UNUSED(p);
return 0;
}