paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [paparazzi/paparazzi] 238818: [stm32] spektrum: sele


From: GitHub
Subject: [paparazzi-commits] [paparazzi/paparazzi] 238818: [stm32] spektrum: selectable bind pin
Date: Mon, 29 Apr 2013 12:46:49 -0700

  Branch: refs/heads/stm32f4
  Home:   https://github.com/paparazzi/paparazzi
  Commit: 23881847e3cc0b1670286c50818256f3e08869db
      
https://github.com/paparazzi/paparazzi/commit/23881847e3cc0b1670286c50818256f3e08869db
  Author: Felix Ruess <address@hidden>
  Date:   2013-04-29 (Mon, 29 Apr 2013)

  Changed paths:
    M sw/airborne/arch/stm32/subsystems/radio_control/spektrum_arch.c
    M sw/airborne/arch/stm32/subsystems/radio_control/spektrum_arch.h
    M sw/airborne/boards/apogee_0.99.h
    M sw/airborne/boards/lisa_m_common.h

  Log Message:
  -----------
  [stm32] spektrum: selectable bind pin


  Commit: 7ddd1d60b5c98c8b76a5e4967a0e16a4686f07e1
      
https://github.com/paparazzi/paparazzi/commit/7ddd1d60b5c98c8b76a5e4967a0e16a4686f07e1
  Author: Felix Ruess <address@hidden>
  Date:   2013-04-29 (Mon, 29 Apr 2013)

  Changed paths:
    M conf/firmwares/subsystems/shared/radio_control_spektrum.makefile
    M sw/airborne/arch/stm32/subsystems/radio_control/spektrum_arch.c
    M sw/airborne/boards/lisa_l_1.0.h
    M sw/airborne/boards/lisa_m_common.h

  Log Message:
  -----------
  [stm32] hack to make UART4/5 work with spektrum macros

Since UART4/5 is already defined in libopencm3 the macros don't work for those.
(Compared to e.g. UART1 which is actually USART1 in libopencm3).

So just define RADIO_CONTROL_SPEKTRUM_[PRIMARY|SECONDARY]_PORT to 
SPEKTRUM_UARTx instead of UARTx.
This makes it at least possible to configure the secondary spektrum port (UART5 
on Lisa) properly.


Compare: 
https://github.com/paparazzi/paparazzi/compare/4a8c56c7762c...7ddd1d60b5c9

reply via email to

[Prev in Thread] Current Thread [Next in Thread]