Browse Source

Silence E3 DIP build warning (#17492)

Gustavo Alvarez 4 years ago
parent
commit
aca2e149ab
No account linked to committer's email address
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      buildroot/share/PlatformIO/scripts/STM32F103RE_SKR_E3_DIP.py

+ 4
- 0
buildroot/share/PlatformIO/scripts/STM32F103RE_SKR_E3_DIP.py View File

1
 import os
1
 import os
2
 Import("env")
2
 Import("env")
3
 
3
 
4
+for define in env['CPPDEFINES']:
5
+    if define[0] == "VECT_TAB_ADDR":
6
+        env['CPPDEFINES'].remove(define)
7
+
4
 # Relocate firmware from 0x08000000 to 0x08007000
8
 # Relocate firmware from 0x08000000 to 0x08007000
5
 env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08007000"))
9
 env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08007000"))
6
 
10
 

Loading…
Cancel
Save