Silence E3 DIP build warning (#17492)

This commit is contained in:
Gustavo Alvarez 2020-04-16 10:58:29 +02:00 committed by GitHub
parent f5d809f366
commit aca2e149ab
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,10 @@
import os import os
Import("env") Import("env")
for define in env['CPPDEFINES']:
if define[0] == "VECT_TAB_ADDR":
env['CPPDEFINES'].remove(define)
# Relocate firmware from 0x08000000 to 0x08007000 # Relocate firmware from 0x08000000 to 0x08007000
env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08007000")) env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08007000"))