Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Development
  3. Serial Gateway not compiling without radio support

Serial Gateway not compiling without radio support

Scheduled Pinned Locked Moved Development
4 Posts 3 Posters 1.2k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    alfredocdmiranda
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      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.

      tekkaT 1 Reply Last reply
      0
      • hekH hek

        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.

        tekkaT Offline
        tekkaT Offline
        tekka
        Admin
        wrote on last edited by
        #3

        @hek @alfredocdmiranda Yes, this is bug - thanks for reporting.
        Fixed here: https://github.com/mysensors/MySensors/pull/682

        1 Reply Last reply
        2
        • A Offline
          A Offline
          alfredocdmiranda
          wrote on last edited by
          #4

          Thanks @tekka . Sorry for my delay to answer, I have been busy.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          15

          Online

          11.7k

          Users

          11.2k

          Topics

          113.1k

          Posts


          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular