Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-pico
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-pico
Commits
352d3634
Unverified
Commit
352d3634
authored
Jun 17, 2024
by
Mete K. Atay
Committed by
GitHub
Jun 17, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add METE HOCA Akana R1 (#2230)
parent
1775fedf
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
394 additions
and
1 deletion
+394
-1
README.md
README.md
+1
-0
boards.txt
boards.txt
+281
-0
package/package_pico_index.template.json
package/package_pico_index.template.json
+3
-0
tools/json/akana_r1.json
tools/json/akana_r1.json
+56
-0
tools/makeboards.py
tools/makeboards.py
+7
-1
variants/akana_r1/pins_arduino.h
variants/akana_r1/pins_arduino.h
+46
-0
No files found.
README.md
View file @
352d3634
...
...
@@ -51,6 +51,7 @@ Read the [Contributing Guide](https://github.com/earlephilhower/arduino-pico/blo
*
Invector Labs RPICO32
*
Melopero Cookie RP2040
*
Melopero Shake RP2040
*
METE HOCA Akana R1
*
Neko Systems BL2040 Mini
*
Olimex RP2040-Pico30
*
Newsan Archi
...
...
boards.txt
View file @
352d3634
This diff is collapsed.
Click to expand it.
package/package_pico_index.template.json
View file @
352d3634
...
...
@@ -158,6 +158,9 @@
{
"name"
:
"Melopero Shake RP2040"
},
{
"name"
:
"METE HOCA Akana R1"
},
{
"name"
:
"Neko Systems BL2040 Mini"
},
...
...
tools/json/akana_r1.json
0 → 100644
View file @
352d3634
{
"build"
:
{
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_generic_03h_4_padded_checksum.S"
,
"usb_vid"
:
"0x2E8A"
,
"usb_pid"
:
"0x3001"
}
},
"core"
:
"earlephilhower"
,
"cpu"
:
"cortex-m0plus"
,
"extra_flags"
:
"-D ARDUINO_METEHOCA_AKANA_R1 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=500"
,
"f_cpu"
:
"133000000L"
,
"hwids"
:
[
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x3001"
]
],
"mcu"
:
"rp2040"
,
"variant"
:
"akana_r1"
},
"debug"
:
{
"jlink_device"
:
"RP2040_M0_0"
,
"openocd_target"
:
"rp2040.cfg"
,
"svd_path"
:
"rp2040.svd"
},
"frameworks"
:
[
"arduino"
],
"name"
:
"Akana R1"
,
"upload"
:
{
"maximum_ram_size"
:
270336
,
"maximum_size"
:
16777216
,
"require_upload_port"
:
true
,
"native_usb"
:
true
,
"use_1200bps_touch"
:
true
,
"wait_for_upload_port"
:
false
,
"protocol"
:
"picotool"
,
"protocols"
:
[
"blackmagic"
,
"cmsis-dap"
,
"jlink"
,
"raspberrypi-swd"
,
"picotool"
,
"picoprobe"
,
"pico-debug"
]
},
"url"
:
"https://www.metehoca.com/"
,
"vendor"
:
"METE HOCA"
}
tools/makeboards.py
View file @
352d3634
...
...
@@ -250,6 +250,10 @@ def MakeBoard(name, vendor_name, product_name, vid, pid, pwr, boarddefine, flash
elif
name
==
"pimoroni_tiny2040"
:
BuildFlashMenu
(
name
,
2
*
1024
*
1024
,
fssizelist
)
BuildFlashMenu
(
name
,
8
*
1024
*
1024
,
[
0
,
7
*
1024
*
1024
,
4
*
1024
*
1024
,
2
*
1024
*
1024
])
elif
name
==
"akana_r1"
:
BuildFlashMenu
(
name
,
2
*
1024
*
1024
,
[
0
,
1
*
1024
*
1024
])
BuildFlashMenu
(
name
,
8
*
1024
*
1024
,
[
0
,
7
*
1024
*
1024
,
4
*
1024
*
1024
,
2
*
1024
*
1024
])
BuildFlashMenu
(
name
,
16
*
1024
*
1024
,
[
0
,
15
*
1024
*
1024
,
14
*
1024
*
1024
,
12
*
1024
*
1024
,
8
*
1024
*
1024
,
4
*
1024
*
1024
,
2
*
1024
*
1024
])
else
:
BuildFlashMenu
(
name
,
flashsizemb
*
1024
*
1024
,
fssizelist
)
BuildFreq
(
name
)
...
...
@@ -423,7 +427,6 @@ MakeBoard("dfrobot_beetle_rp2040", "DFRobot", "Beetle RP2040", "0x3343", "0x4253
# DudesCab
MakeBoard
(
"DudesCab"
,
"L'atelier d'Arnoz"
,
"DudesCab"
,
"0x2e8a"
,
"0x106F"
,
250
,
"RASPBERRY_PI_PICO"
,
4
,
"boot2_w25q080_2_padded_checksum"
)
# ElectronicCat
MakeBoard
(
"electroniccats_huntercat_nfc"
,
"ElectronicCats"
,
"HunterCat NFC RP2040"
,
"0x2E8A"
,
"0x1037"
,
500
,
"ELECTRONICCATS_HUNTERCAT_NFC"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
...
...
@@ -451,6 +454,9 @@ MakeBoard("ilabs_rpico32", "iLabs", "RPICO32", "0x2e8a", "0x1010", 250, "ILABS_2
MakeBoard
(
"melopero_cookie_rp2040"
,
"Melopero"
,
"Cookie RP2040"
,
"0x2e8a"
,
"0x1011"
,
250
,
"MELOPERO_COOKIE_RP2040"
,
8
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"melopero_shake_rp2040"
,
"Melopero"
,
"Shake RP2040"
,
"0x2e8a"
,
"0x1005"
,
250
,
"MELOPERO_SHAKE_RP2040"
,
16
,
"boot2_w25q080_2_padded_checksum"
)
# Mete Hoca
MakeBoard
(
"akana_r1"
,
"METE HOCA"
,
"Akana R1"
,
"0x2e8a"
,
"0x3001"
,
500
,
"METEHOCA_AKANA_R1"
,
16
,
"boot2_generic_03h_4_padded_checksum"
,
board_url
=
"https://www.metehoca.com/"
)
# Neko Systems
MakeBoard
(
"nekosystems_bl2040_mini"
,
"Neko Systems"
,
"BL2040 Mini"
,
"0x2e8a"
,
"0x000a"
,
500
,
"NEKOSYSTEMS_BL2040_MINI"
,
4
,
"boot2_generic_03h_2_padded_checksum"
)
...
...
variants/akana_r1/pins_arduino.h
0 → 100644
View file @
352d3634
#pragma once
// METE HOCA Akana R1 Pin Definitions
// LEDs
#define PIN_LED (25u)
#define PIN_NEO (24u)
// Buttons
#define BTN_ENTER (14u)
#define BTN_BACK (15u)
#define BTN_UP (22u)
#define BTN_DOWN (23u)
#define BTN_LEFT (20u)
#define BTN_RIGHT (21u)
// Serial
#define PIN_SERIAL1_TX (0u)
#define PIN_SERIAL1_RX (1u)
#define PIN_SERIAL2_TX (8u)
#define PIN_SERIAL2_RX (9u)
// SPI
#define PIN_SPI0_MISO (16u) // RX
#define PIN_SPI0_MOSI (19u) // TX
#define PIN_SPI0_SCK (18u) // SCK
#define PIN_SPI0_SS (17u) // CSn
#define PIN_SPI1_MISO (12u) // RX
#define PIN_SPI1_MOSI (11u) // TX
#define PIN_SPI1_SCK (10u) // SCK
#define PIN_SPI1_SS (13u) // CSn
// Wire
#define PIN_WIRE0_SDA (4u)
#define PIN_WIRE0_SCL (5u)
#define PIN_WIRE1_SDA (6u)
#define PIN_WIRE1_SCL (7u)
#define SERIAL_HOWMANY (3u)
#define SPI_HOWMANY (2u)
#define WIRE_HOWMANY (2u)
#include "../generic/common.h"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment