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.
1 out of 4
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07 -
Saving last known good state, but not in EEPROM
Development • 30 Jan 2024, 18:46 • OldSurferDude 15 Jan 2025, 08:51 -
PJON and Minicore not working
Development • 21 Mar 2025, 19:51 • Trand 21 Mar 2025, 19:51 -
Adding Listen only device to my system.
Development • 26 Feb 2025, 00:39 • dpcons 26 Feb 2025, 06:26 -
MQTT-Help me understand about the MQTT Gateway.
Development • 2 Mar 2025, 01:44 • dpcons 12 Mar 2025, 23:39