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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUwD2JJ5d6fgHmpVTw
This commit is contained in:
Claude committed 2026-10-29 11:14:57 +00:00
1 parent 7b3098f13b
commit 838afca480
109 files changed
+119 -119

No files matched your search

+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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
+6 -6
View File
@@ -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 (<https://github.com/Neo-Desktop>)
- a **commercial licence** from the D-Modem Authors, for uses that cannot meet
the AGPL's terms. Ask the D-Modem Authors (<https://github.com/D-Modem>)
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.
+1 -1
View File
@@ -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).
+1 -1
View File
@@ -1,5 +1,5 @@
<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->
<!-- Copyright (C) 2026 Neo-Desktop -->
<!-- Copyright (C) 2026 D-Modem Authors -->
# 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:
+1 -1
View File
@@ -1,5 +1,5 @@
<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->
<!-- Copyright (C) 2026 Neo-Desktop -->
<!-- Copyright (C) 2026 D-Modem Authors -->
# pico-serial W — wireless variant (draft 0.1)
pico-serial with a Bluetooth radio, so a phone can be the modem without a
+1 -1
View File
@@ -1,5 +1,5 @@
<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->
<!-- Copyright (C) 2026 Neo-Desktop -->
<!-- Copyright (C) 2026 D-Modem Authors -->
# 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
+1 -1
View File
@@ -1,5 +1,5 @@
<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->
<!-- Copyright (C) 2026 Neo-Desktop -->
<!-- Copyright (C) 2026 D-Modem Authors -->
# pico-serial — hardware spec (draft 0.3)
A USB-C to DB25 RS-232 adapter built on a bare **RP2040** (the chip on the
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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";
+1 -1
View File
@@ -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.
//
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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).
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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 <string.h>
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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):
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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".
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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),
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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 <string.h>
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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).
+1 -1
View File
@@ -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).
+1 -1
View File
@@ -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).
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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).
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (C) 2026 Neo-Desktop
* Copyright (C) 2026 D-Modem Authors
*/
#pragma once
+1 -1
View File
@@ -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).
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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).
+1 -1
View File
@@ -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).
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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).
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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 <math.h>
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -1,5 +1,5 @@
<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->
<!-- Copyright (C) 2026 Neo-Desktop -->
<!-- Copyright (C) 2026 D-Modem Authors -->
# pico-serial hardware
`netlist/build_netlist.py` defines every part and every connection on the
+1 -1
View File
@@ -1,5 +1,5 @@
<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->
<!-- Copyright (C) 2026 Neo-Desktop -->
<!-- Copyright (C) 2026 D-Modem Authors -->
# pico-serial W hood
A 3D-printed DB25 hood for the wireless board (see `../../SPEC-W.md` §2.2).
+1 -1
View File
@@ -1,5 +1,5 @@
<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->
<!-- Copyright (C) 2026 Neo-Desktop -->
<!-- Copyright (C) 2026 D-Modem Authors -->
# 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.
+1 -1
View File
@@ -1,5 +1,5 @@
<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->
<!-- Copyright (C) 2026 Neo-Desktop -->
<!-- Copyright (C) 2026 D-Modem Authors -->
# 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.
+1 -1
View File
@@ -1,5 +1,5 @@
<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->
<!-- Copyright (C) 2026 Neo-Desktop -->
<!-- Copyright (C) 2026 D-Modem Authors -->
# 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.
+2 -2
View File
@@ -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 = ["<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->", "<!-- Copyright (C) 2026 Neo-Desktop -->",
L = ["<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->", "<!-- Copyright (C) 2026 D-Modem Authors -->",
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.", "",
+2 -2
View File
@@ -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 = ["<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->", "<!-- Copyright (C) 2026 Neo-Desktop -->",
L = ["<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->", "<!-- Copyright (C) 2026 D-Modem Authors -->",
"# 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. "
+1 -1
View File
@@ -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 <kicad-footprints 9.0 checkout> [--route] [--variant w]
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
Loaded 100 of 109 files, more files were not shown because too many files have changed in this diff. Show more