Last active
June 19, 2024 03:04
-
-
Save x-magic/65a10044cd0ab70a1025e4ec83c5e201 to your computer and use it in GitHub Desktop.
Pico SDK board definition for 无名科技 Nologo RP2040 USB 4MB/16MB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2020 Raspberry Pi (Trading) Ltd. | |
* Copyright (c) 2024 Bill Gong <[email protected]> | |
* | |
* SPDX-License-Identifier: BSD-3-Clause | |
*/ | |
//------------------------------------------------------------------------------------------ | |
// Board definition for the NoLogo RP2040 USB 16MB | |
#ifndef _BOARDS_NOLOGO_RP2040_USB_16MB_H | |
#define _BOARDS_NOLOGO_RP2040_USB_16MB_H | |
// For board detection | |
#define NOLOGO_RP2040_USB_16MB | |
// --- UART --- | |
#ifndef PICO_DEFAULT_UART | |
#define PICO_DEFAULT_UART 0 | |
#endif | |
#ifndef PICO_DEFAULT_UART_TX_PIN | |
#define PICO_DEFAULT_UART_TX_PIN 0 | |
#endif | |
#ifndef PICO_DEFAULT_UART_RX_PIN | |
#define PICO_DEFAULT_UART_RX_PIN 1 | |
#endif | |
// --- WS2812 --- | |
#ifndef PICO_DEFAULT_WS2812_PIN | |
#define PICO_DEFAULT_WS2812_PIN 22 | |
#endif | |
// --- I2C --- | |
#ifndef PICO_DEFAULT_I2C | |
#define PICO_DEFAULT_I2C 1 | |
#endif | |
#ifndef PICO_DEFAULT_I2C_SDA_PIN | |
#define PICO_DEFAULT_I2C_SDA_PIN 16 | |
#endif | |
#ifndef PICO_DEFAULT_I2C_SCL_PIN | |
#define PICO_DEFAULT_I2C_SCL_PIN 17 | |
#endif | |
// --- FLASH --- | |
#define PICO_BOOT_STAGE2_CHOOSE_W25Q080 1 | |
#ifndef PICO_FLASH_SPI_CLKDIV | |
#define PICO_FLASH_SPI_CLKDIV 2 | |
#endif | |
#ifndef PICO_FLASH_SIZE_BYTES | |
#define PICO_FLASH_SIZE_BYTES (16 * 1024 * 1024) | |
#endif | |
// All boards have B1 RP2040 | |
#ifndef PICO_RP2040_B0_SUPPORTED | |
#define PICO_RP2040_B0_SUPPORTED 0 | |
#endif | |
#endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2020 Raspberry Pi (Trading) Ltd. | |
* Copyright (c) 2024 Bill Gong <[email protected]> | |
* | |
* SPDX-License-Identifier: BSD-3-Clause | |
*/ | |
//------------------------------------------------------------------------------------------ | |
// Board definition for the NoLogo RP2040 USB 4MB | |
#ifndef _BOARDS_NOLOGO_RP2040_USB_4MB_H | |
#define _BOARDS_NOLOGO_RP2040_USB_4MB_H | |
// For board detection | |
#define NOLOGO_RP2040_USB_4MB | |
// --- UART --- | |
#ifndef PICO_DEFAULT_UART | |
#define PICO_DEFAULT_UART 0 | |
#endif | |
#ifndef PICO_DEFAULT_UART_TX_PIN | |
#define PICO_DEFAULT_UART_TX_PIN 0 | |
#endif | |
#ifndef PICO_DEFAULT_UART_RX_PIN | |
#define PICO_DEFAULT_UART_RX_PIN 1 | |
#endif | |
// --- WS2812 --- | |
#ifndef PICO_DEFAULT_WS2812_PIN | |
#define PICO_DEFAULT_WS2812_PIN 22 | |
#endif | |
// --- I2C --- | |
#ifndef PICO_DEFAULT_I2C | |
#define PICO_DEFAULT_I2C 1 | |
#endif | |
#ifndef PICO_DEFAULT_I2C_SDA_PIN | |
#define PICO_DEFAULT_I2C_SDA_PIN 16 | |
#endif | |
#ifndef PICO_DEFAULT_I2C_SCL_PIN | |
#define PICO_DEFAULT_I2C_SCL_PIN 17 | |
#endif | |
// --- FLASH --- | |
#define PICO_BOOT_STAGE2_CHOOSE_W25Q080 1 | |
#ifndef PICO_FLASH_SPI_CLKDIV | |
#define PICO_FLASH_SPI_CLKDIV 2 | |
#endif | |
#ifndef PICO_FLASH_SIZE_BYTES | |
#define PICO_FLASH_SIZE_BYTES (4 * 1024 * 1024) | |
#endif | |
// All boards have B1 RP2040 | |
#ifndef PICO_RP2040_B0_SUPPORTED | |
#define PICO_RP2040_B0_SUPPORTED 0 | |
#endif | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pico SDK board definition for 无名科技 Nologo RP2040 USB 4MB/16MB
It seems this board is readily available on:
MINI USB RP2040 Development Board Modules for Raspberry Pi Dual Core
树莓派迷你开发板USB RP2040开发板 raspberry pi PICO双核RP2040
Mainly features the following components:
Just like their company name, they don't have a logo so makes it practically impossible to find documentation. And this particular board has no official documentation anyway, not even pinouts. (then why still put OSHW logo on the back!?)
I got this mainly because it's cheap on AliExpress and wanting it to run Pico Keys. Turns out this board works just fine with Pico Keys as long as the board definition is correct, doesn't even need
-DENABLE_DELAYED_BOOT=1
to make the RGB LED workSo here you go...