Skip to content

Commit

Permalink
Move out of rp2040-specific dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Grazfather committed Feb 17, 2025
1 parent 4c17531 commit 1b30824
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/raspberrypi/rp2xxx/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ pub fn build(b: *std.Build) void {
};

const chip_agnostic_examples: []const ChipAgnosticExample = &.{
.{ .name = "spi-host", .file = "src/rp2040_only/spi_host.zig" },
.{ .name = "spi-slave", .file = "src/rp2040_only/spi_slave.zig" },
.{ .name = "spi-master", .file = "src/spi_master.zig" },
.{ .name = "spi-slave", .file = "src/spi_slave.zig" },
.{ .name = "squarewave", .file = "src/squarewave.zig" },
.{ .name = "ws2812", .file = "src/ws2812.zig" },
.{ .name = "blinky", .file = "src/blinky.zig" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const gpio = rp2xxx.gpio;
const BUF_LEN = 0x100;
const spi = rp2xxx.spi.instance.SPI0;

// These will change depending on which GPIO pins you have your SPI device routed to.
// These may change depending on which GPIO pins you have your SPI device routed to.
const CS_PIN = 17;
const SCK_PIN = 18;
// NOTE: rp2xxx doesn't label pins as MOSI/MISO. Instead a pin is always for
Expand Down

0 comments on commit 1b30824

Please sign in to comment.