Skip to content

Commit 719b7d0

Browse files
committed
[genpinmap] Add WEAK attribute to PinMap arrays
Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 5d6a7f4 commit 719b7d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/genpinmap/genpinmap_arduino.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ def print_list_header(feature, lname, switch, *argslst):
405405
(
406406
"""
407407
#ifdef HAL_%s_MODULE_ENABLED
408-
const PinMap PinMap_%s[] = {
408+
WEAK const PinMap PinMap_%s[] = {
409409
"""
410410
)
411411
% (switch, lname)

0 commit comments

Comments
 (0)