Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Side by Side Diff: platforms/stm/disco_fletch/src/lcd_log_conf.h

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « platforms/stm/disco_fletch/src/globals.h ('k') | platforms/stm/disco_fletch/src/main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // BSD-style license that can be found in the LICENSE.md file.
4
5 // Configuration of the STM LCD log utility
6 #ifndef PLATFORMS_STM_DISCO_FLETCH_SRC_LCD_LOG_CONF_H_
7 #define PLATFORMS_STM_DISCO_FLETCH_SRC_LCD_LOG_CONF_H_
8
9 #include <stdio.h>
10
11 #include <stm32746g_discovery_lcd.h>
12
13 // Enable the scroll back and forward feature
14 #define LCD_SCROLL_ENABLED 1
15
16 // Define the Fonts.
17 #define LCD_LOG_HEADER_FONT Font16
18 #define LCD_LOG_FOOTER_FONT Font12
19 #define LCD_LOG_TEXT_FONT Font12
20
21 // Define the LCD LOG Color.
22 #define LCD_LOG_BACKGROUND_COLOR LCD_COLOR_WHITE
23 #define LCD_LOG_TEXT_COLOR LCD_COLOR_DARKBLUE
24
25 #define LCD_LOG_SOLID_BACKGROUND_COLOR LCD_COLOR_BLUE
26 #define LCD_LOG_SOLID_TEXT_COLOR LCD_COLOR_WHITE
27
28 // Define the cache depth.
29 #define CACHE_SIZE 100
30 #define YWINDOW_SIZE 17
31
32 #if (YWINDOW_SIZE > 17)
33 #error "Wrong YWINDOW SIZE"
34 #endif
35
36 // Define the writing to the display in log utility to this signature.
37 #define LCD_LOG_PUTCHAR int LCDLogPutchar(int ch)
38
39 #endif // PLATFORMS_STM_DISCO_FLETCH_SRC_LCD_LOG_CONF_H_
OLDNEW
« no previous file with comments | « platforms/stm/disco_fletch/src/globals.h ('k') | platforms/stm/disco_fletch/src/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698