From 838afca480226776d5ec57e1d07ebe53fc720a08 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 29 Oct 2026 11:14:57 +0000 Subject: [PATCH] Name the D-Modem Authors as the copyright holder Copyright lines, licensing texts and metadata named Neo-Desktop; they now name the D-Modem Authors, and the licensing contact points at the D-Modem organisation. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01B82eRUwD2JJ5d6fgHmpVTw --- .github/workflows/firmware.yml | 2 +- .github/workflows/hardware.yml | 2 +- LICENSING.md | 12 ++++++------ README.md | 2 +- SPEC-L.md | 2 +- SPEC-W.md | 2 +- SPEC-WB.md | 2 +- SPEC.md | 2 +- firmware/CMakeLists.txt | 2 +- firmware/boards/pico_serial_hood.h | 2 +- firmware/boards/pico_serial_line.h | 2 +- firmware/boards/pico_serial_w.h | 2 +- firmware/boards/pico_serial_wb.h | 2 +- firmware/src/core/aic3204.h | 2 +- firmware/src/core/autobaud.c | 2 +- firmware/src/core/autobaud.h | 2 +- firmware/src/core/core.c | 2 +- firmware/src/core/core.h | 2 +- firmware/src/core/daa_frame.c | 2 +- firmware/src/core/daa_frame.h | 2 +- firmware/src/core/hal.h | 2 +- firmware/src/core/line_dev.c | 2 +- firmware/src/core/line_dev.h | 2 +- firmware/src/core/line_hal.h | 2 +- firmware/src/core/line_proto.h | 2 +- firmware/src/core/link.c | 2 +- firmware/src/core/link.h | 2 +- firmware/src/core/protocol.h | 2 +- firmware/src/core/ring.h | 2 +- firmware/src/core/sfifo.h | 2 +- firmware/src/core/si3056.h | 2 +- firmware/src/core/sstream.c | 2 +- firmware/src/core/sstream.h | 2 +- firmware/src/core/wb_audio.c | 2 +- firmware/src/core/wb_audio.h | 2 +- firmware/src/core/wb_codec.c | 2 +- firmware/src/core/wb_codec.h | 2 +- firmware/src/core/wb_dev.c | 2 +- firmware/src/core/wb_dev.h | 2 +- firmware/src/core/wb_hal.h | 2 +- firmware/src/core/wb_proto.h | 2 +- firmware/src/generated/board_pins.h | 2 +- firmware/src/generated/board_pins_line.h | 2 +- firmware/src/generated/board_pins_w.h | 2 +- firmware/src/generated/board_pins_wb.h | 2 +- firmware/src/line/daa.c | 2 +- firmware/src/line/daa.h | 2 +- firmware/src/line/line_stick.c | 2 +- firmware/src/line/line_stick.h | 2 +- firmware/src/line/main.c | 2 +- firmware/src/line/si3056.pio | 2 +- firmware/src/rp2040/autobaud.pio | 2 +- firmware/src/rp2040/board_config.h | 2 +- firmware/src/rp2040/bt.c | 2 +- firmware/src/rp2040/bt.h | 2 +- firmware/src/rp2040/btstack_config.h | 2 +- firmware/src/rp2040/hal_rp2040.c | 2 +- firmware/src/rp2040/hal_rp2040.h | 2 +- firmware/src/rp2040/main.c | 2 +- firmware/src/rp2040/pico_serial_w.gatt | 2 +- firmware/src/rp2040/tusb_config.h | 2 +- firmware/src/rp2040/usb.c | 2 +- firmware/src/rp2040/usb.h | 2 +- firmware/src/stick/stick.h | 2 +- firmware/src/stick/usb_stick.c | 2 +- firmware/src/stick/usb_stick.h | 2 +- firmware/src/wb/codec.c | 2 +- firmware/src/wb/codec.h | 2 +- firmware/src/wb/i2s.pio | 2 +- firmware/src/wb/main.c | 2 +- firmware/src/wb/wb_stick.c | 2 +- firmware/src/wb/wb_stick.h | 2 +- firmware/test/Makefile | 2 +- firmware/test/emu/emu_test.ts | 2 +- firmware/test/emu/run.sh | 2 +- firmware/test/fake_hal.c | 2 +- firmware/test/fake_hal.h | 2 +- firmware/test/test_autobaud.c | 2 +- firmware/test/test_core.c | 2 +- firmware/test/test_line.c | 2 +- firmware/test/test_link.c | 2 +- firmware/test/test_wb.c | 2 +- firmware/test/wave.c | 2 +- firmware/test/wave.h | 2 +- firmware/tools/check_docs.py | 2 +- hardware/README.md | 2 +- hardware/enclosure/README.md | 2 +- hardware/enclosure/out-line/placement.md | 2 +- hardware/enclosure/out-wb/placement.md | 2 +- hardware/enclosure/out/placement.md | 2 +- hardware/enclosure/stick.py | 4 ++-- hardware/enclosure/w_hood.py | 4 ++-- hardware/kicad/build_pcb.py | 2 +- hardware/kicad/build_schematic.py | 4 ++-- hardware/kicad/lib/make_footprints.py | 2 +- hardware/kicad/pico-serial-line.kicad_dru | 2 +- hardware/kicad/pico-serial-line.kicad_sch | 2 +- hardware/kicad/pico-serial-w.kicad_dru | 2 +- hardware/kicad/pico-serial-w.kicad_sch | 2 +- hardware/kicad/pico-serial-wb.kicad_dru | 2 +- hardware/kicad/pico-serial-wb.kicad_sch | 2 +- hardware/kicad/pico-serial.kicad_dru | 2 +- hardware/kicad/pico-serial.kicad_sch | 2 +- hardware/kicad/sexpr.py | 2 +- hardware/netlist/NETLIST-line.md | 2 +- hardware/netlist/NETLIST-w.md | 2 +- hardware/netlist/NETLIST-wb.md | 2 +- hardware/netlist/NETLIST.md | 2 +- hardware/netlist/build_netlist.py | 6 +++--- 109 files changed, 119 insertions(+), 119 deletions(-) diff --git a/.github/workflows/firmware.yml b/.github/workflows/firmware.yml index 70545f3..aac010e 100644 --- a/.github/workflows/firmware.yml +++ b/.github/workflows/firmware.yml @@ -1,5 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-only -# Copyright (C) 2026 Neo-Desktop +# Copyright (C) 2026 D-Modem Authors name: firmware on: diff --git a/.github/workflows/hardware.yml b/.github/workflows/hardware.yml index 4e1a243..997e366 100644 --- a/.github/workflows/hardware.yml +++ b/.github/workflows/hardware.yml @@ -1,5 +1,5 @@ # SPDX-License-Identifier: CERN-OHL-S-2.0 -# Copyright (C) 2026 Neo-Desktop +# Copyright (C) 2026 D-Modem Authors # # For every board (the hood board, pico-serial W, Line and WB): the generated hardware # files are up to date with the netlist script, the schematic passes ERC, and diff --git a/LICENSING.md b/LICENSING.md index 33cf7a0..4d7e1aa 100644 --- a/LICENSING.md +++ b/LICENSING.md @@ -1,6 +1,6 @@ # Licensing -pico-serial is copyright Neo-Desktop. +pico-serial is copyright the D-Modem Authors. ## Firmware (`firmware/`) @@ -8,8 +8,8 @@ The firmware is available under either of two licences: - the **GNU Affero General Public License, version 3 only** (AGPL-3.0-only), in [firmware/COPYING](firmware/COPYING); or -- a **commercial licence** from Neo-Desktop, for uses that cannot meet - the AGPL's terms. Ask Neo-Desktop () +- a **commercial licence** from the D-Modem Authors, for uses that cannot meet + the AGPL's terms. Ask the D-Modem Authors () for its terms. This is the same arrangement as the rest of D-Modem. Each source file names @@ -40,9 +40,9 @@ The hardware design is available under either of two licences: - the **CERN Open Hardware Licence Version 2, Strongly Reciprocal** (CERN-OHL-S-2.0), in [hardware/LICENSE](hardware/LICENSE); or -- a **commercial licence** from Neo-Desktop, for uses that cannot meet +- a **commercial licence** from the D-Modem Authors, for uses that cannot meet CERN-OHL-S's terms, such as shipping a product made from a modified - design without publishing that design. Ask Neo-Desktop for its terms. + design without publishing that design. Ask the D-Modem Authors for their terms. ### What it covers @@ -88,5 +88,5 @@ makers' own terms. ## Contributions -Contributions can be accepted only under terms that let Neo-Desktop offer +Contributions can be accepted only under terms that let the D-Modem Authors offer them under all the licences above. Ask before sending one. diff --git a/README.md b/README.md index 3b4e825..ba3e984 100644 --- a/README.md +++ b/README.md @@ -8,4 +8,4 @@ Wireless variant (Bluetooth LE for iPhone, classic Bluetooth serial for Android) ## Licence -Firmware: AGPL-3.0-only, or a commercial licence from Neo-Desktop. Hardware: CERN-OHL-S-2.0, or a commercial licence from Neo-Desktop. See [LICENSING.md](LICENSING.md). +Firmware: AGPL-3.0-only, or a commercial licence from the D-Modem Authors. Hardware: CERN-OHL-S-2.0, or a commercial licence from the D-Modem Authors. See [LICENSING.md](LICENSING.md). diff --git a/SPEC-L.md b/SPEC-L.md index 3767f03..36573c5 100644 --- a/SPEC-L.md +++ b/SPEC-L.md @@ -1,5 +1,5 @@ - + # pico-serial Line — phone-line modem stick (draft 0.1) A USB modem for a real telephone line, in the shape of Apple's USB Modem: diff --git a/SPEC-W.md b/SPEC-W.md index e9bd3ec..7e5bace 100644 --- a/SPEC-W.md +++ b/SPEC-W.md @@ -1,5 +1,5 @@ - + # pico-serial W — wireless variant (draft 0.1) pico-serial with a Bluetooth radio, so a phone can be the modem without a diff --git a/SPEC-WB.md b/SPEC-WB.md index ac2e6cf..6e9ca82 100644 --- a/SPEC-WB.md +++ b/SPEC-WB.md @@ -1,5 +1,5 @@ - + # pico-serial WB — wideband bare-pair stick (draft 0.1) A sibling of the phone-line stick ([SPEC-L.md](SPEC-L.md)) for **bare diff --git a/SPEC.md b/SPEC.md index 2c33632..aae7fe2 100644 --- a/SPEC.md +++ b/SPEC.md @@ -1,5 +1,5 @@ - + # pico-serial — hardware spec (draft 0.3) A USB-C to DB25 RS-232 adapter built on a bare **RP2040** (the chip on the diff --git a/firmware/CMakeLists.txt b/firmware/CMakeLists.txt index edc275e..679fcce 100644 --- a/firmware/CMakeLists.txt +++ b/firmware/CMakeLists.txt @@ -1,5 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-only -# Copyright (C) 2026 Neo-Desktop +# Copyright (C) 2026 D-Modem Authors cmake_minimum_required(VERSION 3.13) # Which board: "hood" (the DB25 hood board), "w" (pico-serial W, with the diff --git a/firmware/boards/pico_serial_hood.h b/firmware/boards/pico_serial_hood.h index 05d433a..68c6f84 100644 --- a/firmware/boards/pico_serial_hood.h +++ b/firmware/boards/pico_serial_hood.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // pico-serial DB25 hood board (SPEC.md): bare RP2040, W25Q128JV, 12 MHz ABM8-272-T3. #ifndef _BOARDS_PICO_SERIAL_HOOD_H diff --git a/firmware/boards/pico_serial_line.h b/firmware/boards/pico_serial_line.h index b361e68..857cfbe 100644 --- a/firmware/boards/pico_serial_line.h +++ b/firmware/boards/pico_serial_line.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // pico-serial Line, the phone-line stick (SPEC-L.md): bare RP2040, W25Q128JV, // 12 MHz ABM8-272-T3, Si3056 + Si3018 DAA. diff --git a/firmware/boards/pico_serial_w.h b/firmware/boards/pico_serial_w.h index ea92877..3f6d4c0 100644 --- a/firmware/boards/pico_serial_w.h +++ b/firmware/boards/pico_serial_w.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // pico-serial W (SPEC-W.md): the hood board's circuit plus a Raspberry Pi // RM2 (CYW43439) wired exactly as on Pico W, so the SDK's CYW43 defaults apply. diff --git a/firmware/boards/pico_serial_wb.h b/firmware/boards/pico_serial_wb.h index afb91f1..d0818c0 100644 --- a/firmware/boards/pico_serial_wb.h +++ b/firmware/boards/pico_serial_wb.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // pico-serial WB, the wideband bare-pair stick (SPEC-WB.md): bare RP2040, // W25Q128JV, 12 MHz ABM8-272-T3 (also the codec's MCLK), TLV320AIC3204 codec. diff --git a/firmware/src/core/aic3204.h b/firmware/src/core/aic3204.h index ecd61e9..2e69ee8 100644 --- a/firmware/src/core/aic3204.h +++ b/firmware/src/core/aic3204.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // TI TLV320AIC3204: the registers and bits the firmware uses. TI SLAA557 // (Application Reference Guide, November 2012), chapter 5 "Register Map"; diff --git a/firmware/src/core/autobaud.c b/firmware/src/core/autobaud.c index 7483cde..f22cdc2 100644 --- a/firmware/src/core/autobaud.c +++ b/firmware/src/core/autobaud.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Automatic baud-rate detection. See autobaud.h. // diff --git a/firmware/src/core/autobaud.h b/firmware/src/core/autobaud.h index 6ac7409..b407b89 100644 --- a/firmware/src/core/autobaud.h +++ b/firmware/src/core/autobaud.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Automatic baud-rate detection, portable part. The HAL times the RX line // (how long it stays low, then high, then low...) starting at the first diff --git a/firmware/src/core/core.c b/firmware/src/core/core.c index 4b8473d..fd6f507 100644 --- a/firmware/src/core/core.c +++ b/firmware/src/core/core.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The serial core. See core.h and SPEC.md section 5. #include "core.h" diff --git a/firmware/src/core/core.h b/firmware/src/core/core.h index e124712..2c0d9f8 100644 --- a/firmware/src/core/core.h +++ b/firmware/src/core/core.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The serial core: which role the board is in, what the modem lines do, // flow control, and the bytes between the host link and the RS-232 port. diff --git a/firmware/src/core/daa_frame.c b/firmware/src/core/daa_frame.c index 22cf2fb..cc81696 100644 --- a/firmware/src/core/daa_frame.c +++ b/firmware/src/core/daa_frame.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The Si3056's serial frames and the line's sample streams. See daa_frame.h. #include "daa_frame.h" diff --git a/firmware/src/core/daa_frame.h b/firmware/src/core/daa_frame.h index 27453d6..8b77c60 100644 --- a/firmware/src/core/daa_frame.h +++ b/firmware/src/core/daa_frame.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The Si3056's serial frames, from the RP2040's side (portable: the PIO // interrupt calls it with each 16-bit word received; host tests do too). diff --git a/firmware/src/core/hal.h b/firmware/src/core/hal.h index 2e1b53c..8503ed6 100644 --- a/firmware/src/core/hal.h +++ b/firmware/src/core/hal.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // What the portable core needs from the hardware. Implemented for the RP2040 // in src/rp2040/hal_rp2040.c and faked for the host tests in test/fake_hal.c. diff --git a/firmware/src/core/line_dev.c b/firmware/src/core/line_dev.c index 20e4825..b358515 100644 --- a/firmware/src/core/line_dev.c +++ b/firmware/src/core/line_dev.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The phone-line stick's device logic. See line_dev.h and line_proto.h. #include diff --git a/firmware/src/core/line_dev.h b/firmware/src/core/line_dev.h index cef1a2d..de36afb 100644 --- a/firmware/src/core/line_dev.h +++ b/firmware/src/core/line_dev.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The phone-line stick's device logic (portable): the vendor requests of // line_proto.h, the hook and its flash, the line monitor, the interrupt diff --git a/firmware/src/core/line_hal.h b/firmware/src/core/line_hal.h index 136ccaf..27c9aa4 100644 --- a/firmware/src/core/line_hal.h +++ b/firmware/src/core/line_hal.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // What line_dev.c needs from the stick's hardware. Implemented for the // RP2040 in src/line/daa.c and faked for the host tests in test/test_line.c. diff --git a/firmware/src/core/line_proto.h b/firmware/src/core/line_proto.h index 959cf83..40acc2b 100644 --- a/firmware/src/core/line_proto.h +++ b/firmware/src/core/line_proto.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The phone-line stick's USB protocol (SPEC-L.md §5, firmware/PROTOCOL.md // "Line stick"): what the host's driver (D-Modem's dmodemd) and the diff --git a/firmware/src/core/link.c b/firmware/src/core/link.c index 03fac5d..862cfdf 100644 --- a/firmware/src/core/link.c +++ b/firmware/src/core/link.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Host links and port ownership. See link.h and SPEC-W.md 4.4, 4.6. #include "link.h" diff --git a/firmware/src/core/link.h b/firmware/src/core/link.h index 720ba7c..bb5b49e 100644 --- a/firmware/src/core/link.h +++ b/firmware/src/core/link.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Host links (USB CDC, and on the W board BLE and classic Bluetooth SPP) and // which one owns the RS-232 port (SPEC-W.md 4.6): diff --git a/firmware/src/core/protocol.h b/firmware/src/core/protocol.h index dee4a9d..a32dd8a 100644 --- a/firmware/src/core/protocol.h +++ b/firmware/src/core/protocol.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // pico-serial vendor protocol: control requests on the "pico-serial control" // interface. Shared by the firmware and any host app; see firmware/PROTOCOL.md. diff --git a/firmware/src/core/ring.h b/firmware/src/core/ring.h index 50322be..9271d10 100644 --- a/firmware/src/core/ring.h +++ b/firmware/src/core/ring.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Single-producer single-consumer byte ring. One side may run in an interrupt // handler and the other in the main loop (single core): indices are only diff --git a/firmware/src/core/sfifo.h b/firmware/src/core/sfifo.h index d16895d..2d3233b 100644 --- a/firmware/src/core/sfifo.h +++ b/firmware/src/core/sfifo.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Single-producer single-consumer ring of 16-bit samples, for the sticks // (sstream.h): the codec's interrupt on one side, USB in the main loop on diff --git a/firmware/src/core/si3056.h b/firmware/src/core/si3056.h index 52ba407..268949d 100644 --- a/firmware/src/core/si3056.h +++ b/firmware/src/core/si3056.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Skyworks Si3056 (with the Si3018/19 line side): the registers and bits the // firmware uses. Datasheet rev 1.03, section 6 "Control Registers". diff --git a/firmware/src/core/sstream.c b/firmware/src/core/sstream.c index e1bb8f1..2e849d6 100644 --- a/firmware/src/core/sstream.c +++ b/firmware/src/core/sstream.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // A stick's sample streams. See sstream.h. #include "sstream.h" diff --git a/firmware/src/core/sstream.h b/firmware/src/core/sstream.h index 1caa803..bae7d03 100644 --- a/firmware/src/core/sstream.h +++ b/firmware/src/core/sstream.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // A stick's two sample streams (portable; both sticks use them): the line's // samples to the host (USB IN) and the modem's samples from it (USB OUT), diff --git a/firmware/src/core/wb_audio.c b/firmware/src/core/wb_audio.c index 5c8e346..1c9979a 100644 --- a/firmware/src/core/wb_audio.c +++ b/firmware/src/core/wb_audio.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The WB stick's samples between the I2S frames and the streams. See wb_audio.h. #include "wb_audio.h" diff --git a/firmware/src/core/wb_audio.h b/firmware/src/core/wb_audio.h index 079dae7..66c03fc 100644 --- a/firmware/src/core/wb_audio.h +++ b/firmware/src/core/wb_audio.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The WB stick's samples between the codec's I2S frames and the sample // streams (portable: the DMA interrupt calls it with each block of frames; diff --git a/firmware/src/core/wb_codec.c b/firmware/src/core/wb_codec.c index 19b429f..3595ff0 100644 --- a/firmware/src/core/wb_codec.c +++ b/firmware/src/core/wb_codec.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The WB stick's codec: clocks, register access by page, bring-up. See // wb_codec.h; the registers are in aic3204.h. diff --git a/firmware/src/core/wb_codec.h b/firmware/src/core/wb_codec.h index fd209cb..760ad59 100644 --- a/firmware/src/core/wb_codec.h +++ b/firmware/src/core/wb_codec.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The WB stick's codec (TLV320AIC3204, SPEC-WB.md §3-4), portable: its // clocks for each sample rate, its registers by page, and its bring-up diff --git a/firmware/src/core/wb_dev.c b/firmware/src/core/wb_dev.c index 2e51b2a..ef63a22 100644 --- a/firmware/src/core/wb_dev.c +++ b/firmware/src/core/wb_dev.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The WB stick's device logic. See wb_dev.h and wb_proto.h. #include diff --git a/firmware/src/core/wb_dev.h b/firmware/src/core/wb_dev.h index 302eafc..8fa2235 100644 --- a/firmware/src/core/wb_dev.h +++ b/firmware/src/core/wb_dev.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The WB stick's device logic (portable): the vendor requests of // wb_proto.h, the codec's bring-up at the host's rate and settings, its diff --git a/firmware/src/core/wb_hal.h b/firmware/src/core/wb_hal.h index 5df231e..1a5d3cb 100644 --- a/firmware/src/core/wb_hal.h +++ b/firmware/src/core/wb_hal.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // What wb_codec.c and wb_dev.c need from the WB stick's hardware. // Implemented for the RP2040 in src/wb/codec.c and faked for the host tests diff --git a/firmware/src/core/wb_proto.h b/firmware/src/core/wb_proto.h index 83fae44..d596e12 100644 --- a/firmware/src/core/wb_proto.h +++ b/firmware/src/core/wb_proto.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The wideband stick's USB protocol (SPEC-WB.md §5, firmware/PROTOCOL.md // "WB stick"): what the host's driver (D-Modem's dmodemd) and the firmware diff --git a/firmware/src/generated/board_pins.h b/firmware/src/generated/board_pins.h index b8c7d13..77fdfde 100644 --- a/firmware/src/generated/board_pins.h +++ b/firmware/src/generated/board_pins.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Generated by hardware/netlist/build_netlist.py from the board's nets. Do not edit. #pragma once diff --git a/firmware/src/generated/board_pins_line.h b/firmware/src/generated/board_pins_line.h index 4a757cd..3558041 100644 --- a/firmware/src/generated/board_pins_line.h +++ b/firmware/src/generated/board_pins_line.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Generated by hardware/netlist/build_netlist.py from the board's nets. Do not edit. #pragma once diff --git a/firmware/src/generated/board_pins_w.h b/firmware/src/generated/board_pins_w.h index bca6f05..28e6f17 100644 --- a/firmware/src/generated/board_pins_w.h +++ b/firmware/src/generated/board_pins_w.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Generated by hardware/netlist/build_netlist.py from the board's nets. Do not edit. #pragma once diff --git a/firmware/src/generated/board_pins_wb.h b/firmware/src/generated/board_pins_wb.h index acd2545..09f77c5 100644 --- a/firmware/src/generated/board_pins_wb.h +++ b/firmware/src/generated/board_pins_wb.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Generated by hardware/netlist/build_netlist.py from the board's nets. Do not edit. #pragma once diff --git a/firmware/src/line/daa.c b/firmware/src/line/daa.c index f110f3e..d9e6a2c 100644 --- a/firmware/src/line/daa.c +++ b/firmware/src/line/daa.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The line stick's DAA on the RP2040 (SPEC-L.md §3.2): the Si3056 as the // serial-port master, the RP2040 its slave in PIO, every received word diff --git a/firmware/src/line/daa.h b/firmware/src/line/daa.h index ea7e754..1024026 100644 --- a/firmware/src/line/daa.h +++ b/firmware/src/line/daa.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The line stick's DAA on the RP2040: the Si3056's pins, its clock, its // serial frames (PIO and an interrupt) and the sample streams. Implements diff --git a/firmware/src/line/line_stick.c b/firmware/src/line/line_stick.c index 2d330eb..a097a09 100644 --- a/firmware/src/line/line_stick.c +++ b/firmware/src/line/line_stick.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The phone-line stick behind the sticks' USB device (stick.h): its device // logic (line_dev.c) and the DAA's sample streams (daa.c). diff --git a/firmware/src/line/line_stick.h b/firmware/src/line/line_stick.h index ee9b0cc..b443f8e 100644 --- a/firmware/src/line/line_stick.h +++ b/firmware/src/line/line_stick.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The line stick's device state, behind the sticks' USB device (stick.h, // line_stick.c). diff --git a/firmware/src/line/main.c b/firmware/src/line/main.c index 7d3ba45..11752ac 100644 --- a/firmware/src/line/main.c +++ b/firmware/src/line/main.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // pico-serial Line firmware: the phone-line stick's USB front end for the // Si3056 DAA (SPEC-L.md). The modem itself is on the host (D-Modem). diff --git a/firmware/src/line/si3056.pio b/firmware/src/line/si3056.pio index e327f62..6fc2979 100644 --- a/firmware/src/line/si3056.pio +++ b/firmware/src/line/si3056.pio @@ -1,5 +1,5 @@ ; SPDX-License-Identifier: AGPL-3.0-only -; Copyright (C) 2026 Neo-Desktop +; Copyright (C) 2026 D-Modem Authors ; ; The RP2040 as the Si3056's serial-port slave (serial mode 0, DCE = 0; Si3056 ; datasheet rev 1.03, Table 7 and Figure 3). The Si3056 makes SCLK (256 a diff --git a/firmware/src/rp2040/autobaud.pio b/firmware/src/rp2040/autobaud.pio index 4efbf1a..341c50e 100644 --- a/firmware/src/rp2040/autobaud.pio +++ b/firmware/src/rp2040/autobaud.pio @@ -1,5 +1,5 @@ ; SPDX-License-Identifier: AGPL-3.0-only -; Copyright (C) 2026 Neo-Desktop +; Copyright (C) 2026 D-Modem Authors ; ; Times the RS-232 RX line for baud-rate learning (hal_autobaud). From the ; first falling edge after the line is high, pushes one word per run of one diff --git a/firmware/src/rp2040/board_config.h b/firmware/src/rp2040/board_config.h index 82babc9..5dd4713 100644 --- a/firmware/src/rp2040/board_config.h +++ b/firmware/src/rp2040/board_config.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Per-board choices the netlist doesn't decide: LEDs, names, IDs. #pragma once diff --git a/firmware/src/rp2040/bt.c b/firmware/src/rp2040/bt.c index 7383289..23eaa62 100644 --- a/firmware/src/rp2040/bt.c +++ b/firmware/src/rp2040/bt.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Bluetooth on pico-serial W (SPEC-W.md 4). BTstack on the RM2 (CYW43439), // polled from the main loop (pico_cyw43_arch_poll), so every callback here diff --git a/firmware/src/rp2040/bt.h b/firmware/src/rp2040/bt.h index 9202d50..0ca9c99 100644 --- a/firmware/src/rp2040/bt.h +++ b/firmware/src/rp2040/bt.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Bluetooth on pico-serial W (SPEC-W.md 4): classic SPP and BLE (Nordic UART // Service plus the pico-serial control service) as host links (link.h). diff --git a/firmware/src/rp2040/btstack_config.h b/firmware/src/rp2040/btstack_config.h index 31e88c5..1fbaf07 100644 --- a/firmware/src/rp2040/btstack_config.h +++ b/firmware/src/rp2040/btstack_config.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // BTstack configuration for pico-serial W: classic (SPP) and LE (GATT) at once. #pragma once diff --git a/firmware/src/rp2040/hal_rp2040.c b/firmware/src/rp2040/hal_rp2040.c index 46f95b2..4e5758b 100644 --- a/firmware/src/rp2040/hal_rp2040.c +++ b/firmware/src/rp2040/hal_rp2040.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // hal.h for the RP2040 boards. GPIO numbers come from the netlist // (generated/board_pins.h). The RS-232 transceivers invert: logic low on a diff --git a/firmware/src/rp2040/hal_rp2040.h b/firmware/src/rp2040/hal_rp2040.h index 2c5c31a..57f50c3 100644 --- a/firmware/src/rp2040/hal_rp2040.h +++ b/firmware/src/rp2040/hal_rp2040.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ #pragma once // Sets every board pin to a safe state (transceivers shut down, outputs diff --git a/firmware/src/rp2040/main.c b/firmware/src/rp2040/main.c index ea91cff..32b5747 100644 --- a/firmware/src/rp2040/main.c +++ b/firmware/src/rp2040/main.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // pico-serial firmware: USB CDC serial port (and on the W board, Bluetooth) // <-> RS-232 DB25, DCE/DTE auto-detect. diff --git a/firmware/src/rp2040/pico_serial_w.gatt b/firmware/src/rp2040/pico_serial_w.gatt index 5dda16a..5aa4db6 100644 --- a/firmware/src/rp2040/pico_serial_w.gatt +++ b/firmware/src/rp2040/pico_serial_w.gatt @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// Copyright (C) 2026 Neo-Desktop +// Copyright (C) 2026 D-Modem Authors // pico-serial W GATT database (SPEC-W.md 4.2-4.3). Compiled into // pico_serial_w.h by BTstack's compile_gatt.py at build time. diff --git a/firmware/src/rp2040/tusb_config.h b/firmware/src/rp2040/tusb_config.h index 66ba64a..3999a04 100644 --- a/firmware/src/rp2040/tusb_config.h +++ b/firmware/src/rp2040/tusb_config.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ #pragma once diff --git a/firmware/src/rp2040/usb.c b/firmware/src/rp2040/usb.c index 2119c93..4e8969c 100644 --- a/firmware/src/rp2040/usb.c +++ b/firmware/src/rp2040/usb.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // USB: descriptors, the CDC serial port, the "pico-serial control" vendor // interface and Raspberry Pi's reset interface (picotool reboot -u). diff --git a/firmware/src/rp2040/usb.h b/firmware/src/rp2040/usb.h index d2577ae..f6a9f99 100644 --- a/firmware/src/rp2040/usb.h +++ b/firmware/src/rp2040/usb.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ #pragma once // Starts the USB device stack (descriptors and callbacks in usb.c). Call diff --git a/firmware/src/stick/stick.h b/firmware/src/stick/stick.h index fac9a61..28185d8 100644 --- a/firmware/src/stick/stick.h +++ b/firmware/src/stick/stick.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // What the sticks' USB device (usb_stick.c) needs from the stick it serves: // its protocol's numbers, and its device logic and sample streams. The diff --git a/firmware/src/stick/usb_stick.c b/firmware/src/stick/usb_stick.c index 34a9273..2599065 100644 --- a/firmware/src/stick/usb_stick.c +++ b/firmware/src/stick/usb_stick.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The sticks' USB device (the phone-line stick and the wideband stick): one // vendor interface shaped like the Smart Link SmartUSB56's (D-Modem's diff --git a/firmware/src/stick/usb_stick.h b/firmware/src/stick/usb_stick.h index 3965cb3..01b177d 100644 --- a/firmware/src/stick/usb_stick.h +++ b/firmware/src/stick/usb_stick.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The sticks' USB device (firmware/PROTOCOL.md "Line stick", "WB stick"): // descriptors and the class driver in usb_stick.c, the stick's own part diff --git a/firmware/src/wb/codec.c b/firmware/src/wb/codec.c index 3320d7e..29c060b 100644 --- a/firmware/src/wb/codec.c +++ b/firmware/src/wb/codec.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The WB stick's codec on the RP2040 (SPEC-WB.md §3-4): the TLV320AIC3204 // as the I2S master on the RP2040's 12 MHz crystal clock, the RP2040 its diff --git a/firmware/src/wb/codec.h b/firmware/src/wb/codec.h index d3808e1..62d419e 100644 --- a/firmware/src/wb/codec.h +++ b/firmware/src/wb/codec.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The WB stick's codec on the RP2040: its pins, MCLK, I2C, and its I2S // frames (PIO and DMA) with the samples through wb_audio.c. Implements diff --git a/firmware/src/wb/i2s.pio b/firmware/src/wb/i2s.pio index d152ad6..de9fe5f 100644 --- a/firmware/src/wb/i2s.pio +++ b/firmware/src/wb/i2s.pio @@ -1,5 +1,5 @@ ; SPDX-License-Identifier: AGPL-3.0-only -; Copyright (C) 2026 Neo-Desktop +; Copyright (C) 2026 D-Modem Authors ; ; The RP2040 as the TLV320AIC3204's I2S slave, full duplex (SLAA557 2.6.3, ; "I2S Mode"; datasheet 7.13, I2S timing in master mode). The codec makes diff --git a/firmware/src/wb/main.c b/firmware/src/wb/main.c index 139f777..77461a2 100644 --- a/firmware/src/wb/main.c +++ b/firmware/src/wb/main.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // pico-serial WB firmware: the wideband bare-pair stick's USB front end for // the TLV320AIC3204 codec (SPEC-WB.md). The modem itself is on the host diff --git a/firmware/src/wb/wb_stick.c b/firmware/src/wb/wb_stick.c index 6b3909f..544fb1f 100644 --- a/firmware/src/wb/wb_stick.c +++ b/firmware/src/wb/wb_stick.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The wideband stick behind the sticks' USB device (stick.h): its device // logic (wb_dev.c) and the codec's sample streams (codec.c). diff --git a/firmware/src/wb/wb_stick.h b/firmware/src/wb/wb_stick.h index 9840581..33dd9dd 100644 --- a/firmware/src/wb/wb_stick.h +++ b/firmware/src/wb/wb_stick.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // The wideband stick's device state, behind the sticks' USB device // (stick.h, wb_stick.c). diff --git a/firmware/test/Makefile b/firmware/test/Makefile index 276dcd2..1ec230c 100644 --- a/firmware/test/Makefile +++ b/firmware/test/Makefile @@ -1,5 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-only -# Copyright (C) 2026 Neo-Desktop +# Copyright (C) 2026 D-Modem Authors # Host tests for the portable core: make -C firmware/test CFLAGS ?= -std=c11 -O1 -g -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -fsanitize=address,undefined CORE = ../src/core/core.c ../src/core/autobaud.c diff --git a/firmware/test/emu/emu_test.ts b/firmware/test/emu/emu_test.ts index 707d823..22a5ddf 100644 --- a/firmware/test/emu/emu_test.ts +++ b/firmware/test/emu/emu_test.ts @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// Copyright (C) 2026 Neo-Desktop +// Copyright (C) 2026 D-Modem Authors // End-to-end test of the real firmware image in the rp2040js emulator: // boot, USB enumeration (the emulator plays the host), DCE/DTE detection via // the transceivers' status lines, modem-line mapping on the GPIOs, data both diff --git a/firmware/test/emu/run.sh b/firmware/test/emu/run.sh index 98c9206..b386e02 100755 --- a/firmware/test/emu/run.sh +++ b/firmware/test/emu/run.sh @@ -1,6 +1,6 @@ #!/bin/sh # SPDX-License-Identifier: AGPL-3.0-only -# Copyright (C) 2026 Neo-Desktop +# Copyright (C) 2026 D-Modem Authors # End-to-end test of a firmware image in the rp2040js emulator. # firmware/test/emu/run.sh build/pico-serial-hood.bin # Needs Node.js 20+ and network on first run (npm, and the RP2040 boot ROM diff --git a/firmware/test/fake_hal.c b/firmware/test/fake_hal.c index 6b12520..5c1abd8 100644 --- a/firmware/test/fake_hal.c +++ b/firmware/test/fake_hal.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // A pretend board for the host tests: records what the core asks of the // hardware and lets a test set what the hardware reports. diff --git a/firmware/test/fake_hal.h b/firmware/test/fake_hal.h index eb9ec48..87071c0 100644 --- a/firmware/test/fake_hal.h +++ b/firmware/test/fake_hal.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ #pragma once #include "../src/core/hal.h" diff --git a/firmware/test/test_autobaud.c b/firmware/test/test_autobaud.c index e5fbe3e..5233ca3 100644 --- a/firmware/test/test_autobaud.c +++ b/firmware/test/test_autobaud.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Host tests for the baud-rate detector: waveforms made from text and random // bytes at every standard rate, with timing jitter, a sender running fast or diff --git a/firmware/test/test_core.c b/firmware/test/test_core.c index f1a97e8..a526de3 100644 --- a/firmware/test/test_core.c +++ b/firmware/test/test_core.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Host tests for the serial core: role detection, line mapping, flow control, // SERIAL_STATE, line coding, break, vendor requests, settings, ring buffer. diff --git a/firmware/test/test_line.c b/firmware/test/test_line.c index be752e8..126d607 100644 --- a/firmware/test/test_line.c +++ b/firmware/test/test_line.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Host tests for the phone-line stick's portable firmware: the Si3056's // serial frames (daa_frame.c) against a model of the chip's serial port, diff --git a/firmware/test/test_link.c b/firmware/test/test_link.c index a8eee1b..7acb48d 100644 --- a/firmware/test/test_link.c +++ b/firmware/test/test_link.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Host tests for the host links: who owns the RS-232 port (SPEC-W.md 4.6) // and DCD from result codes (SPEC-W.md 4.4). diff --git a/firmware/test/test_wb.c b/firmware/test/test_wb.c index 594aeb0..6efa05f 100644 --- a/firmware/test/test_wb.c +++ b/firmware/test/test_wb.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Host tests for the wideband stick's portable firmware: the codec's // bring-up (wb_codec.c) against a model of the TLV320AIC3204's registers, diff --git a/firmware/test/wave.c b/firmware/test/wave.c index 5684abb..37142d5 100644 --- a/firmware/test/wave.c +++ b/firmware/test/wave.c @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ #include "wave.h" #include diff --git a/firmware/test/wave.h b/firmware/test/wave.h index 4e566d9..9ca747c 100644 --- a/firmware/test/wave.h +++ b/firmware/test/wave.h @@ -1,6 +1,6 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * Copyright (C) 2026 Neo-Desktop + * Copyright (C) 2026 D-Modem Authors */ // Test waveforms: the line timings a capture would see for some characters. #pragma once diff --git a/firmware/tools/check_docs.py b/firmware/tools/check_docs.py index 76ac14b..0b21d97 100644 --- a/firmware/tools/check_docs.py +++ b/firmware/tools/check_docs.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: AGPL-3.0-only -# Copyright (C) 2026 Neo-Desktop +# Copyright (C) 2026 D-Modem Authors """Every function in the firmware has a comment saying what it does. python3 firmware/tools/check_docs.py # lists what's missing; exit 1 if anything is diff --git a/hardware/README.md b/hardware/README.md index 6b62e61..c6bdc14 100644 --- a/hardware/README.md +++ b/hardware/README.md @@ -1,5 +1,5 @@ - + # pico-serial hardware `netlist/build_netlist.py` defines every part and every connection on the diff --git a/hardware/enclosure/README.md b/hardware/enclosure/README.md index f02faae..678ecb9 100644 --- a/hardware/enclosure/README.md +++ b/hardware/enclosure/README.md @@ -1,5 +1,5 @@ - + # pico-serial W hood A 3D-printed DB25 hood for the wireless board (see `../../SPEC-W.md` §2.2). diff --git a/hardware/enclosure/out-line/placement.md b/hardware/enclosure/out-line/placement.md index 087f420..f908997 100644 --- a/hardware/enclosure/out-line/placement.md +++ b/hardware/enclosure/out-line/placement.md @@ -1,5 +1,5 @@ - + # pico-serial Line: placement fixed by the stick Generated by `stick.py`. Coordinates in mm; x = 0 at the RJ11 end's outer face, +x toward the USB-C end; y = 0 on the centre line. Board top = the side facing the top half. diff --git a/hardware/enclosure/out-wb/placement.md b/hardware/enclosure/out-wb/placement.md index 42ff1a6..1807e0a 100644 --- a/hardware/enclosure/out-wb/placement.md +++ b/hardware/enclosure/out-wb/placement.md @@ -1,5 +1,5 @@ - + # pico-serial WB: placement fixed by the stick Generated by `stick.py`. Coordinates in mm; x = 0 at the RJ11 end's outer face, +x toward the USB-C end; y = 0 on the centre line. Board top = the side facing the top half. diff --git a/hardware/enclosure/out/placement.md b/hardware/enclosure/out/placement.md index 957f3f3..113fc9e 100644 --- a/hardware/enclosure/out/placement.md +++ b/hardware/enclosure/out/placement.md @@ -1,5 +1,5 @@ - + # pico-serial W: placement fixed by the hood Generated by `w_hood.py`. Coordinates in mm; x = 0 at the DB25 flange's front face, +x toward the USB-C end; y = 0 on the hood's centre line, +y toward the USB-C side. Board top = the side facing the hood's top half. diff --git a/hardware/enclosure/stick.py b/hardware/enclosure/stick.py index 06c6fd5..7cefb83 100644 --- a/hardware/enclosure/stick.py +++ b/hardware/enclosure/stick.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: CERN-OHL-S-2.0 -# Copyright (C) 2026 Neo-Desktop +# Copyright (C) 2026 D-Modem Authors """pico-serial Line and WB: the 3D-printed stick (two halves), board outline and checks. A stick the length of a disposable lighter, Apple USB Modem style: the @@ -275,7 +275,7 @@ def main(): def write_placement(): - L = ["", "", + L = ["", "", f"# {NAME}: placement fixed by the stick", "", "Generated by `stick.py`. Coordinates in mm; x = 0 at the RJ11 end's outer face, +x toward the " "USB-C end; y = 0 on the centre line. Board top = the side facing the top half.", "", diff --git a/hardware/enclosure/w_hood.py b/hardware/enclosure/w_hood.py index d5d468d..2a665a3 100644 --- a/hardware/enclosure/w_hood.py +++ b/hardware/enclosure/w_hood.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: CERN-OHL-S-2.0 -# Copyright (C) 2026 Neo-Desktop +# Copyright (C) 2026 D-Modem Authors """pico-serial W: 3D-printed DB25 hood (two halves), board outline and checks. Coordinates (mm): x runs from the DB25 flange's front face (x = 0) toward @@ -344,7 +344,7 @@ def main(): def write_placement(engage): - L = ["", "", + L = ["", "", "# pico-serial W: placement fixed by the hood", "", "Generated by `w_hood.py`. Coordinates in mm; x = 0 at the DB25 flange's front face, " "+x toward the USB-C end; y = 0 on the hood's centre line, +y toward the USB-C side. " diff --git a/hardware/kicad/build_pcb.py b/hardware/kicad/build_pcb.py index 29b4762..98310f5 100644 --- a/hardware/kicad/build_pcb.py +++ b/hardware/kicad/build_pcb.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: CERN-OHL-S-2.0 -# Copyright (C) 2026 Neo-Desktop +# Copyright (C) 2026 D-Modem Authors """Lay out the pico-serial PCB from the netlist script. hardware/kicad/build_pcb.py --kicad-fp [--route] [--variant w] diff --git a/hardware/kicad/build_schematic.py b/hardware/kicad/build_schematic.py index 29bac89..95708f9 100644 --- a/hardware/kicad/build_schematic.py +++ b/hardware/kicad/build_schematic.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: CERN-OHL-S-2.0 -# Copyright (C) 2026 Neo-Desktop +# Copyright (C) 2026 D-Modem Authors """pico-serial schematic, generated from ../netlist/build_netlist.py. --variant w draws pico-serial W (the Bluetooth board) instead; its files @@ -731,7 +731,7 @@ def build(syms): [Sym("comment"), 2, ("See SPEC-W.md" if N.W else "See SPEC-L.md" if N.LINE else "See SPEC-WB.md" if N.WB else "See SPEC.md") + "; parts and nets come from hardware/netlist/build_netlist.py"], - [Sym("comment"), 3, "CERN-OHL-S-2.0 (or commercial licence from Neo-Desktop)"], + [Sym("comment"), 3, "CERN-OHL-S-2.0 (or commercial licence from the D-Modem Authors)"], [Sym("comment"), 4, "Source: https://github.com/D-Modem/hardware"]], [Sym("lib_symbols")] + [syms[k] for k in sorted({lib_id(r) for r in N.parts} | set(POWER.values()) | {"power:PWR_FLAG"})]] sch += items diff --git a/hardware/kicad/lib/make_footprints.py b/hardware/kicad/lib/make_footprints.py index c76b836..ae290ac 100644 --- a/hardware/kicad/lib/make_footprints.py +++ b/hardware/kicad/lib/make_footprints.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: CERN-OHL-S-2.0 -# Copyright (C) 2026 Neo-Desktop +# Copyright (C) 2026 D-Modem Authors """Writes the footprints KiCad doesn't ship into pico-serial.pretty/: RaspberryPi_RM2: from the RM2 datasheet (Raspberry Pi Radio Module 2, diff --git a/hardware/kicad/pico-serial-line.kicad_dru b/hardware/kicad/pico-serial-line.kicad_dru index 5dee53f..3946576 100644 --- a/hardware/kicad/pico-serial-line.kicad_dru +++ b/hardware/kicad/pico-serial-line.kicad_dru @@ -1,6 +1,6 @@ (version 1) # SPDX-License-Identifier: CERN-OHL-S-2.0 -# Copyright (C) 2026 Neo-Desktop +# Copyright (C) 2026 D-Modem Authors # Board-specific rules on top of the project's (build_pcb.py). # The USB-C receptacle's shell (and its silkscreen outline) overhangs the diff --git a/hardware/kicad/pico-serial-line.kicad_sch b/hardware/kicad/pico-serial-line.kicad_sch index bf3cfaa..2bd7769 100644 --- a/hardware/kicad/pico-serial-line.kicad_sch +++ b/hardware/kicad/pico-serial-line.kicad_sch @@ -10,7 +10,7 @@ (rev "0.3") (comment 1 "RP2040, Si3056 + Si3018 DAA, RJ11") (comment 2 "See SPEC-L.md; parts and nets come from hardware/netlist/build_netlist.py") - (comment 3 "CERN-OHL-S-2.0 (or commercial licence from Neo-Desktop)") + (comment 3 "CERN-OHL-S-2.0 (or commercial licence from the D-Modem Authors)") (comment 4 "Source: https://github.com/D-Modem/hardware") ) (lib_symbols diff --git a/hardware/kicad/pico-serial-w.kicad_dru b/hardware/kicad/pico-serial-w.kicad_dru index d140c10..36e6b19 100644 --- a/hardware/kicad/pico-serial-w.kicad_dru +++ b/hardware/kicad/pico-serial-w.kicad_dru @@ -1,6 +1,6 @@ (version 1) # SPDX-License-Identifier: CERN-OHL-S-2.0 -# Copyright (C) 2026 Neo-Desktop +# Copyright (C) 2026 D-Modem Authors # Board-specific rules on top of the project's (build_pcb.py). # The DB25's solder-cup pads run to the board edge by design (the board diff --git a/hardware/kicad/pico-serial-w.kicad_sch b/hardware/kicad/pico-serial-w.kicad_sch index 4a4cf85..c94f206 100644 --- a/hardware/kicad/pico-serial-w.kicad_sch +++ b/hardware/kicad/pico-serial-w.kicad_sch @@ -10,7 +10,7 @@ (rev "0.3") (comment 1 "RP2040, SP3238E (DCE) + MAX3243E (DTE) on one female DB25, RM2 Bluetooth") (comment 2 "See SPEC-W.md; parts and nets come from hardware/netlist/build_netlist.py") - (comment 3 "CERN-OHL-S-2.0 (or commercial licence from Neo-Desktop)") + (comment 3 "CERN-OHL-S-2.0 (or commercial licence from the D-Modem Authors)") (comment 4 "Source: https://github.com/D-Modem/hardware") ) (lib_symbols diff --git a/hardware/kicad/pico-serial-wb.kicad_dru b/hardware/kicad/pico-serial-wb.kicad_dru index 7f3e476..5571a83 100644 --- a/hardware/kicad/pico-serial-wb.kicad_dru +++ b/hardware/kicad/pico-serial-wb.kicad_dru @@ -1,6 +1,6 @@ (version 1) # SPDX-License-Identifier: CERN-OHL-S-2.0 -# Copyright (C) 2026 Neo-Desktop +# Copyright (C) 2026 D-Modem Authors # Board-specific rules on top of the project's (build_pcb.py). # The USB-C receptacle's shell (and its silkscreen outline) overhangs the diff --git a/hardware/kicad/pico-serial-wb.kicad_sch b/hardware/kicad/pico-serial-wb.kicad_sch index 98657f2..adb85d0 100644 --- a/hardware/kicad/pico-serial-wb.kicad_sch +++ b/hardware/kicad/pico-serial-wb.kicad_sch @@ -10,7 +10,7 @@ (rev "0.3") (comment 1 "RP2040, TLV320AIC3204 codec, PE-65848 transformer, RJ11") (comment 2 "See SPEC-WB.md; parts and nets come from hardware/netlist/build_netlist.py") - (comment 3 "CERN-OHL-S-2.0 (or commercial licence from Neo-Desktop)") + (comment 3 "CERN-OHL-S-2.0 (or commercial licence from the D-Modem Authors)") (comment 4 "Source: https://github.com/D-Modem/hardware") ) (lib_symbols diff --git a/hardware/kicad/pico-serial.kicad_dru b/hardware/kicad/pico-serial.kicad_dru index 6513072..e067b05 100644 --- a/hardware/kicad/pico-serial.kicad_dru +++ b/hardware/kicad/pico-serial.kicad_dru @@ -1,6 +1,6 @@ (version 1) # SPDX-License-Identifier: CERN-OHL-S-2.0 -# Copyright (C) 2026 Neo-Desktop +# Copyright (C) 2026 D-Modem Authors # Board-specific rules on top of the project's (build_pcb.py). # The DB25's solder-cup pads run to the board edge by design (the board diff --git a/hardware/kicad/pico-serial.kicad_sch b/hardware/kicad/pico-serial.kicad_sch index 8d6bd24..9685cf2 100644 --- a/hardware/kicad/pico-serial.kicad_sch +++ b/hardware/kicad/pico-serial.kicad_sch @@ -10,7 +10,7 @@ (rev "0.3") (comment 1 "RP2040, SP3238E (DCE) + MAX3243E (DTE) on one female DB25") (comment 2 "See SPEC.md; parts and nets come from hardware/netlist/build_netlist.py") - (comment 3 "CERN-OHL-S-2.0 (or commercial licence from Neo-Desktop)") + (comment 3 "CERN-OHL-S-2.0 (or commercial licence from the D-Modem Authors)") (comment 4 "Source: https://github.com/D-Modem/hardware") ) (lib_symbols diff --git a/hardware/kicad/sexpr.py b/hardware/kicad/sexpr.py index e10201b..6f27e55 100644 --- a/hardware/kicad/sexpr.py +++ b/hardware/kicad/sexpr.py @@ -1,5 +1,5 @@ # SPDX-License-Identifier: CERN-OHL-S-2.0 -# Copyright (C) 2026 Neo-Desktop +# Copyright (C) 2026 D-Modem Authors """Minimal reader/writer for KiCad's s-expression files. A node is a Python list whose first item is its keyword. Atoms are Sym diff --git a/hardware/netlist/NETLIST-line.md b/hardware/netlist/NETLIST-line.md index 1ac8ff6..4558d1a 100644 --- a/hardware/netlist/NETLIST-line.md +++ b/hardware/netlist/NETLIST-line.md @@ -1,5 +1,5 @@ - + # pico-serial Line netlist Generated by `build_netlist.py`; edit that script, not this file. diff --git a/hardware/netlist/NETLIST-w.md b/hardware/netlist/NETLIST-w.md index 6abf399..7187b6b 100644 --- a/hardware/netlist/NETLIST-w.md +++ b/hardware/netlist/NETLIST-w.md @@ -1,5 +1,5 @@ - + # pico-serial W netlist Generated by `build_netlist.py`; edit that script, not this file. diff --git a/hardware/netlist/NETLIST-wb.md b/hardware/netlist/NETLIST-wb.md index 3fe25ca..442e7f8 100644 --- a/hardware/netlist/NETLIST-wb.md +++ b/hardware/netlist/NETLIST-wb.md @@ -1,5 +1,5 @@ - + # pico-serial WB netlist Generated by `build_netlist.py`; edit that script, not this file. diff --git a/hardware/netlist/NETLIST.md b/hardware/netlist/NETLIST.md index e88358d..102e92a 100644 --- a/hardware/netlist/NETLIST.md +++ b/hardware/netlist/NETLIST.md @@ -1,5 +1,5 @@ - + # pico-serial netlist Generated by `build_netlist.py`; edit that script, not this file. diff --git a/hardware/netlist/build_netlist.py b/hardware/netlist/build_netlist.py index c7a40c2..5e4309b 100644 --- a/hardware/netlist/build_netlist.py +++ b/hardware/netlist/build_netlist.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: CERN-OHL-S-2.0 -# Copyright (C) 2026 Neo-Desktop +# Copyright (C) 2026 D-Modem Authors """pico-serial netlist: every part and connection on the board, in one place. Two boards come from this script (--variant, or $PS_VARIANT for the @@ -812,7 +812,7 @@ def write_kicad(path): def write_md(path): - L = ["", "", + L = ["", "", f"# pico-serial{' W' if W else ' Line' if LINE else ' WB' if WB else ''} netlist", "", "Generated by `build_netlist.py`; edit that script, not this file.", "", f"{len(parts)} parts, {len(nets)} nets. DNP = not fitted by default.", "", @@ -853,7 +853,7 @@ def write_pins_header(path): if r == U1 and pin in GPIO_PIN.values(): g = next(n for n, pp in GPIO_PIN.items() if pp == pin) by_net[net] = g - L = ["/*", " * SPDX-License-Identifier: AGPL-3.0-only", " * Copyright (C) 2026 Neo-Desktop", " */", + L = ["/*", " * SPDX-License-Identifier: AGPL-3.0-only", " * Copyright (C) 2026 D-Modem Authors", " */", "// Generated by hardware/netlist/build_netlist.py from the board's nets. Do not edit.", "#pragma once", ""] for net, g in sorted(by_net.items(), key=lambda kv: kv[1]):