Browse Source

Misc. whitespace

Scott Lahteine 6 years ago
parent
commit
ec13aa0dc1

+ 0
- 1
Marlin/src/HAL/HAL_ESP32/HAL.cpp View File

177
   // Calculate ADC characteristics (i.e., gain and offset factors for each attenuation level)
177
   // Calculate ADC characteristics (i.e., gain and offset factors for each attenuation level)
178
   for (int i = 0; i < ADC_ATTEN_MAX; i++) {
178
   for (int i = 0; i < ADC_ATTEN_MAX; i++) {
179
     esp_adc_cal_characterize(ADC_UNIT_1, (adc_atten_t)i, ADC_WIDTH_BIT_12, V_REF, &characteristics[i]);
179
     esp_adc_cal_characterize(ADC_UNIT_1, (adc_atten_t)i, ADC_WIDTH_BIT_12, V_REF, &characteristics[i]);
180
-    
181
     // Change attenuation 100mV below the calibrated threshold
180
     // Change attenuation 100mV below the calibrated threshold
182
     thresholds[i] = esp_adc_cal_raw_to_voltage(4095, &characteristics[i]);
181
     thresholds[i] = esp_adc_cal_raw_to_voltage(4095, &characteristics[i]);
183
   }
182
   }

+ 9
- 10
buildroot/share/PlatformIO/variants/BIGTREE_GENERIC_STM32F407_5X/ldscript.ld View File

134
   _sidata = LOADADDR(.data);
134
   _sidata = LOADADDR(.data);
135
 
135
 
136
   /* Initialized data sections goes into RAM, load LMA copy after code */
136
   /* Initialized data sections goes into RAM, load LMA copy after code */
137
-  .data : 
137
+  .data :
138
   {
138
   {
139
     . = ALIGN(4);
139
     . = ALIGN(4);
140
     _sdata = .;        /* create a global symbol at data start */
140
     _sdata = .;        /* create a global symbol at data start */
147
 
147
 
148
   _siccmram = LOADADDR(.ccmram);
148
   _siccmram = LOADADDR(.ccmram);
149
 
149
 
150
-  /* CCM-RAM section 
151
-  * 
152
-  * IMPORTANT NOTE! 
153
-  * If initialized variables will be placed in this section,
154
-  * the startup code needs to be modified to copy the init-values.  
155
-  */
150
+  /* CCM-RAM section
151
+   *
152
+   * IMPORTANT NOTE!
153
+   * If initialized variables will be placed in this section,
154
+   * the startup code needs to be modified to copy the init-values.
155
+   */
156
   .ccmram :
156
   .ccmram :
157
   {
157
   {
158
     . = ALIGN(4);
158
     . = ALIGN(4);
159
     _sccmram = .;       /* create a global symbol at ccmram start */
159
     _sccmram = .;       /* create a global symbol at ccmram start */
160
     *(.ccmram)
160
     *(.ccmram)
161
     *(.ccmram*)
161
     *(.ccmram*)
162
-    
162
+
163
     . = ALIGN(4);
163
     . = ALIGN(4);
164
     _eccmram = .;       /* create a global symbol at ccmram end */
164
     _eccmram = .;       /* create a global symbol at ccmram end */
165
   } >CCMRAM AT> FLASH
165
   } >CCMRAM AT> FLASH
166
 
166
 
167
-  
167
+
168
   /* Uninitialized data section */
168
   /* Uninitialized data section */
169
   . = ALIGN(4);
169
   . = ALIGN(4);
170
   .bss :
170
   .bss :
192
     . = ALIGN(4);
192
     . = ALIGN(4);
193
   } >RAM
193
   } >RAM
194
 
194
 
195
-  
196
 
195
 
197
   /* Remove information from the standard libraries */
196
   /* Remove information from the standard libraries */
198
   /DISCARD/ :
197
   /DISCARD/ :

+ 1
- 1
buildroot/share/PlatformIO/variants/BIGTREE_GENERIC_STM32F407_5X/variant.h View File

135
   #define PE15  64 //1:FSMC_D12
135
   #define PE15  64 //1:FSMC_D12
136
   #define PD8   65 //1:FSMC_D13 / USART3_TX
136
   #define PD8   65 //1:FSMC_D13 / USART3_TX
137
   #define PD9   66 //1:FSMC_D14 / USART3_RX
137
   #define PD9   66 //1:FSMC_D14 / USART3_RX
138
-  #define PD10  67 //1:FSMC_D15 
138
+  #define PD10  67 //1:FSMC_D15
139
   #define PD11  68 //1:FSMC_A16
139
   #define PD11  68 //1:FSMC_A16
140
   #define PD12  69 //1:FSMC_A17 / TIM4_CH1
140
   #define PD12  69 //1:FSMC_A17 / TIM4_CH1
141
   #define PD13  70 //1:FSMC_A18 / TIM4_CH2
141
   #define PD13  70 //1:FSMC_A18 / TIM4_CH2

Loading…
Cancel
Save