Skip to content

Conversation

@pi-plates
Copy link
Contributor

MICROpi board file for pico-sdk

MICROpi board file for pico-sdk
Copy link
Contributor

@peterharperuk peterharperuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to push this to the development branch, not master.

@kilograham kilograham added this to the 1.5.2 milestone May 19, 2024
kilograham
kilograham previously approved these changes May 19, 2024
@kilograham kilograham requested a review from peterharperuk May 19, 2024 22:11
@kilograham kilograham changed the base branch from master to develop May 19, 2024 22:12
@kilograham kilograham dismissed their stale review May 19, 2024 22:12

The base branch was changed.

@kilograham kilograham changed the title Add files via upload Add board file for Pi-Plates MICROPi May 19, 2024
@lurch
Copy link
Contributor

lurch commented Jun 5, 2024

With the following small tweaks, this passes the checks I added in #1724

 
 // Board definition for the Pi-Plates MICROPi processor board
 
-#ifndef _BOARDS_PIPLATES_MICROPI_H_RP2040
-#define _BOARDS_PIPLATES_MICROPI_H_RP2040
+#ifndef _BOARDS_PI_PLATES_MICROPI_H
+#define _BOARDS_PI_PLATES_MICROPI_H
 
 // For board detection
-#define PIPLATES_MICROPI_RP2040
+#define PI_PLATES_MICROPI
 
 // --- UART ---
 #ifndef PICO_DEFAULT_UART

@kilograham
Copy link
Contributor

this was added as part of #1724

@kilograham kilograham closed this Jun 21, 2024
@lurch
Copy link
Contributor

lurch commented Jun 24, 2024

this was added as part of #1724

Umm, no it wasn't.

@lurch lurch reopened this Jun 24, 2024
@kilograham
Copy link
Contributor

is it ready to merge?

@lurch
Copy link
Contributor

lurch commented Jun 25, 2024

IMHO it'll be ready to merge if the changes I suggested earlier are made, i.e.

 
 // Board definition for the Pi-Plates MICROPi processor board
 
-#ifndef _BOARDS_PIPLATES_MICROPI_H_RP2040
-#define _BOARDS_PIPLATES_MICROPI_H_RP2040
+#ifndef _BOARDS_PI_PLATES_MICROPI_H
+#define _BOARDS_PI_PLATES_MICROPI_H
 
 // For board detection
-#define PIPLATES_MICROPI_RP2040
+#define PI_PLATES_MICROPI
 
 // --- UART ---
 #ifndef PICO_DEFAULT_UART

Are you able to do that @pi-plates or should I just close this PR and create a new one? (Apologies for not making this clear in my previous comment.)

@pi-plates
Copy link
Contributor Author

pi-plates commented Jun 25, 2024 via email

Slight tweak to some of the #define-names
@lurch
Copy link
Contributor

lurch commented Jul 24, 2024

I've now made the above-mentioned changes directly.

Copy link
Contributor

@lurch lurch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tools/check_board_header.py is happy, so approving

@pi-plates
Copy link
Contributor Author

pi-plates commented Jul 24, 2024 via email

@kilograham kilograham merged commit 6624098 into raspberrypi:develop Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants