Serial Gateway not compiling without radio support
-
Hello guys,
I got the latest updates from github development branch and I am trying to compile a gateway without a radio connected. However, I am getting an error message. Is there any bug or am I doing something wrong?
My code:
#define MY_DEBUG #define MY_GATEWAY_SERIAL #if F_CPU == 8000000L #define MY_BAUD_RATE 38400 #endif #define MY_INCLUSION_MODE_FEATURE #define MY_INCLUSION_MODE_DURATION 60 #define MY_DEFAULT_LED_BLINK_PERIOD 300 #include <MySensors.h> #define CHILD_ID 1 void setup() { // Setup locally attached sensors } void presentation() { sendSketchInfo("Relay", "1.0"); present(CHILD_ID, S_LIGHT); } void loop() { // Send locally attached sensor data here }
Output:
/tmp/ccCgxwsm.ltrans0.ltrans.o: In function `main': ccCgxwsm.ltrans0.o:(.text.startup+0x236): undefined reference to `isTransportReady()' collect2: error: ld returned 1 exit status exit status 1 Error compiling for board Arduino Duemilanove or Diecimila.
Thanks.
-
Something is probably wrong in your setup. Initially I thought it was because you compiled for "Duemilanove or Diecimila.". But it works to compile for that board, when I tested here.
-
@hek @alfredocdmiranda Yes, this is bug - thanks for reporting.
Fixed here: https://github.com/mysensors/MySensors/pull/682
-
Thanks @tekka . Sorry for my delay to answer, I have been busy.
3 out of 4
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Radio waking up for no reason.
Development • 4 Jul 2020, 21:09 • Sasquatch 15 Jan 2025, 08:33 -
LAN8720A - will mysensors work with this module
Development • 13 Nov 2024, 17:06 • Marcin 15 Nov 2024, 10:59 -
Sending offset to node
Development • 31 Jan 2025, 00:59 • bsl88k 4 Feb 2025, 12:14 -
Home Assistant/MySensors quirks
Development • 12 days ago • OldSurferDude 12 days ago -
Adding Listen only device to my system.
Development • 26 Feb 2025, 00:39 • dpcons 26 Feb 2025, 06:26