Subversion Repositories svn.mios32

Rev

Rev 186 | Rev 248 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
61 tk 1
// $Id: mios32_config.h 229 2009-01-01 13:05:29Z tk $
2
/*
3
 * Local MIOS32 configuration file
4
 *
5
 * this file allows to disable (or re-configure) default functions of MIOS32
6
 * available switches are listed in $MIOS32_PATH/modules/mios32/MIOS32_CONFIG.txt
7
 *
8
 */
9
 
10
#ifndef _MIOS32_CONFIG_H
11
#define _MIOS32_CONFIG_H
12
 
229 tk 13
 
14
// The boot message which is print during startup and returned on a SysEx query
15
#define MIOS32_LCD_BOOT_MSG_LINE1 "MIDIbox SEQ V4.0Alpha"
16
#define MIOS32_LCD_BOOT_MSG_LINE2 "(c) 2009 T. Klose"
17
 
18
 
19
 
134 tk 20
// for debugging via UART1 (application uses printf() to output helpful debugging messages)
21
#define COM_DEBUG 1
61 tk 22
 
134 tk 23
 
24
#ifdef COM_DEBUG
25
  // enable COM via UART1
26
# define MIOS32_UART1_ASSIGNMENT 2
27
# define MIOS32_UART1_BAUDRATE 115200
28
 
29
  // use UART1 as default COM port
30
# define MIOS32_COM_DEFAULT_PORT UART1
31
#endif
32
 
33
 
186 tk 34
#define MID_PLAYER_TEST 0
178 tk 35
 
36
// the speed value for the datawheel (#0) which is used when the "FAST" button is activated:
37
#define DEFAULT_DATAWHEEL_SPEED_VALUE   3
38
 
39
// the speed value for the additional encoders (#1-#16) which is used when the "FAST" button is activated:
40
#define DEFAULT_ENC_SPEED_VALUE     3
41
 
42
// Auto FAST mode: if a layer is assigned to velocity or CC, the fast button will be automatically
43
// enabled - in other cases (e.g. Note or Length), the fast button will be automatically disabled
44
#define DEFAULT_AUTO_FAST_BUTTON        1
45
 
46
 
47
// Toggle behaviour of various buttons
48
// 0: active mode so long button pressed
49
// 1: pressing button toggles the mode
50
#define DEFAULT_BEHAVIOUR_BUTTON_FAST   1
51
#define DEFAULT_BEHAVIOUR_BUTTON_ALL    1
52
#define DEFAULT_BEHAVIOUR_BUTTON_SOLO   1
53
#define DEFAULT_BEHAVIOUR_BUTTON_METRON 1
54
#define DEFAULT_BEHAVIOUR_BUTTON_SCRUB  0
55
#define DEFAULT_BEHAVIOUR_BUTTON_MENU   0
56
 
57
 
134 tk 58
// include SRIO setup here, so that we can propagate values to external modules
59
#include "srio_mapping.h"
60
 
61
// forward to BLM8x8 driver
62
#define BLM8X8_DOUT           DEFAULT_SRM_DOUT_M
63
#define BLM8X8_DOUT_CATHODES      DEFAULT_SRM_DOUT_CATHODESM
64
#define BLM8X8_CATHODES_INV_MASK  DEFAULT_SRM_CATHODES_INV_MASK_M
65
#define BLM8X8_DIN            DEFAULT_SRM_DIN_M
66
 
61 tk 67
#endif /* _MIOS32_CONFIG_H */