| OLD | NEW |
| 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 // Configuration of the STM LCD log utility | 5 // Configuration of the STM LCD log utility |
| 6 #ifndef PLATFORMS_STM_DISCO_FLETCH_SRC_LCD_LOG_CONF_H_ | 6 #ifndef PLATFORMS_STM_DISCO_DARTINO_SRC_LCD_LOG_CONF_H_ |
| 7 #define PLATFORMS_STM_DISCO_FLETCH_SRC_LCD_LOG_CONF_H_ | 7 #define PLATFORMS_STM_DISCO_DARTINO_SRC_LCD_LOG_CONF_H_ |
| 8 | 8 |
| 9 #include <stdio.h> | 9 #include <stdio.h> |
| 10 | 10 |
| 11 #include <stm32746g_discovery_lcd.h> | 11 #include <stm32746g_discovery_lcd.h> |
| 12 | 12 |
| 13 // Enable the scroll back and forward feature | 13 // Enable the scroll back and forward feature |
| 14 #define LCD_SCROLL_ENABLED 1 | 14 #define LCD_SCROLL_ENABLED 1 |
| 15 | 15 |
| 16 // Define the Fonts. | 16 // Define the Fonts. |
| 17 #define LCD_LOG_HEADER_FONT Font16 | 17 #define LCD_LOG_HEADER_FONT Font16 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 29 #define CACHE_SIZE 100 | 29 #define CACHE_SIZE 100 |
| 30 #define YWINDOW_SIZE 17 | 30 #define YWINDOW_SIZE 17 |
| 31 | 31 |
| 32 #if (YWINDOW_SIZE > 17) | 32 #if (YWINDOW_SIZE > 17) |
| 33 #error "Wrong YWINDOW SIZE" | 33 #error "Wrong YWINDOW SIZE" |
| 34 #endif | 34 #endif |
| 35 | 35 |
| 36 // Define the writing to the display in log utility to this signature. | 36 // Define the writing to the display in log utility to this signature. |
| 37 #define LCD_LOG_PUTCHAR int LCDLogPutchar(int ch) | 37 #define LCD_LOG_PUTCHAR int LCDLogPutchar(int ch) |
| 38 | 38 |
| 39 #endif // PLATFORMS_STM_DISCO_FLETCH_SRC_LCD_LOG_CONF_H_ | 39 #endif // PLATFORMS_STM_DISCO_DARTINO_SRC_LCD_LOG_CONF_H_ |
| OLD | NEW |