Skip to content

Commit 2bd2406

Browse files
committed
Update license info and remove redundant board functions.
1 parent 8754a6e commit 2bd2406

File tree

7 files changed

+8
-19
lines changed

7 files changed

+8
-19
lines changed

ports/stm/boards/nucleo_f446re/board.c

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* The MIT License (MIT)
55
*
6-
* Copyright (c) 2022 flom84 for Adafruit Industries
6+
* Copyright (c) 2022 flom84
77
*
88
* Permission is hereby granted, free of charge, to any person obtaining a copy
99
* of this software and associated documentation files (the "Software"), to deal
@@ -26,15 +26,4 @@
2626

2727
#include "supervisor/board.h"
2828

29-
void board_init(void) {
30-
}
31-
32-
bool board_requests_safe_mode(void) {
33-
return false;
34-
}
35-
36-
void reset_board(void) {
37-
}
38-
39-
void board_deinit(void) {
40-
}
29+
// Use the MP_WEAK supervisor/shared/board.c versions of routines not defined here.

ports/stm/peripherals/stm32f4/stm32f446xx/clocks.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* The MIT License (MIT)
55
*
6-
* Copyright (c) 2022 flom84 for Adafruit Industries
6+
* Copyright (c) 2022 flom84
77
*
88
* Permission is hereby granted, free of charge, to any person obtaining a copy
99
* of this software and associated documentation files (the "Software"), to deal

ports/stm/peripherals/stm32f4/stm32f446xx/gpio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* The MIT License (MIT)
55
*
6-
* Copyright (c) 2022 flom84 for Adafruit Industries
6+
* Copyright (c) 2022 flom84
77
*
88
* Permission is hereby granted, free of charge, to any person obtaining a copy
99
* of this software and associated documentation files (the "Software"), to deal

ports/stm/peripherals/stm32f4/stm32f446xx/periph.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* The MIT License (MIT)
55
*
6-
* Copyright (c) 2022 flom84 for Adafruit Industries
6+
* Copyright (c) 2022 flom84
77
*
88
* Permission is hereby granted, free of charge, to any person obtaining a copy
99
* of this software and associated documentation files (the "Software"), to deal

ports/stm/peripherals/stm32f4/stm32f446xx/periph.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* The MIT License (MIT)
55
*
6-
* Copyright (c) 2022 flom84 for Adafruit Industries
6+
* Copyright (c) 2022 flom84
77
*
88
* Permission is hereby granted, free of charge, to any person obtaining a copy
99
* of this software and associated documentation files (the "Software"), to deal

ports/stm/peripherals/stm32f4/stm32f446xx/pins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* The MIT License (MIT)
55
*
6-
* Copyright (c) 2022 flom84 for Adafruit Industries
6+
* Copyright (c) 2022 flom84
77
*
88
* Permission is hereby granted, free of charge, to any person obtaining a copy
99
* of this software and associated documentation files (the "Software"), to deal

ports/stm/peripherals/stm32f4/stm32f446xx/pins.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* The MIT License (MIT)
55
*
6-
* Copyright (c) 2022 flom84 for Adafruit Industries
6+
* Copyright (c) 2022 flom84
77
*
88
* Permission is hereby granted, free of charge, to any person obtaining a copy
99
* of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)