Verbose doesn't work on bare metal

Having a project with following .ini

[env:ATmega328P]
platform = atmelavr
board_build.mcu = ATmega328P
board_build.f_cpu = 16000000L

upload_protocol = arduino
upload_speed = 115200

pio run -v

does nothing

stefans-mbp:eOS sstaub$ pio run -v
Processing ATmega328P (platform: atmelavr; board_build.mcu: ATmega328P; board_build.f_cpu: 16000000L; upload_protocol: arduino; upload_speed: 115200)
-------------------------------------------------------------------------------------------------------------------------------------------
HARDWARE: ATMEGA328P 16MHz,
PACKAGES: toolchain-atmelavr 1.50400.190710 (5.4.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 2 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <eOS> (/Users/sstaub/Dateien/Development/AVR/eOS/lib/eOS)
Building in release mode
MethodWrapper(["checkprogsize"], [".pio/build/ATmega328P/firmware.elf"])
======================================================= [SUCCESS] Took 0.70 seconds =======================================================
stefans-mbp:eOS sstaub$

No board specified? You’ve specified

board_build.mcu

as an override, but no board?

No board is defined. I am using an UNO and the code works.

Do you have a source file in src/? Or do you have in the lib and expect it to be compiled from there?

There is a main.cpp file in src/

Have you tried adding board = uno anways? Should still be bare-metal because no `framework = …´ line is given.

1 Like

with board = uno it works, however.

1 Like