defragster
Senior Member+
Had not switched branches ... that does have an: extmem.c ???
... sorry hyper task swithing here a few minutes at a time ...
Getting lots of errors like I resolved for here yesterday ... using p#317 sketch ...
... sorry hyper task swithing here a few minutes at a time ...
Getting lots of errors like I resolved for here yesterday ... using p#317 sketch ...
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp: In static member function 'static unsigned int SDRAM_t4::ns_to_clocks(float, float)':
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:9:20: error: 'ceilf' was not declared in this scope
9 | float clocks = ceilf(ns * 1.0e-9f * freq);
| ^~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp: In static member function 'static void SDRAM_t4::configure_sdram_pins()':
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:17:5: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_00' was not declared in this scope
17 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_00 = 0x0110F9; //SEMC_D0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:26:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_01' was not declared in this scope
26 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_01 = 0x0110F9; //SEMC_D0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:27:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_02' was not declared in this scope
27 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_02 = 0x0110F9; //SEMC_D1
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:28:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_03' was not declared in this scope
28 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_03 = 0x0110F9; //SEMC_D2
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:29:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_04' was not declared in this scope
29 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_04 = 0x0110F9; //SEMC_D3
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:30:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_05' was not declared in this scope
30 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_05 = 0x0110F9; //SEMC_D4
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:31:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_06' was not declared in this scope
31 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_06 = 0x0110F9; //SEMC_D5
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:32:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_07' was not declared in this scope
32 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_07 = 0x0110F9; //SEMC_D6
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:33:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_08' was not declared in this scope
33 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_08 = 0x0110F9; //SEMC_DMO
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:35:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_10' was not declared in this scope
35 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_10 = 0x0110F9; //SEMC_A1
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:36:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_11' was not declared in this scope
36 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_11 = 0x0110F9; //SEMC_A2
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:37:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_12' was not declared in this scope
37 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_12 = 0x0110F9; //SEMC_A3
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:38:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_13' was not declared in this scope
38 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_13 = 0x0110F9; //SEMC_A4
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:39:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_14' was not declared in this scope
39 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_14 = 0x0110F9; //SEMC_A5
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:40:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_15' was not declared in this scope
40 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_15 = 0x0110F9; //SEMC_A6
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:41:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_16' was not declared in this scope
41 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_16 = 0x0110F9; //SEMC_A7
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:42:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_17' was not declared in this scope
42 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_17 = 0x0110F9; //SEMC_A8
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:44:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_18' was not declared in this scope
44 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_18 = 0x0110F9; //SEMC_A9
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:45:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_19' was not declared in this scope
45 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_19 = 0x0110F9; //SEMC_A11
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:46:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_20' was not declared in this scope
46 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_20 = 0x0110F9; //SEMC_A12
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:47:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_21' was not declared in this scope
47 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_21 = 0x0110F9; //SEMC_BA0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:48:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_22' was not declared in this scope
48 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_22 = 0x0110F9; //SEMC_BA1
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:49:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_23' was not declared in this scope
49 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_23 = 0x0110F9; //SEMC_A10
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:50:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_24' was not declared in this scope
50 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_24 = 0x0110F9; //SEMC_CAS
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:51:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_25' was not declared in this scope
51 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_25 = 0x0110F9; //SEMC_RAS
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:52:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_26' was not declared in this scope
52 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_26 = 0x0110F9; //SEMC_CLK
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:53:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_27' was not declared in this scope
53 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_27 = 0x0110F9; //SEMC_CKE
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:54:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_28' was not declared in this scope
54 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_28 = 0x0110F9; //SEMC_WE
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:55:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_29' was not declared in this scope
55 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_29 = 0x0110F9; //SEMC_CS0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:56:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_30' was not declared in this scope
56 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_30 = 0x0110F9; //SEMC_D8
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:57:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_31' was not declared in this scope
57 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_31 = 0x0110F9; //SEMC_D9
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:58:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_32' was not declared in this scope
58 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_32 = 0x0110F9; //SEMC_D10
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:59:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_33' was not declared in this scope
59 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_33 = 0x0110F9; //SEMC_D11
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:60:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_34' was not declared in this scope
60 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_34 = 0x0110F9; //SEMC_D12
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:62:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_35' was not declared in this scope
62 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_35 = 0x0110F9; //SEMC_D13
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:63:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_36' was not declared in this scope
63 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_36 = 0x0110F9; //SEMC_D14
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:64:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_37' was not declared in this scope
64 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_37 = 0x0110F9; //SEMC_D15
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:65:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_38' was not declared in this scope
65 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_38 = 0x0110F9; //SEMC_DM1
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:66:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_39' was not declared in this scope
66 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_39 = 0x0110F9; //SEMC_DQS
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:67:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_40' was not declared in this scope
67 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_40 = 0x0110F9; //SEMC_MD0
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:68:9: error: 'IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_41' was not declared in this scope
68 | IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_41 = 0x0110F9; //SEMC_MD1
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:116:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_00' was not declared in this scope
116 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_00 = 0x10;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:117:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_01' was not declared in this scope
117 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_01 = 0x10;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:118:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_02' was not declared in this scope
118 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_02 = 0x10;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:119:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_03' was not declared in this scope
119 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_03 = 0x10;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:120:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_04' was not declared in this scope
120 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_04 = 0x10;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:121:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_05' was not declared in this scope
121 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_05 = 0x10;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:122:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_06' was not declared in this scope
122 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_06 = 0x10;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:123:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_07' was not declared in this scope
123 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_07 = 0x10;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:124:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_08' was not declared in this scope
124 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_08 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:125:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_09' was not declared in this scope
125 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_09 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:126:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_10' was not declared in this scope
126 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_10 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:127:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_11' was not declared in this scope
127 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_11 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:128:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_12' was not declared in this scope
128 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_12 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:129:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_13' was not declared in this scope
129 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_13 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:130:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_14' was not declared in this scope
130 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_14 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:131:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_15' was not declared in this scope
131 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_15 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:132:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_16' was not declared in this scope
132 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_16 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:133:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_17' was not declared in this scope
133 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_17 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:134:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_18' was not declared in this scope
134 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_18 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:135:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_19' was not declared in this scope
135 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_19 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:136:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_20' was not declared in this scope
136 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_20 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:137:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_21' was not declared in this scope
137 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_21 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:138:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_22' was not declared in this scope
138 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_22 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:139:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_23' was not declared in this scope
139 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_23 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:140:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_24' was not declared in this scope
140 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_24 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:141:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_25' was not declared in this scope
141 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_25 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:142:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_26' was not declared in this scope
142 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_26 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:143:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_27' was not declared in this scope
143 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_27 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:144:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_28' was not declared in this scope
144 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_28 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:145:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_29' was not declared in this scope
145 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_29 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:146:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_30' was not declared in this scope
146 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_30 = 0x10;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:147:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_31' was not declared in this scope
147 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_31 = 0x10;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:148:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_32' was not declared in this scope
148 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_32 = 0x10;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:149:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_33' was not declared in this scope
149 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_33 = 0x10;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:150:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_34' was not declared in this scope
150 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_34 = 0x10;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:151:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_35' was not declared in this scope
151 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_35 = 0x10;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:152:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_36' was not declared in this scope
152 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_36 = 0x10;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:153:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_37' was not declared in this scope
153 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_37 = 0x10;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:154:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_38' was not declared in this scope
154 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_38 = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:155:3: error: 'IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_39' was not declared in this scope
155 | IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_39 = 0x10;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp: In static member function 'static bool SDRAM_t4::SendIPCommand(uint32_t, uint16_t, uint32_t, uint32_t*)':
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:166:5: error: 'SEMC_INTR' was not declared in this scope
166 | SEMC_INTR |= 0x1U;
| ^~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:168:5: error: 'SEMC_IPCR0' was not declared in this scope
168 | SEMC_IPCR0= address;
| ^~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:179:9: error: 'SEMC_IPTXDAT' was not declared in this scope
179 | SEMC_IPTXDAT = write;
| ^~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:183:5: error: 'SEMC_IPCMD' was not declared in this scope
183 | SEMC_IPCMD = command | (((uint32_t)(((uint32_t)(0xA55A)) << 16)) & 0xFFFF0000U);
| ^~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:196:17: error: 'SEMC_IPRXDAT' was not declared in this scope
196 | *read = SEMC_IPRXDAT;
| ^~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp: In static member function 'static bool SDRAM_t4::IPCommandComplete()':
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:205:14: error: 'SEMC_INTR' was not declared in this scope
205 | while (!(SEMC_INTR & 0x1))
| ^~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:210:5: error: 'SEMC_INTR' was not declared in this scope
210 | SEMC_INTR |= 0x1;
| ^~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp: In static member function 'static bool SDRAM_t4::begin(uint8_t)':
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:230:5: error: 'CCM_CBCDR' was not declared in this scope
230 | CCM_CBCDR = (CCM_CBCDR & ~(CCM_CBCDR_SEMC_PODF(7))) |
| ^~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:230:32: error: 'CCM_CBCDR_SEMC_PODF' was not declared in this scope
230 | CCM_CBCDR = (CCM_CBCDR & ~(CCM_CBCDR_SEMC_PODF(7))) |
| ^~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:231:9: error: 'CCM_CBCDR_SEMC_CLK_SEL' was not declared in this scope
231 | CCM_CBCDR_SEMC_CLK_SEL | CCM_CBCDR_SEMC_ALT_CLK_SEL |
| ^~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:231:34: error: 'CCM_CBCDR_SEMC_ALT_CLK_SEL' was not declared in this scope
231 | CCM_CBCDR_SEMC_CLK_SEL | CCM_CBCDR_SEMC_ALT_CLK_SEL |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:243:5: error: 'delayMicroseconds' was not declared in this scope
243 | delayMicroseconds(1);
| ^~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:245:5: error: 'CCM_CCGR3' was not declared in this scope
245 | CCM_CCGR3 |= CCM_CCGR3_SEMC(CCM_CCGR_ON);
| ^~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:245:33: error: 'CCM_CCGR_ON' was not declared in this scope
245 | CCM_CCGR3 |= CCM_CCGR3_SEMC(CCM_CCGR_ON);
| ^~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:245:18: error: 'CCM_CCGR3_SEMC' was not declared in this scope
245 | CCM_CCGR3 |= CCM_CCGR3_SEMC(CCM_CCGR_ON);
| ^~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:248:5: error: 'SEMC_BR0' was not declared in this scope
248 | SEMC_BR0 = 0;
| ^~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:249:5: error: 'SEMC_BR1' was not declared in this scope
249 | SEMC_BR1 = 0;
| ^~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:250:5: error: 'SEMC_BR2' was not declared in this scope
250 | SEMC_BR2 = 0;
| ^~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:251:5: error: 'SEMC_BR3' was not declared in this scope
251 | SEMC_BR3 = 0;
| ^~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:252:5: error: 'SEMC_BR4' was not declared in this scope
252 | SEMC_BR4 = 0;
| ^~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:253:5: error: 'SEMC_BR5' was not declared in this scope
253 | SEMC_BR5 = 0;
| ^~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:254:5: error: 'SEMC_BR6' was not declared in this scope
254 | SEMC_BR6 = 0;
| ^~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:255:5: error: 'SEMC_BR7' was not declared in this scope
255 | SEMC_BR7 = 0;
| ^~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:256:5: error: 'SEMC_BR8' was not declared in this scope
256 | SEMC_BR8 = 0;
| ^~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:257:5: error: 'SEMC_MCR' was not declared in this scope
257 | SEMC_MCR = SEMC_MCR_SWRST;
| ^~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:257:16: error: 'SEMC_MCR_SWRST' was not declared in this scope
257 | SEMC_MCR = SEMC_MCR_SWRST;
| ^~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:258:5: error: 'elapsedMicros' was not declared in this scope
258 | elapsedMicros timeout = 0;
| ^~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:260:13: error: 'timeout' was not declared in this scope
260 | if (timeout > 1500) return false;
| ^~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:266:21: error: 'SEMC_MCR_MDIS' was not declared in this scope
266 | SEMC_MCR |= SEMC_MCR_MDIS | SEMC_MCR_CTO(0xFF) | SEMC_MCR_BTO(0x1F) | SEMC_MCR_DQSMD;
| ^~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:266:37: error: 'SEMC_MCR_CTO' was not declared in this scope
266 | SEMC_MCR |= SEMC_MCR_MDIS | SEMC_MCR_CTO(0xFF) | SEMC_MCR_BTO(0x1F) | SEMC_MCR_DQSMD;
| ^~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:266:58: error: 'SEMC_MCR_BTO' was not declared in this scope
266 | SEMC_MCR |= SEMC_MCR_MDIS | SEMC_MCR_CTO(0xFF) | SEMC_MCR_BTO(0x1F) | SEMC_MCR_DQSMD;
| ^~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:266:79: error: 'SEMC_MCR_DQSMD' was not declared in this scope
266 | SEMC_MCR |= SEMC_MCR_MDIS | SEMC_MCR_CTO(0xFF) | SEMC_MCR_BTO(0x1F) | SEMC_MCR_DQSMD;
| ^~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:273:5: error: 'SEMC_BMCR0' was not declared in this scope
273 | SEMC_BMCR0 = SEMC_BMCR0_WQOS(5) | SEMC_BMCR0_WAGE(8) |
| ^~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:273:18: error: 'SEMC_BMCR0_WQOS' was not declared in this scope
273 | SEMC_BMCR0 = SEMC_BMCR0_WQOS(5) | SEMC_BMCR0_WAGE(8) |
| ^~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:273:39: error: 'SEMC_BMCR0_WAGE' was not declared in this scope
273 | SEMC_BMCR0 = SEMC_BMCR0_WQOS(5) | SEMC_BMCR0_WAGE(8) |
| ^~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:274:9: error: 'SEMC_BMCR0_WSH' was not declared in this scope
274 | SEMC_BMCR0_WSH(0x40) | SEMC_BMCR0_WRWS(0x10);
| ^~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:274:32: error: 'SEMC_BMCR0_WRWS' was not declared in this scope
274 | SEMC_BMCR0_WSH(0x40) | SEMC_BMCR0_WRWS(0x10);
| ^~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:275:5: error: 'SEMC_BMCR1' was not declared in this scope
275 | SEMC_BMCR1 = SEMC_BMCR1_WQOS(5) | SEMC_BMCR1_WAGE(8) |
| ^~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:275:18: error: 'SEMC_BMCR1_WQOS' was not declared in this scope
275 | SEMC_BMCR1 = SEMC_BMCR1_WQOS(5) | SEMC_BMCR1_WAGE(8) |
| ^~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:275:39: error: 'SEMC_BMCR1_WAGE' was not declared in this scope
275 | SEMC_BMCR1 = SEMC_BMCR1_WQOS(5) | SEMC_BMCR1_WAGE(8) |
| ^~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:276:9: error: 'SEMC_BMCR1_WPH' was not declared in this scope
276 | SEMC_BMCR1_WPH(0x60) | SEMC_BMCR1_WRWS(0x24) | SEMC_BMCR1_WBR(0x40);
| ^~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:276:32: error: 'SEMC_BMCR1_WRWS' was not declared in this scope
276 | SEMC_BMCR1_WPH(0x60) | SEMC_BMCR1_WRWS(0x24) | SEMC_BMCR1_WBR(0x40);
| ^~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:276:56: error: 'SEMC_BMCR1_WBR' was not declared in this scope
276 | SEMC_BMCR1_WPH(0x60) | SEMC_BMCR1_WRWS(0x24) | SEMC_BMCR1_WBR(0x40);
| ^~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:281:29: error: 'SEMC_BR_MS' was not declared in this scope
281 | SEMC_BR0 = 0x90000000 | SEMC_BR_MS(13 /*13 = 32 Mbyte*/) | SEMC_BR_VLD;
| ^~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:281:64: error: 'SEMC_BR_VLD' was not declared in this scope
281 | SEMC_BR0 = 0x90000000 | SEMC_BR_MS(13 /*13 = 32 Mbyte*/) | SEMC_BR_VLD;
| ^~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:282:5: error: 'SEMC_SDRAMCR0' was not declared in this scope
282 | SEMC_SDRAMCR0 = SEMC_SDRAMCR0_CL(3) |
| ^~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:282:21: error: 'SEMC_SDRAMCR0_CL' was not declared in this scope
282 | SEMC_SDRAMCR0 = SEMC_SDRAMCR0_CL(3) |
| ^~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:283:9: error: 'SEMC_SDRAMCR0_COL' was not declared in this scope
283 | SEMC_SDRAMCR0_COL(3) | // 3 = 9 bit column
| ^~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:284:9: error: 'SEMC_SDRAMCR0_BL' was not declared in this scope
284 | SEMC_SDRAMCR0_BL(3) | // 3 = 8 word burst length
| ^~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:285:9: error: 'SEMC_SDRAMCR0_PS' was not declared in this scope
285 | SEMC_SDRAMCR0_PS; // use 16 bit data
| ^~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:286:5: error: 'SEMC_SDRAMCR1' was not declared in this scope
286 | SEMC_SDRAMCR1 =
| ^~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:287:9: error: 'SEMC_SDRAMCR1_ACT2PRE' was not declared in this scope
287 | SEMC_SDRAMCR1_ACT2PRE((ns_to_clocks(42, freq)-1)) | // tRAS: ACTIVE to PRECHARGE
| ^~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:288:9: error: 'SEMC_SDRAMCR1_CKEOFF' was not declared in this scope
288 | SEMC_SDRAMCR1_CKEOFF((ns_to_clocks(42, freq)-1)) | // self refresh
| ^~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:289:9: error: 'SEMC_SDRAMCR1_WRC' was not declared in this scope
289 | SEMC_SDRAMCR1_WRC((ns_to_clocks(12, freq)-1)) | // tWR: WRITE recovery
| ^~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:290:9: error: 'SEMC_SDRAMCR1_RFRC' was not declared in this scope
290 | SEMC_SDRAMCR1_RFRC((ns_to_clocks(67, freq)-1)) | // tRFC or tXSR: REFRESH recovery
| ^~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:291:9: error: 'SEMC_SDRAMCR1_ACT2RW' was not declared in this scope
291 | SEMC_SDRAMCR1_ACT2RW((ns_to_clocks(18, freq)-1)) | // tRCD: ACTIVE to READ/WRITE
| ^~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:292:9: error: 'SEMC_SDRAMCR1_PRE2ACT' was not declared in this scope
292 | SEMC_SDRAMCR1_PRE2ACT((ns_to_clocks(18, freq)-1)); // tRP: PRECHARGE to ACTIVE/REFRESH
| ^~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:293:5: error: 'SEMC_SDRAMCR2' was not declared in this scope
293 | SEMC_SDRAMCR2 = 0; // TODO... page 1425
| ^~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:294:5: error: 'SEMC_SDRAMCR3' was not declared in this scope
294 | SEMC_SDRAMCR3 = 0; // TODO...page 1426
| ^~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:296:9: error: 'SEMC_SDRAMCR2_SRRC' was not declared in this scope
296 | SEMC_SDRAMCR2_SRRC((ns_to_clocks(67, freq) - 1)) |
| ^~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:297:9: error: 'SEMC_SDRAMCR2_REF2REF' was not declared in this scope
297 | SEMC_SDRAMCR2_REF2REF(ns_to_clocks(60, freq)) | /* No Minus one to keep with RM */
| ^~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:298:9: error: 'SEMC_SDRAMCR2_ACT2ACT' was not declared in this scope
298 | SEMC_SDRAMCR2_ACT2ACT(ns_to_clocks(60, freq)) | /* No Minus one to keep with RM */
| ^~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:299:9: error: 'SEMC_SDRAMCR2_ITO' was not declared in this scope
299 | SEMC_SDRAMCR2_ITO(0); //sdk has: idle = config->tIdleTimeout_Ns / config->tPrescalePeriod_Ns
| ^~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:315:21: error: 'SEMC_SDRAMCR3_REBL' was not declared in this scope
315 | SEMC_SDRAMCR3 = SEMC_SDRAMCR3_REBL((1 - 1)) |
| ^~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:317:22: error: 'SEMC_SDRAMCR3_PRESCALE' was not declared in this scope
317 | SEMC_SDRAMCR3_PRESCALE(prescale) | SEMC_SDRAMCR3_RT(refresh) | SEMC_SDRAMCR3_UT(urgentRef);
| ^~~~~~~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:317:57: error: 'SEMC_SDRAMCR3_RT' was not declared in this scope
317 | SEMC_SDRAMCR3_PRESCALE(prescale) | SEMC_SDRAMCR3_RT(refresh) | SEMC_SDRAMCR3_UT(urgentRef);
| ^~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:317:85: error: 'SEMC_SDRAMCR3_UT' was not declared in this scope
317 | SEMC_SDRAMCR3_PRESCALE(prescale) | SEMC_SDRAMCR3_RT(refresh) | SEMC_SDRAMCR3_UT(urgentRef);
| ^~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:319:5: error: 'SEMC_IPCR1' was not declared in this scope
319 | SEMC_IPCR1 = 2; // IP commadns, data is 16 bits wide
| ^~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:320:5: error: 'SEMC_IPCR2' was not declared in this scope
320 | SEMC_IPCR2 = 0;
| ^~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:349:22: error: 'SEMC_SDRAMCR3_REN' was not declared in this scope
349 | SEMC_SDRAMCR3 |= SEMC_SDRAMCR3_REN;
| ^~~~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:353:23: warning: unused variable '_extsdram_start' [-Wunused-variable]
353 | unsigned long _extsdram_start = 0x90000000;
| ^~~~~~~~~~~~~~~
T:\T_Drive\tCode\libraries\SDRAM_t4\SDRAM_t4.cpp:354:23: warning: unused variable '_extsdram_end' [-Wunused-variable]
354 | unsigned long _extsdram_end = 0x90000000 + (32*1024*1024);
| ^~~~~~~~~~~~~
Using library SDRAM_t4 in folder: T:\T_Drive\tCode\libraries\SDRAM_t4 (legacy)
Error compiling for board Teensy MicroMod.