[genpinmap] Add WEAK attribute to PinMap arrays

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
This commit is contained in:
Frederic.Pillon 2019-06-21 09:12:22 +02:00
parent 5d6a7f43ed
commit 719b7d0776

View file

@ -405,7 +405,7 @@ def print_list_header(feature, lname, switch, *argslst):
( (
""" """
#ifdef HAL_%s_MODULE_ENABLED #ifdef HAL_%s_MODULE_ENABLED
const PinMap PinMap_%s[] = { WEAK const PinMap PinMap_%s[] = {
""" """
) )
% (switch, lname) % (switch, lname)