⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.h

📁 单片机上的java虚拟机 用winavr 编译
💻 H
字号:
//// config.h//// NanoVM configuration file for the avr atmega8 test board//#ifndef CONFIG_H#define CONFIG_H// cpu related setup#define ATMEGA168#define CLOCK 8000000// uart setup#define UART_BITRATE 9600#define UART_BUFFER_BITS 5     // 32 bytes buffer (min. req for loader)#define CODESIZE 512#define HEAPSIZE 768// avr specific native init routines#define NATIVE_INIT  native_init()// vm setup#undef NVM_USE_STACK_CHECK      // enable check if method returns empty stack#define NVM_USE_ARRAY            // enable arrays#define NVM_USE_SWITCH           // support switch instruction#define NVM_USE_INHERITANCE      // support for inheritance// native setup#define NVM_USE_STDIO            // enable native stdio support// marker used to indicate, that this item is stored in eeprom#define NVMFILE_FLAG     0x8000#endif // CONFIG_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -