Skip to content

Commit

Permalink
platforms: Decouple platform.h inclusion (for board files)
Browse files Browse the repository at this point in the history
  • Loading branch information
ALTracer authored and dragonmux committed Jul 12, 2023
1 parent 5d36593 commit 95c66e7
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/platforms/96b_carbon/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
/* This file implements the platform specific functions for the 96Boards Carbon implementation. */

#include "general.h"
#include "platform.h"
#include "usb.h"
#include "aux_serial.h"
#include "morse.h"
Expand Down
1 change: 1 addition & 0 deletions src/platforms/common/blackpill-f4/blackpill-f4.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
/* This file implements the platform specific functions for the blackpill-f4 implementation. */

#include "general.h"
#include "platform.h"
#include "usb.h"
#include "aux_serial.h"
#include "morse.h"
Expand Down
1 change: 1 addition & 0 deletions src/platforms/f072/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
/* This file implements the platform specific functions for the STM32F072-IF implementation. */

#include "general.h"
#include "platform.h"
#include "usb.h"
#include "aux_serial.h"
#include "morse.h"
Expand Down
1 change: 1 addition & 0 deletions src/platforms/f3/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
/* This file implements the platform specific functions for the STM32F3-IF implementation. */

#include "general.h"
#include "platform.h"
#include "usb.h"
#include "aux_serial.h"
#include "morse.h"
Expand Down
1 change: 1 addition & 0 deletions src/platforms/f4discovery/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
/* This file implements the platform specific functions for the F4 Discovery implementation. */

#include "general.h"
#include "platform.h"
#include "usb.h"
#include "aux_serial.h"
#include "morse.h"
Expand Down
1 change: 1 addition & 0 deletions src/platforms/hosted/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/

#include "general.h"
#include "platform.h"
#include "jtagtap.h"
#include "swd.h"
#include "target.h"
Expand Down
1 change: 1 addition & 0 deletions src/platforms/hydrabus/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
/* This file implements the platform specific functions for the Hydrabus implementation. */

#include "general.h"
#include "platform.h"
#include "usb.h"
#include "aux_serial.h"
#include "morse.h"
Expand Down
1 change: 1 addition & 0 deletions src/platforms/launchpad-icdi/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/

#include "general.h"
#include "platform.h"
#include "gdb_if.h"
#include "usb.h"
#include "aux_serial.h"
Expand Down
1 change: 1 addition & 0 deletions src/platforms/native/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
/* This file implements the platform specific functions for the native implementation. */

#include "general.h"
#include "platform.h"
#include "usb.h"
#include "aux_serial.h"
#include "morse.h"
Expand Down
1 change: 1 addition & 0 deletions src/platforms/stlink/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
/* This file implements the platform specific functions for the ST-Link implementation. */

#include "general.h"
#include "platform.h"
#include "usb.h"
#include "aux_serial.h"

Expand Down
1 change: 1 addition & 0 deletions src/platforms/stlinkv3/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/

#include "general.h"
#include "platform.h"
#include "usb.h"
#include "aux_serial.h"
#include "gdb_if.h"
Expand Down
1 change: 1 addition & 0 deletions src/platforms/swlink/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
*/

#include "general.h"
#include "platform.h"
#include "usb.h"
#include "aux_serial.h"

Expand Down

0 comments on commit 95c66e7

Please sign in to comment.