Skip to content

Commit

Permalink
Add copyright notices to source files missing them
Browse files Browse the repository at this point in the history
  • Loading branch information
PetteriAimonen authored and erichelgeson committed Dec 13, 2023
1 parent 3662165 commit 8a9b78d
Show file tree
Hide file tree
Showing 16 changed files with 33 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/BlueSCSI_platform_RP2040/BlueSCSI_platform.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) 2022 Rabbit Hole Computing™

#include "BlueSCSI_platform.h"
#include "BlueSCSI_log.h"
#include "BlueSCSI_config.h"
Expand Down
1 change: 1 addition & 0 deletions lib/BlueSCSI_platform_RP2040/rp2040_sdio.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Implementation of SDIO communication for RP2040
// Copyright (c) 2022 Rabbit Hole Computing™
//
// The RP2040 official work-in-progress code at
// https://github.com/raspberrypi/pico-extras/tree/master/src/rp2_common/pico_sd_card
Expand Down
4 changes: 3 additions & 1 deletion lib/BlueSCSI_platform_RP2040/rp2040_sdio.pio
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
; RP2040 PIO program for implementing SD card access in SDIO mode
; Run "pioasm rp2040_sdio.pio rp2040_sdio.pio.h" to regenerate the C header from this.

;
; Copyright (c) 2022 Rabbit Hole Computing™
;
; The RP2040 official work-in-progress code at
; https://github.com/raspberrypi/pico-extras/tree/master/src/rp2_common/pico_sd_card
; may be useful reference, but this is independent implementation.
Expand Down
2 changes: 2 additions & 0 deletions lib/BlueSCSI_platform_RP2040/scsiHostPhy.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) 2022 Rabbit Hole Computing™

#include "scsiHostPhy.h"
#include "BlueSCSI_platform.h"
#include "BlueSCSI_log.h"
Expand Down
3 changes: 3 additions & 0 deletions lib/BlueSCSI_platform_RP2040/scsiPhy.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// Implements the low level interface to SCSI bus
// Partially derived from scsiPhy.c from SCSI2SD-V6
//
// Copyright (c) 2022 Rabbit Hole Computing™
// Copyright (c) 2014 Michael McMaster

#include "scsiPhy.h"
#include "BlueSCSI_platform.h"
Expand Down
3 changes: 3 additions & 0 deletions lib/BlueSCSI_platform_RP2040/scsi_accel.pio
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
; RP2040 PIO program for accelerating SCSI communication
;
; Copyright (c) 2022 Rabbit Hole Computing™
;
; Run "pioasm scsi_accel.pio scsi_accel.pio.h" to regenerate the C header from this.
; GPIO mapping:
; - 0-7: DB0-DB7
Expand Down
1 change: 1 addition & 0 deletions lib/BlueSCSI_platform_RP2040/scsi_accel_host.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Accelerated SCSI subroutines for SCSI initiator/host side communication
// Copyright (c) 2022 Rabbit Hole Computing™

#include "scsi_accel_host.h"
#include "BlueSCSI_platform.h"
Expand Down
3 changes: 3 additions & 0 deletions lib/BlueSCSI_platform_RP2040/scsi_accel_host.pio
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
; RP2040 PIO program for accelerating SCSI initiator / host function
;
; Copyright (c) 2022 Rabbit Hole Computing™
;
; Run "pioasm scsi_accel_host.pio scsi_accel_host.pio.h" to regenerate the C header from this.
; GPIO mapping:
; - 0-7: DB0-DB7
Expand Down
2 changes: 2 additions & 0 deletions lib/BlueSCSI_platform_RP2040/scsi_accel_rp2040.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) 2022 Rabbit Hole Computing™

/* Data flow in SCSI acceleration:
*
* 1. Application provides a buffer of bytes to send.
Expand Down
2 changes: 2 additions & 0 deletions lib/BlueSCSI_platform_RP2040/sd_card_sdio.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// Driver for accessing SD card in SDIO mode on RP2040.
//
// Copyright (c) 2022 Rabbit Hole Computing™

#include "BlueSCSI_platform.h"

Expand Down
2 changes: 2 additions & 0 deletions lib/BlueSCSI_platform_RP2040/sd_card_spi.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// Driver and interface for accessing SD card in SPI mode
//
// Copyright (c) 2022 Rabbit Hole Computing™

#include "BlueSCSI_platform.h"
#include "BlueSCSI_log.h"
Expand Down
2 changes: 2 additions & 0 deletions src/BlueSCSI_bootloader.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// Simple bootloader that loads new firmware from SD card.
//
// Copyright (c) 2022 Rabbit Hole Computing™

#include <BlueSCSI_platform.h>
#include "BlueSCSI_config.h"
Expand Down
2 changes: 2 additions & 0 deletions src/BlueSCSI_log.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) 2022 Rabbit Hole Computing™

#include "BlueSCSI_log.h"
#include "BlueSCSI_config.h"
#include "BlueSCSI_platform.h"
Expand Down
1 change: 1 addition & 0 deletions src/BlueSCSI_log.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Helpers for log messages.
// Copyright (c) 2022 Rabbit Hole Computing™

#pragma once

Expand Down
2 changes: 2 additions & 0 deletions src/BlueSCSI_log_trace.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SCSI trace logging
//
// Copyright (c) 2022 Rabbit Hole Computing™

#include "BlueSCSI_log_trace.h"
#include "BlueSCSI_log.h"
Expand Down
2 changes: 2 additions & 0 deletions src/build_bootloader.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Adds a platformio/Scons target to build the bootloader image.
# It is basically a copy of the main firmware but using BlueSCSI_bootloader.cpp
# as the main() function.
#
# Copyright (c) 2022 Rabbit Hole Computing™

import os

Expand Down

0 comments on commit 8a9b78d

Please sign in to comment.