Skip to content

BME280 not working - APRS error during build #100

Open
@lincdeckard

Description

@lincdeckard

Hi all,

I've been trying to get a BME280 working with the done but no luck so far. I've configured the address to 0x76 on both the sensor and code. I don't get any temperature readings. Also, during build (with or without weather APRS message as true) I get the following:

[ 31%] Building CXX object src/CMakeFiles/RS41ng.elf.dir/si5351_handler.cpp.o
[ 32%] Linking CXX executable RS41ng.elf
Building /home/carlos/Git/RS41ng/RS41ng.hex
Building /home/carlos/Git/RS41ng/RS41ng.bin
text data bss dec hex filename
57460 1424 5456 64340 fb54 RS41ng.elf
[ 74%] Built target RS41ng.elf
[ 75%] Building C object tests/CMakeFiles/RS41ng_top.dir/bell_test.c.o
/home/carlos/Git/RS41ng/tests/bell_test.c: In function ‘main2’:
/home/carlos/Git/RS41ng/tests/bell_test.c:16:34: warning: format argument 1 unused before used argument 4 in ‘$’-style format [-Wformat=]
16 | snprintf(test, sizeof(test), "%3$s %4$s %2$s\n", "1fd", gg, "3aa", "4ab");
| ^~~~~~~~~~~~~~~~~~
In file included from /home/carlos/Git/RS41ng/src/gps.h:6,
from /home/carlos/Git/RS41ng/src/codecs/aprs/aprs_position.h:7,
from /home/carlos/Git/RS41ng/tests/bell_test.c:5:
/home/carlos/Git/RS41ng/src/config.h:280:22: warning: too many arguments for format [-Wformat-extra-args]
280 | #define APRS_COMMENT "beacon test"
| ^~~~~~~~~~~~~
/home/carlos/Git/RS41ng/tests/bell_test.c:26:13: note: in expansion of macro ‘APRS_COMMENT’
26 | APRS_COMMENT,
| ^~~~~~~~~~~~
[ 76%] Building C object tests/CMakeFiles/RS41ng_top.dir/morse_test.c.o
[ 76%] Building C object tests/CMakeFiles/RS41ng_top.dir/template_test.c.o

any clue?

Best,
Carlos

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions