Skip to content

Commit 076cc59

Browse files
author
anacforcelli
committed
Add Poodleino-toy board
1 parent bb98f5d commit 076cc59

File tree

12 files changed

+70
-15
lines changed

12 files changed

+70
-15
lines changed

boards.txt

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ puppy.name=puppy-testboard
526526
puppy.build.core=arduino
527527
puppy.build.board=puppy-testboard
528528
puppy.build.zephyr_target=puppy-testboard
529-
puppy.build.variant=puppy-testboard
529+
puppy.build.variant=puppy-testboard_puppy_v1
530530

531531
puppy.build.crossprefix=riscv64-zephyr-elf-
532532
puppy.build.compiler_path=/home/ana/zephyr-sdk-0.16.8/riscv64-zephyr-elf/bin/
@@ -548,3 +548,32 @@ puppy.bootloader.pid=0x0364
548548
puppy.bootloader.interface=0
549549
puppy.bootloader.file=zephyr-{build.variant}.bin
550550
puppy.bootloader.address=0x11000
551+
552+
##############################################################################################################
553+
554+
puppy.name=poodleino-toy-v1
555+
puppy.build.core=arduino
556+
puppy.build.board=poodleino-toy-v1
557+
puppy.build.zephyr_target=poodleino-toy-v1
558+
puppy.build.variant=poodleino-toy-v1_puppy_v2
559+
560+
puppy.build.crossprefix=riscv64-zephyr-elf-
561+
puppy.build.compiler_path=/home/ana/zephyr-sdk-0.16.8/riscv64-zephyr-elf/bin/
562+
puppy.compiler.zephyr=
563+
puppy.compiler.zephyr.arch.define=-DRV_ISA_RV32
564+
puppy.runtime.tools.zephyr-sketch-tool.path=/home/ana/arduino-puppy/ArduinoCore-zephyr/extra/zephyr-sketch-tool
565+
566+
puppy.build.postbuild.cmd="{tools.imgtool.path}/{tools.imgtool.cmd}" exit
567+
puppy.build.architecture=rv32imfc_zicsr
568+
puppy.build.mcu=rv32imfc_zicsr
569+
570+
puppy.upload.address=0xe1000
571+
puppy.upload.maximum_size=32768
572+
573+
puppy.bootloader.tool=dfu-util
574+
puppy.bootloader.tool.default=dfu-util
575+
puppy.bootloader.vid=0x2341
576+
puppy.bootloader.pid=0x0364
577+
puppy.bootloader.interface=0
578+
puppy.bootloader.file=zephyr-{build.variant}.bin
579+
puppy.bootloader.address=0x11000

loader/prj.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
CONFIG_USERSPACE=y
66
CONFIG_ARM_MPU=n
77

8-
CONFIG_LOG_DEFAULT_LEVEL=4
8+
CONFIG_LOG_DEFAULT_LEVEL=1
99
CONFIG_LOG=y
1010

1111
CONFIG_HEAP_MEM_POOL_SIZE=32768
@@ -16,7 +16,7 @@ CONFIG_ARDUINO_API=y
1616
CONFIG_SHELL=y
1717
CONFIG_SHELL_STACK_SIZE=2048
1818
CONFIG_SHELL_CMD_BUFF_SIZE=2048
19-
CONFIG_SHELL_LOG_LEVEL_DBG=n
19+
CONFIG_SHELL_LOG_LEVEL_DBG=y
2020

2121
CONFIG_LLEXT=y
2222
CONFIG_LLEXT_LOG_LEVEL_DBG=y

variants/poodleino-toy-v1_puppy_v2/poodleino-toy-v1_puppy_v2.conf

Whitespace-only changes.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/ {
2+
zephyr,user {
3+
builtin-led-gpios = <&gpio0 23 0>; //led3
4+
digital-pin-gpios = <&arduino_header 6 0>,
5+
<&arduino_header 7 0>,
6+
<&arduino_header 8 0>,
7+
<&arduino_header 9 0>,
8+
<&arduino_header 10 0>,
9+
<&arduino_header 11 0>,
10+
<&arduino_header 12 0>,
11+
<&arduino_header 13 0>,
12+
<&arduino_header 14 0>,
13+
<&arduino_header 15 0>,
14+
<&arduino_header 16 0>,
15+
<&arduino_header 17 0>,
16+
<&arduino_header 18 0>,
17+
<&arduino_header 19 0>,
18+
<&arduino_header 20 0>,
19+
<&arduino_header 21 0>;
20+
21+
serials = <&uart0>;
22+
i2cs = <&i2c0>;
23+
};
24+
};
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/*
2+
* Copyright (c) 2025 Ana Clara Forcelli
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/

variants/puppy-testboard/puppy-testboard.conf

Lines changed: 0 additions & 8 deletions
This file was deleted.

variants/puppy-testboard/puppy-testboard_puppy.conf

Lines changed: 0 additions & 1 deletion
This file was deleted.

variants/puppy-testboard/puppy-testboard_puppy.overlay

Lines changed: 0 additions & 1 deletion
This file was deleted.

variants/puppy-testboard_puppy

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CONFIG_LOG_DEFAULT_LEVEL=4
2+
#CONFIG_SHELL=n
3+
4+
#CONFIG_BOOTLOADER_MCUBOOT=y
5+
#CONFIG_MCUBOOT_SIGNATURE_KEY_FILE="/home/ana/arduino-puppy/bootloader/mcuboot/root-ec-p256.pem"
6+
#CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION="0.0.1"
7+
#CONFIG_MCUBOOT_EXTRA_IMGTOOL_ARGS="-L0x1c010000"
8+
#CONFIG_MCUBOOT_BOOTLOADER_MODE_RAM_LOAD=y

0 commit comments

Comments
 (0)