Native Board

Board emulation for the native port. More...

Detailed Description

Board emulation for the native port.

The native board uses call level hardware simulation

Files

file  native/include/board.h
 Basic definitions for the native board.
 

Macros

#define MTD_0   mtd0
 Default MTD device.
 

Variables

mtd_dev_tmtd0
 mtd flash emulation device
 

LED handlers

void _native_LED_GREEN_OFF (void)
 
void _native_LED_GREEN_ON (void)
 
void _native_LED_GREEN_TOGGLE (void)
 
void _native_LED_RED_OFF (void)
 
void _native_LED_RED_ON (void)
 
void _native_LED_RED_TOGGLE (void)
 
#define LED0_ON   (_native_LED_RED_ON())
 
#define LED0_OFF   (_native_LED_RED_OFF())
 
#define LED0_TOGGLE   (_native_LED_RED_TOGGLE())
 
#define LED1_ON   (_native_LED_GREEN_ON())
 
#define LED1_OFF   (_native_LED_GREEN_OFF())
 
#define LED1_TOGGLE   (_native_LED_GREEN_TOGGLE())
 

MTD emulation configuration

#define MTD_PAGE_SIZE   (256)
 
#define MTD_SECTOR_SIZE   (4096)
 
#define MTD_SECTOR_NUM   (2048)
 
#define MTD_NATIVE_FILENAME   "MEMORY.bin"
 

SPIFFS default configuration

#define SPIFFS_READ_ONLY   (0)
 
#define SPIFFS_SINGLETON   (0)
 
#define SPIFFS_HAL_CALLBACK_EXTRA   (1)
 
#define SPIFFS_CACHE   (1)