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

📄 config.h

📁 单片机上的java虚拟机 用winavr 编译
💻 H
字号:
//// config.h//// NanoVM configuration file for the Asuro//#ifndef CONFIG_H#define CONFIG_H// cpu related setup#define ATMEGA168#define ASURO                  // compiles some special code e.g. in uart.c#define CLOCK 8000000// uart setup#define UART_BITRATE 2400#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()// use flash to store java program//#define NVM_USE_FLASH_PROGRAM#define NVM_INITIALIZE_ALLOCATED // fill new class instances with zero// vm setup#undef NVM_USE_STACK_CHECK       // enable check if method returns empty stack#define NVM_USE_ARRAY            // enable arrays#define NVM_USE_TABLESWITCH      // support switch instruction#define NVM_USE_LOOKUPSWITCH     // support switch instruction#define NVM_USE_INHERITANCE      // support for inheritance//#define NVM_USE_32BIT_WORD//#define NVM_USE_FLOAT#define NVM_USE_EXTSTACKOPS      // enable extended dup opcodes// native setup//#define NVM_USE_MATH             // enable native math functions#define NVM_USE_STDIO            // enable native stdio support//#define NVM_USE_FORMATTER        // enable native formatter class// 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 + -