mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 13:03:13 +00:00
297f185ef4
* invalidate memmgt thread dict * Core: rollback memmgt thread dict invalidation * Dialogs: move api lock to toolbox * HAL: blocking usb API * HAL usb: fix api return data * HAL usb: api optimization * api lock: test results * Fix build errors * DAP Link: fix imports * Crash when malloc in ISR * Fix dap-link copypaste error * Moar memory management crashes. * Crash when malloc in IRQ, not ISR * USB-UART: Blocking VCP mode switch Co-authored-by: nminaylov <nm29719@gmail.com> Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
41 lines
1,006 B
C
41 lines
1,006 B
C
#pragma once
|
|
|
|
#include "gpio_app.h"
|
|
#include "gpio_item.h"
|
|
#include "scenes/gpio_scene.h"
|
|
#include "gpio_custom_event.h"
|
|
#include "usb_uart_bridge.h"
|
|
|
|
#include <gui/gui.h>
|
|
#include <gui/view_dispatcher.h>
|
|
#include <gui/scene_manager.h>
|
|
#include <gui/modules/submenu.h>
|
|
#include <notification/notification_messages.h>
|
|
#include <gui/modules/variable_item_list.h>
|
|
#include <gui/modules/widget.h>
|
|
#include "views/gpio_test.h"
|
|
#include "views/gpio_usb_uart.h"
|
|
#include <assets_icons.h>
|
|
|
|
struct GpioApp {
|
|
Gui* gui;
|
|
NotificationApp* notifications;
|
|
ViewDispatcher* view_dispatcher;
|
|
SceneManager* scene_manager;
|
|
Widget* widget;
|
|
|
|
VariableItemList* var_item_list;
|
|
VariableItem* var_item_flow;
|
|
GpioTest* gpio_test;
|
|
GpioUsbUart* gpio_usb_uart;
|
|
UsbUartBridge* usb_uart_bridge;
|
|
UsbUartConfig* usb_uart_cfg;
|
|
};
|
|
|
|
typedef enum {
|
|
GpioAppViewVarItemList,
|
|
GpioAppViewGpioTest,
|
|
GpioAppViewUsbUart,
|
|
GpioAppViewUsbUartCfg,
|
|
GpioAppViewUsbUartCloseRpc,
|
|
} GpioAppView;
|