1 #ifndef CONFIG_GT_H 2 #define CONFIG_GT_H 3 4 #ifdef JERRY_FOR_IAR_CONFIG 5 6 #ifdef JERRY_IAR_GT 7 8 #include "mc_fs.h" 9 #include "mc_memory_config.h" 10 #include "mc_memory.h" 11 #include "mc_type.h" 12 #include "mc_hal_rtc.h" 13 14 #ifndef INPUTJS_BUFFER_SIZE 15 #define INPUTJS_BUFFER_SIZE (32 * 1024) 16 #endif /* INPUTJS_BUFFER_SIZE */ 17 18 #ifndef SNAPSHOT_BUFFER_SIZE 19 #define SNAPSHOT_BUFFER_SIZE (24 * 1024) 20 #endif /* SNAPSHOT_BUFFER_SIZE */ 21 22 // Maximum size for js and snapshot file 23 __no_init static uint8_t input_buffer[INPUTJS_BUFFER_SIZE] @ ACE_CACHE_ADDRESS; 24 __no_init static uint8_t snapshot_buffer[SNAPSHOT_BUFFER_SIZE] @ SNAPSHOT_24K_ADDRESS; 25 26 #endif // JERRY_IAR_GT 27 #endif // JERRY_FOR_IAR_CONFIG 28 29 #endif // CONFIG_GT_H 30