0
mirror of https://github.com/gusmanb/logicanalyzer.git synced 2024-12-22 01:39:30 +00:00
gusmanb-logicanalyzer/Firmware/LogicAnalyzer/Shared_Buffers.h
2023-04-11 13:51:37 +02:00

16 lines
567 B
C

#include "LogicAnalyzer_Board_Settings.h"
#ifdef USE_CYGW_WIFI
#ifndef __SHARED_BUFFERS__
#define __SHARED_BUFFERS__
#include "LogicAnalyzer_Structs.h"
#include "Event_Machine.h"
#include "hardware/flash.h"
#define FLASH_SETTINGS_OFFSET ((2048 * 1024) - FLASH_SECTOR_SIZE)
#define FLASH_SETTINGS_ADDRESS (XIP_BASE + FLASH_SETTINGS_OFFSET)
volatile extern WIFI_SETTINGS wifiSettings;
extern EVENT_MACHINE wifiToFrontend;
extern EVENT_MACHINE frontendToWifi;
#endif
#endif