We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation for nRF52 BSP fails with error.
Compile any example for any nRF52 board using Adafruit nRF52 Arduino BSP.
Compilation error should not happen.
Compilation error
.pio\libdeps\wiscore_rak4631\SparkFun u-blox GNSS Arduino Library\src\SparkFun_u-blox_GNSS_Arduino_Library.cpp: In member function 'sfe_ublox_status_e SFE_UBLOX_GNSS::sendI2cCommand(ubxPacket*, uint16_t)': .pio\libdeps\wiscore_rak4631\SparkFun u-blox GNSS Arduino Library\src\SparkFun_u-blox_GNSS_Arduino_Library.cpp:2950:55: error: no matching function for call to 'write(uint8_t&, int)' _i2cPort->write(outgoingUBX->payload[startSpot], 1); // Thank you @Valrakk #61 ^ In file included from .pio\libdeps\wiscore_rak4631\SparkFun u-blox GNSS Arduino Library\src\SparkFun_u-blox_GNSS_Arduino_Library.h:52:0, from .pio\libdeps\wiscore_rak4631\SparkFun u-blox GNSS Arduino Library\src\SparkFun_u-blox_GNSS_Arduino_Library.cpp:43: C:\users\rakwireless\.platformio\packages\[email protected]\libraries\Wire/Wire.h:52:12: note: candidate: virtual size_t TwoWire::write(const uint8_t*, size_t) <near match> size_t write(const uint8_t * data, size_t quantity); ^~~~~ C:\users\rakwireless\.platformio\packages\[email protected]\libraries\Wire/Wire.h:52:12: note: conversion of argument 1 would be ill-formed: .pio\libdeps\wiscore_rak4631\SparkFun u-blox GNSS Arduino Library\src\SparkFun_u-blox_GNSS_Arduino_Library.cpp:2950:51: error: invalid conversion from 'uint8_t {aka unsigned char}' to 'const uint8_t* {aka const unsigned char*}' [-fpermissive] _i2cPort->write(outgoingUBX->payload[startSpot], 1); // Thank you @Valrakk #61 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In file included from C:\users\rakwireless\.platformio\packages\[email protected]\cores\nRF5/Stream.h:26:0, from C:\users\rakwireless\.platformio\packages\[email protected]\cores\nRF5/HardwareSerial.h:25, from C:\users\rakwireless\.platformio\packages\[email protected]\cores\nRF5/Arduino.h:56, from .pio\libdeps\wiscore_rak4631\SparkFun u-blox GNSS Arduino Library\src\SparkFun_u-blox_GNSS_Arduino_Library.h:47, from .pio\libdeps\wiscore_rak4631\SparkFun u-blox GNSS Arduino Library\src\SparkFun_u-blox_GNSS_Arduino_Library.cpp:43: C:\users\rakwireless\.platformio\packages\[email protected]\cores\nRF5/Print.h:55:12: note: candidate: size_t Print::write(const char*, size_t) <near match> size_t write(const char *buffer, size_t size) { ^~~~~ C:\users\rakwireless\.platformio\packages\[email protected]\cores\nRF5/Print.h:55:12: note: conversion of argument 1 would be ill-formed: .pio\libdeps\wiscore_rak4631\SparkFun u-blox GNSS Arduino Library\src\SparkFun_u-blox_GNSS_Arduino_Library.cpp:2950:51: error: invalid conversion from 'uint8_t {aka unsigned char}' to 'const char*' [-fpermissive] _i2cPort->write(outgoingUBX->payload[startSpot], 1); // Thank you @Valrakk #61 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
Switching back to V2.0.13 solves the problem and compilation works without problems.
The text was updated successfully, but these errors were encountered:
v2.0.15 - corrects #63
5ccdf26
Merge pull request #64 from sparkfun/release_candidate
63194e7
Hi Bernd (@beegee-tokyo ),
Thank you. Corrected in v2.0.15.
Best wishes, Paul
Sorry, something went wrong.
@PaulZC 👍 Thank you!
No branches or pull requests
Subject of the issue
Compilation for nRF52 BSP fails with error.
Your workbench
Steps to reproduce
Compile any example for any nRF52 board using Adafruit nRF52 Arduino BSP.
Expected behavior
Compilation error should not happen.
Actual behavior
Compilation error
Switching back to V2.0.13 solves the problem and compilation works without problems.
The text was updated successfully, but these errors were encountered: