-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathFISH_STM32F4_CONFIG_DEFINES.h
59 lines (46 loc) · 1.81 KB
/
FISH_STM32F4_CONFIG_DEFINES.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// FISH_STM32F4_CONFIG_DEFINES.h
// FISH #defines for system wide control
// Doc with better location and externalk call Cooperation INSITE.
#define USE_CMAIN // Affects cstartup_M.c FM0_COLD and RET2c
#define XON_XOFF // Use XON_XOFF Flow Control
//#defin SMALL_RM // Pare some words for small targets like the 812
//#define CTS_RTS // Use Hardware Flow Control
//#define IO2TP // for ports before i/o done - enable PADCLR and TIBCLR
//#define TOSCT // TOS Cache Testing QUERY BACKSPACING OVER INPUT!!!
//#define SLOW_POWERUP // For slow power supply
//#define CLKOUT // PIO0_1 is CLKOUT
//#define TESTRAM // run flogram at start-up
//#define DEBUG_FLASH //
//#define STM32F4_IRC16_16MHZ
// FISH NXP M0 VARIANTS FOR THIS SOURCE
// NEED TO?:
// - use Flash Magic chip categories which are simular to IAR/NXP
// - NXP LPC1114FN28_102 for 32kFlash 4kWrite and 4kRam
// - NXP LPC1114
// - NXP LPC812M101 for 16kFlash 1kWrite 4kRam
// Placed in each configurations ( Debug, etc )'s
// Assembler Preproccesor Defined Symbols section.
// Place release wordset type, and a Flash, Ram and Clock there.
// VARIATIONS OF THIS!
//NXP_M0_81x
//FISH_PubRel_WORDSET
//NXP_M0_81x_IRC12_12MHZ
//NXP_M0_032kFlash_4KWrite
//NXP_M0_004kRam
// IN THIS ORDER:
//NXP_M0_11xx
//NXP_M0_81x
//FISH_Debug_WORDSET // Change SIGNON msg
//FISH_PubRel_WORDSET // Set CURRENT to WC_FISH_PubRel_NFA
//FISH_NXP_M0_PRO_WORDCAT // Set CURRENT to WC_FISH_PRO_NFA
//NXP_M0_11xx_IRC12_12MHZ
//NXP_M0_11xx_IRC12_48MHZ
//NXP_M0_11xx_XRC10_50MHZ
//NXP_M0_81x_IRC12_12MHZ
//NXP_M0_81x_IRC12_24MHZ
//NXP_M0_81x_IRC12_30MHZ
//NXP_M0_016kFlash_1KWrite
//NXP_M0_032kFlash_4KWrite
//NXP_M0_056kFlash_4KWrite
//NXP_M0_004kRam
//NXP_M0_008kRam