Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Dmitry Cherkas
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Dmitry Cherkas

    @Dmitry Cherkas

    3
    Reputation
    2
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Dmitry Cherkas Follow

    Best posts made by Dmitry Cherkas

    • RE: Is MySensors RPI GW 32bit only?

      To anyone, who will come here searching for a way to compile MySensors Gateway on 64bit OS, here is how I managed to do that on Ubuntu Server 20.04:

      ubuntu@ubuntu:~ $ cat /proc/cpuinfo | grep Model && uname -a
      Model           : Raspberry Pi 4 Model B Rev 1.4
      Linux rpi-ubuntu-server 5.4.0-1034-raspi #37-Ubuntu SMP PREEMPT Mon Apr 12 23:14:49 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
      
      1. Make sure to use development branch(git clone https://github.com/mysensors/MySensors.git --branch development), otherwise you may face fatal error: stropts.h: No such file or directory [1], which is not fixed in master branch.
      2. As I understood from [2] and [3], unrecognized command line options (-mfpu=neon-fp-armv8 -mfloat-abi=hard) are not valid for ARMv8 AArch64 targets, so it's safe to remove them. I did that by updating ./configure as follows (in my case soc=BCM2711, so I left others intact):
      function gcc_cpu_flags {
          local soc=$1
          case $soc in
      // ...
          BCM2711)
              flags="-march=armv8-a+crc -mtune=cortex-a72"
              ;;
      // ...
      }
      
      1. With above setup I was able to build Ethernet Gateway:
      /configure --my-gateway=ethernet --my-port=5003 --my-transport=rf24 --my-rf24-irq-pin=15 --soc=BCM2711
      

      [1] https://github.com/mysensors/MySensors/issues/1431
      [2] https://developer.arm.com/documentation/dui0774/b/compiler-command-line-options/-mfloat-abi
      [3] https://lists.linaro.org/pipermail/linaro-toolchain/2016-July/005815.html

      TRSx80 created this issue in mysensors/MySensors

      closed Remove stropts.h? #1431

      posted in Troubleshooting
      Dmitry Cherkas
      Dmitry Cherkas

    Latest posts made by Dmitry Cherkas

    • RE: Is MySensors RPI GW 32bit only?

      To anyone, who will come here searching for a way to compile MySensors Gateway on 64bit OS, here is how I managed to do that on Ubuntu Server 20.04:

      ubuntu@ubuntu:~ $ cat /proc/cpuinfo | grep Model && uname -a
      Model           : Raspberry Pi 4 Model B Rev 1.4
      Linux rpi-ubuntu-server 5.4.0-1034-raspi #37-Ubuntu SMP PREEMPT Mon Apr 12 23:14:49 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
      
      1. Make sure to use development branch(git clone https://github.com/mysensors/MySensors.git --branch development), otherwise you may face fatal error: stropts.h: No such file or directory [1], which is not fixed in master branch.
      2. As I understood from [2] and [3], unrecognized command line options (-mfpu=neon-fp-armv8 -mfloat-abi=hard) are not valid for ARMv8 AArch64 targets, so it's safe to remove them. I did that by updating ./configure as follows (in my case soc=BCM2711, so I left others intact):
      function gcc_cpu_flags {
          local soc=$1
          case $soc in
      // ...
          BCM2711)
              flags="-march=armv8-a+crc -mtune=cortex-a72"
              ;;
      // ...
      }
      
      1. With above setup I was able to build Ethernet Gateway:
      /configure --my-gateway=ethernet --my-port=5003 --my-transport=rf24 --my-rf24-irq-pin=15 --soc=BCM2711
      

      [1] https://github.com/mysensors/MySensors/issues/1431
      [2] https://developer.arm.com/documentation/dui0774/b/compiler-command-line-options/-mfloat-abi
      [3] https://lists.linaro.org/pipermail/linaro-toolchain/2016-July/005815.html

      TRSx80 created this issue in mysensors/MySensors

      closed Remove stropts.h? #1431

      posted in Troubleshooting
      Dmitry Cherkas
      Dmitry Cherkas
    • RE: (homeassistant) mysensors.notify does nothing, (alternatives?)

      I faced same issue and was able to solve it by doing a proper presentation of S_INFO widget, as described in sample sketch: https://www.home-assistant.io/integrations/notify.mysensors/

      The error message is quite misleading.

      posted in Troubleshooting
      Dmitry Cherkas
      Dmitry Cherkas