config.h
来自「单片机上的java虚拟机 用winavr 编译」· C头文件 代码 · 共 37 行
H
37 行
//// config.h//// NanoVM configuration file for the avr atmega8 test board//#ifndef CONFIG_H#define CONFIG_H// cpu related setup#define ATMEGA8#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 + =
减小字号Ctrl + -
显示快捷键?