daily pastebin goal
84%
SHARE
TWEET

Untitled

a guest Jan 11th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ arm-none-eabi-gcc -v && \
  2. > git clone https://github.com/RavenLRS/raven && \
  3. > cd raven && \
  4. > git submodule update --init --recursive && \
  5. > TARGET=stm32f1_blackpill_rx make && \
  6. > curl https://github.com/jaxxzer/raven/commit/e92aa5b8741c96064abdf3f8e1c467bf06b603df.patch | git apply && \
  7. > git diff && \
  8. > TARGET=stm32f1_blackpill_rx make
  9. Using built-in specs.
  10. COLLECT_GCC=arm-none-eabi-gcc
  11. COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-none-eabi/8.2.0/lto-wrapper
  12. Target: arm-none-eabi
  13. Configured with: /build/arm-none-eabi-gcc/src/gcc-8.2.0/configure --target=arm-none-eabi --prefix=/usr --with-sysroot=/usr/arm-none-eabi --with-native-system-header-dir=/include --libexecdir=/usr/lib --enable-languages=c,c++ --enable-plugins --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-system-zlib --with-newlib --with-headers=/usr/arm-none-eabi/include --with-python-dir=share/gcc-arm-none-eabi --with-gmp --with-mpfr --with-mpc --with-isl --with-libelf --enable-gnu-indirect-function --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='Arch Repository' --with-bugurl=https://bugs.archlinux.org/ --with-multilib-list=rmprofile
  14. Thread model: single
  15. gcc version 8.2.0 (Arch Repository)
  16. Cloning into 'raven'...
  17. remote: Enumerating objects: 12, done.
  18. remote: Counting objects: 100% (12/12), done.
  19. remote: Compressing objects: 100% (10/10), done.
  20. remote: Total 2415 (delta 4), reused 7 (delta 2), pack-reused 2403
  21. Receiving objects: 100% (2415/2415), 12.68 MiB | 7.70 MiB/s, done.
  22. Resolving deltas: 100% (1461/1461), done.
  23. Submodule 'components/idf_wmonitor_lib' (https://github.com/fiam/idf_wmonitor_lib.git) registered for path 'components/idf_wmonitor_lib'
  24. Submodule 'components/u8g2/u8g2' (https://github.com/olikraus/u8g2.git) registered for path 'components/u8g2/u8g2'
  25. Submodule 'lib/esp-idf' (https://github.com/espressif/esp-idf.git) registered for path 'lib/esp-idf'
  26. Submodule 'lib/libopencm3' (https://github.com/libopencm3/libopencm3) registered for path 'lib/libopencm3'
  27. Cloning into '/home/jacob/tmp/raven/components/idf_wmonitor_lib'...
  28. Cloning into '/home/jacob/tmp/raven/components/u8g2/u8g2'...
  29. Cloning into '/home/jacob/tmp/raven/lib/libopencm3'...
  30. Cloning into '/home/jacob/tmp/raven/lib/esp-idf'...
  31. Submodule path 'components/idf_wmonitor_lib': checked out 'a8c62779cda88199e57c8575a4f70e6c9ecd2c4b'
  32. Submodule path 'components/u8g2/u8g2': checked out 'd7a20ce5f89c1729721b917025599c57ca105c55'
  33. Submodule path 'lib/esp-idf': checked out 'bb56d86fde5052bbc06d3c574ea4b83e9405bfe9'
  34. Submodule 'components/aws_iot/aws-iot-device-sdk-embedded-C' (https://github.com/espressif/aws-iot-device-sdk-embedded-C.git) registered for path 'lib/esp-idf/components/aws_iot/aws-iot-device-sdk-embedded-C'
  35. Submodule 'components/bt/lib' (https://github.com/espressif/esp32-bt-lib.git) registered for path 'lib/esp-idf/components/bt/lib'
  36. Submodule 'components/coap/libcoap' (https://github.com/obgm/libcoap.git) registered for path 'lib/esp-idf/components/coap/libcoap'
  37. Submodule 'components/esp32/lib' (https://github.com/espressif/esp32-wifi-lib.git) registered for path 'lib/esp-idf/components/esp32/lib'
  38. Submodule 'components/esptool_py/esptool' (https://github.com/espressif/esptool.git) registered for path 'lib/esp-idf/components/esptool_py/esptool'
  39. Submodule 'components/json/cJSON' (https://github.com/DaveGamble/cJSON.git) registered for path 'lib/esp-idf/components/json/cJSON'
  40. Submodule 'components/libsodium/libsodium' (https://github.com/jedisct1/libsodium.git) registered for path 'lib/esp-idf/components/libsodium/libsodium'
  41. Submodule 'components/micro-ecc/micro-ecc' (https://github.com/kmackay/micro-ecc.git) registered for path 'lib/esp-idf/components/micro-ecc/micro-ecc'
  42. Submodule 'components/nghttp/nghttp2' (https://github.com/nghttp2/nghttp2.git) registered for path 'lib/esp-idf/components/nghttp/nghttp2'
  43. Submodule 'components/spiffs/spiffs' (https://github.com/pellepl/spiffs.git) registered for path 'lib/esp-idf/components/spiffs/spiffs'
  44. Cloning into '/home/jacob/tmp/raven/lib/esp-idf/components/aws_iot/aws-iot-device-sdk-embedded-C'...
  45. Cloning into '/home/jacob/tmp/raven/lib/esp-idf/components/micro-ecc/micro-ecc'...
  46. Cloning into '/home/jacob/tmp/raven/lib/esp-idf/components/bt/lib'...
  47. Cloning into '/home/jacob/tmp/raven/lib/esp-idf/components/spiffs/spiffs'...
  48. Cloning into '/home/jacob/tmp/raven/lib/esp-idf/components/json/cJSON'...
  49. Cloning into '/home/jacob/tmp/raven/lib/esp-idf/components/coap/libcoap'...
  50. Cloning into '/home/jacob/tmp/raven/lib/esp-idf/components/esp32/lib'...
  51. Cloning into '/home/jacob/tmp/raven/lib/esp-idf/components/esptool_py/esptool'...
  52. Cloning into '/home/jacob/tmp/raven/lib/esp-idf/components/libsodium/libsodium'...
  53. Cloning into '/home/jacob/tmp/raven/lib/esp-idf/components/nghttp/nghttp2'...
  54. Submodule path 'lib/esp-idf/components/aws_iot/aws-iot-device-sdk-embedded-C': checked out '7132505b00d2dd57f48478e75efa636021919aae'
  55. Submodule path 'lib/esp-idf/components/bt/lib': checked out '979dd2c7420e9323b3bf9dacdaa1393906114961'
  56. Submodule path 'lib/esp-idf/components/coap/libcoap': checked out '6468887a12666f88b8704d797fc176cd4f40ee4c'
  57. Submodule path 'lib/esp-idf/components/esp32/lib': checked out 'a0181fa8175d742e4c6ca833391a01652feb1702'
  58. Submodule path 'lib/esp-idf/components/esptool_py/esptool': checked out '59b8dd8bfe3927dc11ffc06603fa082cb0f523bb'
  59. Submodule path 'lib/esp-idf/components/json/cJSON': checked out '7cc52f60356909b3dd260304c7c50c0693699353'
  60. Submodule path 'lib/esp-idf/components/libsodium/libsodium': checked out '70170c28c844a4786e75efc626e1aeebc93caebc'
  61. Submodule path 'lib/esp-idf/components/micro-ecc/micro-ecc': checked out '14222e062d77f45321676e813d9525f32a88e8fa'
  62. Submodule path 'lib/esp-idf/components/nghttp/nghttp2': checked out '3bcc416e13cc790e2fb45fcfe9111d38609c5032'
  63. Submodule 'third-party/mruby' (https://github.com/mruby/mruby) registered for path 'lib/esp-idf/components/nghttp/nghttp2/third-party/mruby'
  64. Submodule 'third-party/neverbleed' (https://github.com/h2o/neverbleed.git) registered for path 'lib/esp-idf/components/nghttp/nghttp2/third-party/neverbleed'
  65. Cloning into '/home/jacob/tmp/raven/lib/esp-idf/components/nghttp/nghttp2/third-party/mruby'...
  66. Cloning into '/home/jacob/tmp/raven/lib/esp-idf/components/nghttp/nghttp2/third-party/neverbleed'...
  67. Submodule path 'lib/esp-idf/components/nghttp/nghttp2/third-party/mruby': checked out '22464fe5a0a10f2b077eaba109ce1e912e4a77de'
  68. Submodule path 'lib/esp-idf/components/nghttp/nghttp2/third-party/neverbleed': checked out 'da5c2ab419a3bb8a4cc6c37a6c7f3e4bd4b41134'
  69. Submodule path 'lib/esp-idf/components/spiffs/spiffs': checked out 'f5e26c4e933189593a71c6b82cda381a7b21e41c'
  70. Submodule path 'lib/libopencm3': checked out '239b4a47040079743cd03df370135d9364e15ab7'
  71. make[1]: Entering directory '/home/jacob/tmp/raven'
  72.   CC      lib/FreeRTOSv10.1.1/FreeRTOS/Source/queue.c
  73.   CC      lib/FreeRTOSv10.1.1/FreeRTOS/Source/croutine.c
  74.   CC      lib/FreeRTOSv10.1.1/FreeRTOS/Source/list.c
  75.   CC      lib/FreeRTOSv10.1.1/FreeRTOS/Source/stream_buffer.c
  76.   CC      lib/FreeRTOSv10.1.1/FreeRTOS/Source/event_groups.c
  77.   CC      lib/FreeRTOSv10.1.1/FreeRTOS/Source/tasks.c
  78.   CC      lib/FreeRTOSv10.1.1/FreeRTOS/Source/timers.c
  79.   CC      lib/FreeRTOSv10.1.1/FreeRTOS/Source/portable/GCC/ARM_CM3/port.c
  80.   CC      components/hal-stm32/init.c
  81.   CC      components/hal-stm32/log.c
  82. components/hal-stm32/log.c: In function 'log_printf':
  83. components/hal-stm32/log.c:3:29: warning: unused parameter 'level' [-Wunused-parameter]
  84.  void log_printf(log_level_e level, const char *tag, const char *format, ...)
  85.                  ~~~~~~~~~~~~^~~~~
  86. components/hal-stm32/log.c:3:48: warning: unused parameter 'tag' [-Wunused-parameter]
  87.  void log_printf(log_level_e level, const char *tag, const char *format, ...)
  88.                                     ~~~~~~~~~~~~^~~
  89. components/hal-stm32/log.c:3:65: warning: unused parameter 'format' [-Wunused-parameter]
  90.  void log_printf(log_level_e level, const char *tag, const char *format, ...)
  91.                                                      ~~~~~~~~~~~~^~~~~~
  92. components/hal-stm32/log.c: In function 'log_print_buffer_hex':
  93. components/hal-stm32/log.c:7:39: warning: unused parameter 'level' [-Wunused-parameter]
  94.  void log_print_buffer_hex(log_level_e level, const char *tag, const void *buffer, size_t size)
  95.                            ~~~~~~~~~~~~^~~~~
  96. components/hal-stm32/log.c:7:58: warning: unused parameter 'tag' [-Wunused-parameter]
  97.  void log_print_buffer_hex(log_level_e level, const char *tag, const void *buffer, size_t size)
  98.                                               ~~~~~~~~~~~~^~~
  99. components/hal-stm32/log.c:7:75: warning: unused parameter 'buffer' [-Wunused-parameter]
  100.  void log_print_buffer_hex(log_level_e level, const char *tag, const void *buffer, size_t size)
  101.                                                                ~~~~~~~~~~~~^~~~~~
  102. components/hal-stm32/log.c:7:90: warning: unused parameter 'size' [-Wunused-parameter]
  103.  void log_print_buffer_hex(log_level_e level, const char *tag, const void *buffer, size_t size)
  104.                                                                                    ~~~~~~~^~~~
  105.   CC      components/hal-stm32/spi.c
  106. components/hal-stm32/spi.c: In function 'hal_spi_bus_init':
  107. components/hal-stm32/spi.c:5:42: warning: unused parameter 'bus' [-Wunused-parameter]
  108.  hal_err_t hal_spi_bus_init(hal_spi_bus_t bus, hal_gpio_t miso, hal_gpio_t mosi, hal_gpio_t sck)
  109.                             ~~~~~~~~~~~~~~^~~
  110. components/hal-stm32/spi.c:5:58: warning: unused parameter 'miso' [-Wunused-parameter]
  111.  hal_err_t hal_spi_bus_init(hal_spi_bus_t bus, hal_gpio_t miso, hal_gpio_t mosi, hal_gpio_t sck)
  112.                                                ~~~~~~~~~~~^~~~
  113. components/hal-stm32/spi.c:5:75: warning: unused parameter 'mosi' [-Wunused-parameter]
  114.  hal_err_t hal_spi_bus_init(hal_spi_bus_t bus, hal_gpio_t miso, hal_gpio_t mosi, hal_gpio_t sck)
  115.                                                                 ~~~~~~~~~~~^~~~
  116. components/hal-stm32/spi.c:5:92: warning: unused parameter 'sck' [-Wunused-parameter]
  117.  hal_err_t hal_spi_bus_init(hal_spi_bus_t bus, hal_gpio_t miso, hal_gpio_t mosi, hal_gpio_t sck)
  118.                                                                                  ~~~~~~~~~~~^~~
  119. components/hal-stm32/spi.c: In function 'hal_spi_bus_add_device':
  120. components/hal-stm32/spi.c:10:48: warning: unused parameter 'bus' [-Wunused-parameter]
  121.  hal_err_t hal_spi_bus_add_device(hal_spi_bus_t bus, const hal_spi_device_config_t *cfg, hal_spi_device_handle_t *dev)
  122.                                   ~~~~~~~~~~~~~~^~~
  123. components/hal-stm32/spi.c:10:84: warning: unused parameter 'cfg' [-Wunused-parameter]
  124.  hal_err_t hal_spi_bus_add_device(hal_spi_bus_t bus, const hal_spi_device_config_t *cfg, hal_spi_device_handle_t *dev)
  125.                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  126. components/hal-stm32/spi.c:10:114: warning: unused parameter 'dev' [-Wunused-parameter]
  127.  hal_err_t hal_spi_bus_add_device(hal_spi_bus_t bus, const hal_spi_device_config_t *cfg, hal_spi_device_handle_t *dev)
  128.                                                                                          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  129. components/hal-stm32/spi.c: In function 'hal_spi_device_transmit':
  130. components/hal-stm32/spi.c:15:66: warning: unused parameter 'dev' [-Wunused-parameter]
  131.  hal_err_t hal_spi_device_transmit(const hal_spi_device_handle_t *dev, uint16_t cmd, uint32_t addr,
  132.                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  133. components/hal-stm32/spi.c:15:80: warning: unused parameter 'cmd' [-Wunused-parameter]
  134.  hal_err_t hal_spi_device_transmit(const hal_spi_device_handle_t *dev, uint16_t cmd, uint32_t addr,
  135.                                                                        ~~~~~~~~~^~~
  136. components/hal-stm32/spi.c:15:94: warning: unused parameter 'addr' [-Wunused-parameter]
  137.  hal_err_t hal_spi_device_transmit(const hal_spi_device_handle_t *dev, uint16_t cmd, uint32_t addr,
  138.                                                                                      ~~~~~~~~~^~~~
  139. components/hal-stm32/spi.c:16:47: warning: unused parameter 'tx' [-Wunused-parameter]
  140.                                    const void *tx, size_t tx_size,
  141.                                    ~~~~~~~~~~~~^~
  142. components/hal-stm32/spi.c:16:58: warning: unused parameter 'tx_size' [-Wunused-parameter]
  143.                                    const void *tx, size_t tx_size,
  144.                                                    ~~~~~~~^~~~~~~
  145. components/hal-stm32/spi.c:17:41: warning: unused parameter 'rx' [-Wunused-parameter]
  146.                                    void *rx, size_t rx_size)
  147.                                    ~~~~~~^~
  148. components/hal-stm32/spi.c:17:52: warning: unused parameter 'rx_size' [-Wunused-parameter]
  149.                                    void *rx, size_t rx_size)
  150.                                              ~~~~~~~^~~~~~~
  151. components/hal-stm32/spi.c: In function 'hal_spi_device_transmit_u8':
  152. components/hal-stm32/spi.c:22:69: warning: unused parameter 'dev' [-Wunused-parameter]
  153.  hal_err_t hal_spi_device_transmit_u8(const hal_spi_device_handle_t *dev, uint16_t cmd, uint32_t addr, uint8_t c, uint8_t *out)
  154.                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
  155. components/hal-stm32/spi.c:22:83: warning: unused parameter 'cmd' [-Wunused-parameter]
  156.  hal_err_t hal_spi_device_transmit_u8(const hal_spi_device_handle_t *dev, uint16_t cmd, uint32_t addr, uint8_t c, uint8_t *out)
  157.                                                                           ~~~~~~~~~^~~
  158. components/hal-stm32/spi.c:22:97: warning: unused parameter 'addr' [-Wunused-parameter]
  159.  hal_err_t hal_spi_device_transmit_u8(const hal_spi_device_handle_t *dev, uint16_t cmd, uint32_t addr, uint8_t c, uint8_t *out)
  160.                                                                                         ~~~~~~~~~^~~~
  161. components/hal-stm32/spi.c:22:111: warning: unused parameter 'c' [-Wunused-parameter]
  162.  hal_err_t hal_spi_device_transmit_u8(const hal_spi_device_handle_t *dev, uint16_t cmd, uint32_t addr, uint8_t c, uint8_t *out)
  163.                                                                                                        ~~~~~~~~^
  164. components/hal-stm32/spi.c:22:123: warning: unused parameter 'out' [-Wunused-parameter]
  165.  hal_err_t hal_spi_device_transmit_u8(const hal_spi_device_handle_t *dev, uint16_t cmd, uint32_t addr, uint8_t c, uint8_t *out)
  166.                                                                                                                   ~~~~~~~~~^~~
  167.   CC      components/hal-stm32/wd.c
  168. components/hal-stm32/wd.c: In function 'hal_wd_add_task':
  169. components/hal-stm32/wd.c:3:28: warning: unused parameter 'task_handle' [-Wunused-parameter]
  170.  void hal_wd_add_task(void *task_handle)
  171.                       ~~~~~~^~~~~~~~~~~
  172.   CC      components/hal-stm32/gpio.c
  173. In file included from components/hal-stm32/gpio.c:2:
  174. components/hal-stm32/gpio.c: In function 'hal_gpio_setup':
  175. /home/jacob/tmp/raven/components/hal-stm32/include/hal/log.h:24:9: warning: implicit declaration of function 'abort' [-Wimplicit-function-declaration]
  176.          abort();                                                 \
  177.          ^~~~~
  178. components/hal-stm32/gpio.c:87:9: note: in expansion of macro 'LOG_F'
  179.          LOG_F(TAG, "HAL_GPIO_DIR_BIDIR not supported");
  180.          ^~~~~
  181. /home/jacob/tmp/raven/components/hal-stm32/include/hal/log.h:24:9: warning: incompatible implicit declaration of built-in function 'abort'
  182.          abort();                                                 \
  183.          ^~~~~
  184. components/hal-stm32/gpio.c:87:9: note: in expansion of macro 'LOG_F'
  185.          LOG_F(TAG, "HAL_GPIO_DIR_BIDIR not supported");
  186.          ^~~~~
  187. /home/jacob/tmp/raven/components/hal-stm32/include/hal/log.h:24:9: note: include '<stdlib.h>' or provide a declaration of 'abort'
  188.          abort();                                                 \
  189.          ^~~~~
  190. components/hal-stm32/gpio.c:87:9: note: in expansion of macro 'LOG_F'
  191.          LOG_F(TAG, "HAL_GPIO_DIR_BIDIR not supported");
  192.          ^~~~~
  193. /home/jacob/tmp/raven/components/hal-stm32/include/hal/log.h:24:9: warning: incompatible implicit declaration of built-in function 'abort'
  194.          abort();                                                 \
  195.          ^~~~~
  196. components/hal-stm32/gpio.c:106:13: note: in expansion of macro 'LOG_F'
  197.              LOG_F(TAG, "HAL_GPIO_PULL_BOTH not supported")
  198.              ^~~~~
  199. /home/jacob/tmp/raven/components/hal-stm32/include/hal/log.h:24:9: note: include '<stdlib.h>' or provide a declaration of 'abort'
  200.          abort();                                                 \
  201.          ^~~~~
  202. components/hal-stm32/gpio.c:106:13: note: in expansion of macro 'LOG_F'
  203.              LOG_F(TAG, "HAL_GPIO_PULL_BOTH not supported")
  204.              ^~~~~
  205. components/hal-stm32/gpio.c: In function 'hal_gpio_set_isr':
  206. components/hal-stm32/gpio.c:133:39: warning: unused parameter 'gpio' [-Wunused-parameter]
  207.  hal_err_t hal_gpio_set_isr(hal_gpio_t gpio, hal_gpio_intr_t intr, hal_gpio_isr_t isr, const void *data)
  208.                             ~~~~~~~~~~~^~~~
  209. components/hal-stm32/gpio.c:133:61: warning: unused parameter 'intr' [-Wunused-parameter]
  210.  hal_err_t hal_gpio_set_isr(hal_gpio_t gpio, hal_gpio_intr_t intr, hal_gpio_isr_t isr, const void *data)
  211.                                              ~~~~~~~~~~~~~~~~^~~~
  212. components/hal-stm32/gpio.c:133:82: warning: unused parameter 'isr' [-Wunused-parameter]
  213.  hal_err_t hal_gpio_set_isr(hal_gpio_t gpio, hal_gpio_intr_t intr, hal_gpio_isr_t isr, const void *data)
  214.                                                                    ~~~~~~~~~~~~~~~^~~
  215. components/hal-stm32/gpio.c:133:99: warning: unused parameter 'data' [-Wunused-parameter]
  216.  hal_err_t hal_gpio_set_isr(hal_gpio_t gpio, hal_gpio_intr_t intr, hal_gpio_isr_t isr, const void *data)
  217.                                                                                        ~~~~~~~~~~~~^~~~
  218. components/hal-stm32/gpio.c: In function 'hal_gpio_setup':
  219. components/hal-stm32/gpio.c:81:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  220.          cnf = GPIO_CNF_OUTPUT_PUSHPULL;
  221. components/hal-stm32/gpio.c:82:5: note: here
  222.      case HAL_GPIO_DIR_OUTPUT_OD:
  223.      ^~~~
  224.   CC      components/hal-stm32/md5.c
  225. components/hal-stm32/md5.c: In function 'hal_md5_init':
  226. components/hal-stm32/md5.c:5:34: warning: unused parameter 'ctx' [-Wunused-parameter]
  227.  void hal_md5_init(hal_md5_ctx_t *ctx)
  228.                    ~~~~~~~~~~~~~~~^~~
  229. components/hal-stm32/md5.c: In function 'hal_md5_update':
  230. components/hal-stm32/md5.c:9:36: warning: unused parameter 'ctx' [-Wunused-parameter]
  231.  void hal_md5_update(hal_md5_ctx_t *ctx, const void *input, size_t size)
  232.                      ~~~~~~~~~~~~~~~^~~
  233. components/hal-stm32/md5.c:9:53: warning: unused parameter 'input' [-Wunused-parameter]
  234.  void hal_md5_update(hal_md5_ctx_t *ctx, const void *input, size_t size)
  235.                                          ~~~~~~~~~~~~^~~~~
  236. components/hal-stm32/md5.c:9:67: warning: unused parameter 'size' [-Wunused-parameter]
  237.  void hal_md5_update(hal_md5_ctx_t *ctx, const void *input, size_t size)
  238.                                                             ~~~~~~~^~~~
  239. components/hal-stm32/md5.c: In function 'hal_md5_digest':
  240. components/hal-stm32/md5.c:13:36: warning: unused parameter 'ctx' [-Wunused-parameter]
  241.  void hal_md5_digest(hal_md5_ctx_t *ctx, uint8_t output[HAL_MD5_OUTPUT_SIZE])
  242.                      ~~~~~~~~~~~~~~~^~~
  243. components/hal-stm32/md5.c:13:49: warning: unused parameter 'output' [-Wunused-parameter]
  244.  void hal_md5_digest(hal_md5_ctx_t *ctx, uint8_t output[HAL_MD5_OUTPUT_SIZE])
  245.                                          ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
  246. components/hal-stm32/md5.c: In function 'hal_md5_destroy':
  247. components/hal-stm32/md5.c:17:37: warning: unused parameter 'ctx' [-Wunused-parameter]
  248.  void hal_md5_destroy(hal_md5_ctx_t *ctx)
  249.                       ~~~~~~~~~~~~~~~^~~
  250.   CC      components/hal-stm32/rand.c
  251.   CC      components/hal-stm32/storage.c
  252. components/hal-stm32/storage.c: In function 'hal_storage_init':
  253. components/hal-stm32/storage.c:5:38: warning: unused parameter 's' [-Wunused-parameter]
  254.  void hal_storage_init(hal_storage_t *s, const char *name)
  255.                        ~~~~~~~~~~~~~~~^
  256. components/hal-stm32/storage.c:5:53: warning: unused parameter 'name' [-Wunused-parameter]
  257.  void hal_storage_init(hal_storage_t *s, const char *name)
  258.                                          ~~~~~~~~~~~~^~~~
  259. components/hal-stm32/storage.c: In function 'hal_storage_get_blob':
  260. components/hal-stm32/storage.c:9:42: warning: unused parameter 's' [-Wunused-parameter]
  261.  bool hal_storage_get_blob(hal_storage_t *s, const char *key, void *buf, size_t *size)
  262.                            ~~~~~~~~~~~~~~~^
  263. components/hal-stm32/storage.c:9:57: warning: unused parameter 'key' [-Wunused-parameter]
  264.  bool hal_storage_get_blob(hal_storage_t *s, const char *key, void *buf, size_t *size)
  265.                                              ~~~~~~~~~~~~^~~
  266. components/hal-stm32/storage.c:9:68: warning: unused parameter 'buf' [-Wunused-parameter]
  267.  bool hal_storage_get_blob(hal_storage_t *s, const char *key, void *buf, size_t *size)
  268.                                                               ~~~~~~^~~
  269. components/hal-stm32/storage.c:9:81: warning: unused parameter 'size' [-Wunused-parameter]
  270.  bool hal_storage_get_blob(hal_storage_t *s, const char *key, void *buf, size_t *size)
  271.                                                                          ~~~~~~~~^~~~
  272. components/hal-stm32/storage.c: In function 'hal_storage_set_blob':
  273. components/hal-stm32/storage.c:14:42: warning: unused parameter 's' [-Wunused-parameter]
  274.  void hal_storage_set_blob(hal_storage_t *s, const char *key, const void *buf, size_t size)
  275.                            ~~~~~~~~~~~~~~~^
  276. components/hal-stm32/storage.c:14:57: warning: unused parameter 'key' [-Wunused-parameter]
  277.  void hal_storage_set_blob(hal_storage_t *s, const char *key, const void *buf, size_t size)
  278.                                              ~~~~~~~~~~~~^~~
  279. components/hal-stm32/storage.c:14:74: warning: unused parameter 'buf' [-Wunused-parameter]
  280.  void hal_storage_set_blob(hal_storage_t *s, const char *key, const void *buf, size_t size)
  281.                                                               ~~~~~~~~~~~~^~~
  282. components/hal-stm32/storage.c:14:86: warning: unused parameter 'size' [-Wunused-parameter]
  283.  void hal_storage_set_blob(hal_storage_t *s, const char *key, const void *buf, size_t size)
  284.                                                                                ~~~~~~~^~~~
  285. components/hal-stm32/storage.c: In function 'hal_storage_commit':
  286. components/hal-stm32/storage.c:18:40: warning: unused parameter 's' [-Wunused-parameter]
  287.  void hal_storage_commit(hal_storage_t *s)
  288.                          ~~~~~~~~~~~~~~~^
  289.   CC      components/u8g2/u8g2/csrc/u8x8_d_uc1608.c
  290.   CC      components/u8g2/u8g2/csrc/u8x8_display.c
  291.   CC      components/u8g2/u8g2/csrc/u8x8_d_ld7032_60x32.c
  292.   CC      components/u8g2/u8g2/csrc/u8x8_d_st7586s_s028hn118a.c
  293.   CC      components/u8g2/u8g2/csrc/u8x8_8x8.c
  294.   CC      components/u8g2/u8g2/csrc/u8x8_d_ssd1309.c
  295.   CC      components/u8g2/u8g2/csrc/u8log_u8g2.c
  296.   CC      components/u8g2/u8g2/csrc/u8g2_polygon.c
  297.   CC      components/u8g2/u8g2/csrc/u8x8_fonts.c
  298.   CC      components/u8g2/u8g2/csrc/u8x8_d_st7588.c
  299.   CC      components/u8g2/u8g2/csrc/u8x8_d_sh1106_64x32.c
  300.   CC      components/u8g2/u8g2/csrc/u8x8_d_uc1611.c
  301.   CC      components/u8g2/u8g2/csrc/u8x8_d_max7219.c
  302.   CC      components/u8g2/u8g2/csrc/u8x8_d_stdio.c
  303.   CC      components/u8g2/u8g2/csrc/u8g2_message.c
  304.   CC      components/u8g2/u8g2/csrc/u8g2_buffer.c
  305.   CC      components/u8g2/u8g2/csrc/u8x8_d_uc1617.c
  306.   CC      components/u8g2/u8g2/csrc/u8g2_d_memory.c
  307.   CC      components/u8g2/u8g2/csrc/u8g2_box.c
  308.   CC      components/u8g2/u8g2/csrc/u8x8_gpio.c
  309.   CC      components/u8g2/u8g2/csrc/u8x8_message.c
  310.   CC      components/u8g2/u8g2/csrc/u8x8_d_ssd1606_172x72.c
  311.   CC      components/u8g2/u8g2/csrc/u8g2_bitmap.c
  312.   CC      components/u8g2/u8g2/csrc/u8x8_d_st7586s_erc240160.c
  313.   CC      components/u8g2/u8g2/csrc/u8x8_d_uc1601.c
  314.   CC      components/u8g2/u8g2/csrc/u8log_u8x8.c
  315.   CC      components/u8g2/u8g2/csrc/u8x8_d_ssd1306_64x32.c
  316.   CC      components/u8g2/u8g2/csrc/u8x8_d_sed1330.c
  317.   CC      components/u8g2/u8g2/csrc/u8g2_fonts.c
  318.   CC      components/u8g2/u8g2/csrc/u8x8_d_sh1106_72x40.c
  319.   CC      components/u8g2/u8g2/csrc/u8g2_font.c
  320.   CC      components/u8g2/u8g2/csrc/u8g2_intersection.c
  321.   CC      components/u8g2/u8g2/csrc/u8x8_d_st75256.c
  322.   CC      components/u8g2/u8g2/csrc/u8x8_d_uc1701_dogs102.c
  323.   CC      components/u8g2/u8g2/csrc/u8x8_d_ssd1306_64x48.c
  324.   CC      components/u8g2/u8g2/csrc/u8x8_d_il3820_296x128.c
  325.   CC      components/u8g2/u8g2/csrc/u8x8_d_ssd1306_48x64.c
  326.   CC      components/u8g2/u8g2/csrc/u8x8_d_t6963.c
  327.   CC      components/u8g2/u8g2/csrc/u8x8_d_ls013b7dh03.c
  328.   CC      components/u8g2/u8g2/csrc/u8x8_cad.c
  329.   CC      components/u8g2/u8g2/csrc/u8x8_string.c
  330.   CC      components/u8g2/u8g2/csrc/u8x8_d_ssd1326.c
  331.   CC      components/u8g2/u8g2/csrc/u8x8_d_uc1701_mini12864.c
  332.   CC      components/u8g2/u8g2/csrc/u8g2_line.c
  333.   CC      components/u8g2/u8g2/csrc/u8x8_u16toa.c
  334.   CC      components/u8g2/u8g2/csrc/u8g2_ll_hvline.c
  335.   CC      components/u8g2/u8g2/csrc/u8g2_selection_list.c
  336.   CC      components/u8g2/u8g2/csrc/u8x8_d_pcf8812.c
  337.   CC      components/u8g2/u8g2/csrc/u8x8_d_pcd8544_84x48.c
  338.   CC      components/u8g2/u8g2/csrc/u8x8_d_ssd1306_128x32.c
  339.   CC      components/u8g2/u8g2/csrc/u8x8_d_lc7981.c
  340.   CC      components/u8g2/u8g2/csrc/u8x8_u8toa.c
  341.   CC      components/u8g2/u8g2/csrc/u8x8_d_sbn1661.c
  342.   CC      components/u8g2/u8g2/csrc/u8x8_debounce.c
  343.   CC      components/u8g2/u8g2/csrc/u8g2_setup.c
  344.   CC      components/u8g2/u8g2/csrc/u8x8_d_ks0108.c
  345.   CC      components/u8g2/u8g2/csrc/u8x8_d_st7567.c
  346.   CC      components/u8g2/u8g2/csrc/u8x8_d_ssd1329.c
  347.   CC      components/u8g2/u8g2/csrc/u8x8_d_uc1604.c
  348.   CC      components/u8g2/u8g2/csrc/u8x8_d_ssd1305.c
  349.   CC      components/u8g2/u8g2/csrc/u8x8_d_sh1108.c
  350.   CC      components/u8g2/u8g2/csrc/u8x8_d_sh1107.c
  351.   CC      components/u8g2/u8g2/csrc/u8x8_d_st7920.c
  352.   CC      components/u8g2/u8g2/csrc/u8x8_d_ist3020.c
  353.   CC      components/u8g2/u8g2/csrc/u8x8_d_st7565.c
  354.   CC      components/u8g2/u8g2/csrc/u8x8_selection_list.c
  355.   CC      components/u8g2/u8g2/csrc/u8x8_d_sh1122.c
  356.   CC      components/u8g2/u8g2/csrc/u8x8_d_ssd1306_96x16.c
  357.   CC      components/u8g2/u8g2/csrc/u8g2_input_value.c
  358.   CC      components/u8g2/u8g2/csrc/u8x8_byte.c
  359.   CC      components/u8g2/u8g2/csrc/u8x8_setup.c
  360.   CC      components/u8g2/u8g2/csrc/u8x8_d_uc1610.c
  361.   CC      components/u8g2/u8g2/csrc/u8g2_d_setup.c
  362.   CC      components/u8g2/u8g2/csrc/u8x8_d_a2printer.c
  363.   CC      components/u8g2/u8g2/csrc/u8g2_cleardisplay.c
  364.   CC      components/u8g2/u8g2/csrc/u8x8_d_ssd1322.c
  365.   CC      components/u8g2/u8g2/csrc/u8x8_d_ssd1306_128x64_noname.c
  366.   CC      components/u8g2/u8g2/csrc/u8g2_kerning.c
  367.   CC      components/u8g2/u8g2/csrc/u8g2_circle.c
  368.   CC      components/u8g2/u8g2/csrc/u8x8_d_ssd1607_200x200.c
  369.   CC      components/u8g2/u8g2/csrc/u8g2_hvline.c
  370.   CC      components/u8g2/u8g2/csrc/u8x8_d_ssd1325.c
  371.   CC      components/u8g2/u8g2/csrc/u8x8_input_value.c
  372.   CC      components/u8g2/u8g2/csrc/u8log.c
  373.   CC      components/u8g2/u8g2/csrc/u8x8_d_ssd1327.c
  374.   CC      components/u8g2/u8g2/csrc/u8x8_d_uc1638.c
  375.   CC      components/u8g2/u8g2/csrc/u8x8_d_pcf8814_hx1230.c
  376.   CC      main/./main.c
  377.   CC      main/air/air_stream.c
  378. main/air/air_stream.c: In function 'air_stream_feed_input':
  379. main/air/air_stream.c:212:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  380.      for (int ii = 0; ii < size; ii++)
  381.                          ^
  382. At top level:
  383. main/air/air_stream.c:26:13: warning: 'air_stream_sends_downlink' defined but not used [-Wunused-function]
  384.  static bool air_stream_sends_downlink(air_stream_t *s)
  385.              ^~~~~~~~~~~~~~~~~~~~~~~~~
  386.   CC      main/air/air.c
  387.   CC      main/air/air_mode.c
  388.   CC      main/air/air_freq.c
  389.   CC      main/air/air_radio_fake.c
  390.   CC      main/air/air_rf_power.c
  391.   CC      main/air/air_cmd.c
  392.   CC      main/air/air_io.c
  393.   CC      main/air/air_band.c
  394.   CC      main/air/air_radio_sx127x.c
  395. main/air/air_radio_sx127x.c: In function 'air_radio_should_switch_to_faster_mode':
  396. main/air/air_radio_sx127x.c:56:58: warning: unused parameter 'radio' [-Wunused-parameter]
  397.  bool air_radio_should_switch_to_faster_mode(air_radio_t *radio, air_mode_e current, air_mode_e faster, int telemetry_id, telemetry_t *t)
  398.                                              ~~~~~~~~~~~~~^~~~~
  399. main/air/air_radio_sx127x.c: In function 'air_radio_should_switch_to_longer_mode':
  400. main/air/air_radio_sx127x.c:68:58: warning: unused parameter 'radio' [-Wunused-parameter]
  401.  bool air_radio_should_switch_to_longer_mode(air_radio_t *radio, air_mode_e current, air_mode_e longer, int telemetry_id, telemetry_t *t)
  402.                                              ~~~~~~~~~~~~~^~~~~
  403. main/air/air_radio_sx127x.c:68:96: warning: unused parameter 'longer' [-Wunused-parameter]
  404.  bool air_radio_should_switch_to_longer_mode(air_radio_t *radio, air_mode_e current, air_mode_e longer, int telemetry_id, telemetry_t *t)
  405.                                                                                      ~~~~~~~~~~~^~~~~~
  406. main/air/air_radio_sx127x.c: In function 'air_radio_confirmations_required_for_switching_modes':
  407. main/air/air_radio_sx127x.c:89:76: warning: unused parameter 'radio' [-Wunused-parameter]
  408.  unsigned air_radio_confirmations_required_for_switching_modes(air_radio_t *radio, air_mode_e current, air_mode_e to)
  409.                                                                ~~~~~~~~~~~~~^~~~~
  410. main/air/air_radio_sx127x.c:89:114: warning: unused parameter 'to' [-Wunused-parameter]
  411.  unsigned air_radio_confirmations_required_for_switching_modes(air_radio_t *radio, air_mode_e current, air_mode_e to)
  412.                                                                                                        ~~~~~~~~~~~^~
  413. main/air/air_radio_sx127x.c: In function 'air_radio_rx_failsafe_interval':
  414. main/air/air_radio_sx127x.c:238:59: warning: unused parameter 'radio' [-Wunused-parameter]
  415.  time_micros_t air_radio_rx_failsafe_interval(air_radio_t *radio, air_mode_e mode)
  416.                                               ~~~~~~~~~~~~~^~~~~
  417.   CC      main/config/settings.c
  418. main/config/settings.c: In function 'setting_format_own_addr':
  419. main/config/settings.c:106:77: warning: unused parameter 'setting' [-Wunused-parameter]
  420.  static int setting_format_own_addr(char *buf, size_t size, const setting_t *setting, setting_dynamic_format_e fmt)
  421.                                                             ~~~~~~~~~~~~~~~~~^~~~~~~
  422. main/config/settings.c: In function 'setting_visibility_root':
  423. main/config/settings.c:117:65: warning: unused parameter 'folder' [-Wunused-parameter]
  424.  static setting_visibility_e setting_visibility_root(folder_id_e folder, settings_view_e view_id, const setting_t *setting)
  425.                                                      ~~~~~~~~~~~~^~~~~~
  426. main/config/settings.c: In function 'setting_visibility_rx':
  427. main/config/settings.c:186:63: warning: unused parameter 'folder' [-Wunused-parameter]
  428.  static setting_visibility_e setting_visibility_rx(folder_id_e folder, settings_view_e view_id, const setting_t *setting)
  429.                                                    ~~~~~~~~~~~~^~~~~~
  430. main/config/settings.c:186:87: warning: unused parameter 'view_id' [-Wunused-parameter]
  431.  static setting_visibility_e setting_visibility_rx(folder_id_e folder, settings_view_e view_id, const setting_t *setting)
  432.                                                                        ~~~~~~~~~~~~~~~~^~~~~~~
  433. main/config/settings.c: At top level:
  434. /home/jacob/tmp/raven/main/util/macros.h:5:26: warning: conversion from 'unsigned int' to 'unsigned char' changes value from '4294967295' to '255' [-Woverflow]
  435.  #define ARRAY_COUNT(arr) (sizeof(arr) / sizeof(arr[0]))
  436.                           ^
  437. main/config/settings.c:33:22: note: in definition of macro 'U8'
  438.  #define U8(v) {.u8 = v}
  439.                       ^
  440. main/config/settings.c:60:165: note: in expansion of macro 'ARRAY_COUNT'
  441.      (setting_t) { .key = k, .name = n, .type = SETTING_TYPE_U8, .flags = f | SETTING_FLAG_NAME_MAP, .val_names = m, .unit = u, .folder = p, .min = U8(0), .max = U8(ARRAY_COUNT(m) - 1), .def_val = U8(def) }
  442.                                                                                                                                                                      ^~~~~~~~~~~
  443. main/config/settings.c:61:44: note: in expansion of macro 'U8_MAP_SETTING_UNIT'
  444.  #define U8_MAP_SETTING(k, n, f, p, m, def) U8_MAP_SETTING_UNIT(k, n, f, p, m, NULL, def)
  445.                                             ^~~~~~~~~~~~~~~~~~~
  446. main/config/settings.c:67:41: note: in expansion of macro 'U8_MAP_SETTING'
  447.  #define GPIO_USER_SETTING(k, n, p, def) U8_MAP_SETTING(k, n, 0, p, gpio_names, def)
  448.                                          ^~~~~~~~~~~~~~
  449. main/config/settings.c:429:5: note: in expansion of macro 'GPIO_USER_SETTING'
  450.      GPIO_USER_SETTING(SETTING_KEY_RX_TX_GPIO, "TX Pin", FOLDER_ID_RX, TX_DEFAULT_GPIO_IDX),
  451.      ^~~~~~~~~~~~~~~~~
  452. /home/jacob/tmp/raven/components/hal-common/include/hal/gpio_base.h:21:84: warning: right shift count >= width of type [-Wshift-count-overflow]
  453.  #define HAL_GPIO_USER_GET_IDX(n) (__builtin_popcountll(HAL_GPIO_USER_MASK & (~0ull >> (HAL_GPIO_MAX - n + 1))))
  454.                                                                                     ^~
  455. main/config/settings.c:33:22: note: in definition of macro 'U8'
  456.  #define U8(v) {.u8 = v}
  457.                       ^
  458. main/config/settings.c:61:44: note: in expansion of macro 'U8_MAP_SETTING_UNIT'
  459.  #define U8_MAP_SETTING(k, n, f, p, m, def) U8_MAP_SETTING_UNIT(k, n, f, p, m, NULL, def)
  460.                                             ^~~~~~~~~~~~~~~~~~~
  461. main/config/settings.c:67:41: note: in expansion of macro 'U8_MAP_SETTING'
  462.  #define GPIO_USER_SETTING(k, n, p, def) U8_MAP_SETTING(k, n, 0, p, gpio_names, def)
  463.                                          ^~~~~~~~~~~~~~
  464. main/config/settings.c:429:5: note: in expansion of macro 'GPIO_USER_SETTING'
  465.      GPIO_USER_SETTING(SETTING_KEY_RX_TX_GPIO, "TX Pin", FOLDER_ID_RX, TX_DEFAULT_GPIO_IDX),
  466.      ^~~~~~~~~~~~~~~~~
  467. main/config/settings.c:399:29: note: in expansion of macro 'HAL_GPIO_USER_GET_IDX'
  468.  #define TX_DEFAULT_GPIO_IDX HAL_GPIO_USER_GET_IDX(TX_DEFAULT_GPIO)
  469.                              ^~~~~~~~~~~~~~~~~~~~~
  470. main/config/settings.c:429:71: note: in expansion of macro 'TX_DEFAULT_GPIO_IDX'
  471.      GPIO_USER_SETTING(SETTING_KEY_RX_TX_GPIO, "TX Pin", FOLDER_ID_RX, TX_DEFAULT_GPIO_IDX),
  472.                                                                        ^~~~~~~~~~~~~~~~~~~
  473. /home/jacob/tmp/raven/main/util/macros.h:5:26: warning: conversion from 'unsigned int' to 'unsigned char' changes value from '4294967295' to '255' [-Woverflow]
  474.  #define ARRAY_COUNT(arr) (sizeof(arr) / sizeof(arr[0]))
  475.                           ^
  476. main/config/settings.c:33:22: note: in definition of macro 'U8'
  477.  #define U8(v) {.u8 = v}
  478.                       ^
  479. main/config/settings.c:60:165: note: in expansion of macro 'ARRAY_COUNT'
  480.      (setting_t) { .key = k, .name = n, .type = SETTING_TYPE_U8, .flags = f | SETTING_FLAG_NAME_MAP, .val_names = m, .unit = u, .folder = p, .min = U8(0), .max = U8(ARRAY_COUNT(m) - 1), .def_val = U8(def) }
  481.                                                                                                                                                                      ^~~~~~~~~~~
  482. main/config/settings.c:61:44: note: in expansion of macro 'U8_MAP_SETTING_UNIT'
  483.  #define U8_MAP_SETTING(k, n, f, p, m, def) U8_MAP_SETTING_UNIT(k, n, f, p, m, NULL, def)
  484.                                             ^~~~~~~~~~~~~~~~~~~
  485. main/config/settings.c:67:41: note: in expansion of macro 'U8_MAP_SETTING'
  486.  #define GPIO_USER_SETTING(k, n, p, def) U8_MAP_SETTING(k, n, 0, p, gpio_names, def)
  487.                                          ^~~~~~~~~~~~~~
  488. main/config/settings.c:430:5: note: in expansion of macro 'GPIO_USER_SETTING'
  489.      GPIO_USER_SETTING(SETTING_KEY_RX_RX_GPIO, "RX Pin", FOLDER_ID_RX, RX_DEFAULT_GPIO_IDX),
  490.      ^~~~~~~~~~~~~~~~~
  491. /home/jacob/tmp/raven/components/hal-common/include/hal/gpio_base.h:21:84: warning: right shift count >= width of type [-Wshift-count-overflow]
  492.  #define HAL_GPIO_USER_GET_IDX(n) (__builtin_popcountll(HAL_GPIO_USER_MASK & (~0ull >> (HAL_GPIO_MAX - n + 1))))
  493.                                                                                     ^~
  494. main/config/settings.c:33:22: note: in definition of macro 'U8'
  495.  #define U8(v) {.u8 = v}
  496.                       ^
  497. main/config/settings.c:61:44: note: in expansion of macro 'U8_MAP_SETTING_UNIT'
  498.  #define U8_MAP_SETTING(k, n, f, p, m, def) U8_MAP_SETTING_UNIT(k, n, f, p, m, NULL, def)
  499.                                             ^~~~~~~~~~~~~~~~~~~
  500. main/config/settings.c:67:41: note: in expansion of macro 'U8_MAP_SETTING'
  501.  #define GPIO_USER_SETTING(k, n, p, def) U8_MAP_SETTING(k, n, 0, p, gpio_names, def)
  502.                                          ^~~~~~~~~~~~~~
  503. main/config/settings.c:430:5: note: in expansion of macro 'GPIO_USER_SETTING'
  504.      GPIO_USER_SETTING(SETTING_KEY_RX_RX_GPIO, "RX Pin", FOLDER_ID_RX, RX_DEFAULT_GPIO_IDX),
  505.      ^~~~~~~~~~~~~~~~~
  506. main/config/settings.c:400:29: note: in expansion of macro 'HAL_GPIO_USER_GET_IDX'
  507.  #define RX_DEFAULT_GPIO_IDX HAL_GPIO_USER_GET_IDX(RX_DEFAULT_GPIO)
  508.                              ^~~~~~~~~~~~~~~~~~~~~
  509. main/config/settings.c:430:71: note: in expansion of macro 'RX_DEFAULT_GPIO_IDX'
  510.      GPIO_USER_SETTING(SETTING_KEY_RX_RX_GPIO, "RX Pin", FOLDER_ID_RX, RX_DEFAULT_GPIO_IDX),
  511.                                                                        ^~~~~~~~~~~~~~~~~~~
  512. main/config/settings.c: In function 'setting_changed':
  513. main/config/settings.c:616:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  514.      for (int ii = 0; ii < ARRAY_COUNT(listeners); ii++)
  515.                          ^
  516. main/config/settings.c: In function 'settings_init':
  517. main/config/settings.c:676:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  518.      for (int ii = 0; ii < ARRAY_COUNT(settings); ii++)
  519.                          ^
  520. main/config/settings.c: In function 'settings_add_listener':
  521. main/config/settings.c:740:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  522.      for (int ii = 0; ii < ARRAY_COUNT(listeners); ii++)
  523.                          ^
  524. main/config/settings.c: In function 'settings_remove_listener':
  525. main/config/settings.c:755:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  526.      for (int ii = 0; ii < ARRAY_COUNT(listeners); ii++)
  527.                          ^
  528. main/config/settings.c: In function 'settings_get_key_idx':
  529. main/config/settings.c:800:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  530.      for (int ii = 0; ii < ARRAY_COUNT(settings); ii++)
  531.                          ^
  532. main/config/settings.c: In function 'settings_get_folder':
  533. main/config/settings.c:816:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  534.      for (int ii = 0; ii < ARRAY_COUNT(settings); ii++)
  535.                          ^
  536. main/config/settings.c: In function 'setting_is_visible':
  537. main/config/settings.c:841:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  538.              for (int ii = 0; ii < ARRAY_COUNT(settings); ii++)
  539.                                  ^
  540.   CC      main/config/settings_rmp.c
  541. main/config/settings_rmp.c: In function 'settings_rmp_send_setting':
  542. main/config/settings_rmp.c:18:46: warning: unused parameter 'rmp' [-Wunused-parameter]
  543.  static void settings_rmp_send_setting(rmp_t *rmp, rmp_req_t *req, settings_rmp_msg_t *resp, settings_view_t *view, const setting_t *setting, settings_rmp_code_e code)
  544.                                        ~~~~~~~^~~
  545. main/config/settings_rmp.c: In function 'settings_rmp_handler':
  546. main/config/settings_rmp.c:76:68: warning: unused parameter 'user_data' [-Wunused-parameter]
  547.  static void settings_rmp_handler(rmp_t *rmp, rmp_req_t *req, void *user_data)
  548.                                                               ~~~~~~^~~~~~~~~
  549. main/config/settings_rmp.c: In function 'settings_rmp_msg_size':
  550. main/config/settings_rmp.c:177:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  551.          for (int ii = 0; ii < sizeof(msg->ehlo.name); ii++)
  552.                              ^
  553.   CC      main/config/config.c
  554. main/config/config.c: In function 'config_get_paired_rx':
  555. main/config/config.c:152:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  556.      for (int ii = 0; ii < ARRAY_COUNT(config.paired_rxs); ii++)
  557.                          ^
  558. main/config/config.c: In function 'config_add_paired_rx':
  559. main/config/config.c:199:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  560.      for (int ii = 0; ii < ARRAY_COUNT(config.paired_rxs); ii++)
  561.                          ^
  562. main/config/config.c:215:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  563.          for (int ii = 0; ii < ARRAY_COUNT(config.paired_rxs); ii++)
  564.                              ^
  565. main/config/config.c:243:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  566.              for (int jj = 0; jj < ARRAY_COUNT(config.paired_rxs); jj++)
  567.                                  ^
  568.   CC      main/input/input_fake.c
  569. main/input/input_fake.c: In function 'input_fake_open':
  570. main/input/input_fake.c:22:48: warning: unused parameter 'config' [-Wunused-parameter]
  571.  static bool input_fake_open(void *input, void *config)
  572.                                           ~~~~~~^~~~~~
  573. main/input/input_fake.c: In function 'input_fake_close':
  574. main/input/input_fake.c:111:36: warning: unused parameter 'input' [-Wunused-parameter]
  575.  static void input_fake_close(void *input, void *config)
  576.                               ~~~~~~^~~~~
  577. main/input/input_fake.c:111:49: warning: unused parameter 'config' [-Wunused-parameter]
  578.  static void input_fake_close(void *input, void *config)
  579.                                            ~~~~~~^~~~~~
  580.   CC      main/input/input_air.c
  581. main/input/input_air.c: In function 'input_air_stream_cmd_decoded':
  582. main/input/input_air.c:95:114: warning: unused parameter 'now' [-Wunused-parameter]
  583.  static void input_air_stream_cmd_decoded(void *user, air_cmd_e cmd, const void *data, size_t size, time_micros_t now)
  584.                                                                                                     ~~~~~~~~~~~~~~^~~
  585. main/input/input_air.c: In function 'input_air_msp_before_feed':
  586. main/input/input_air.c:160:50: warning: unused parameter 'msp_air' [-Wunused-parameter]
  587.  static void input_air_msp_before_feed(msp_air_t *msp_air, size_t size, void *user_data)
  588.                                        ~~~~~~~~~~~^~~~~~~
  589. main/input/input_air.c:160:66: warning: unused parameter 'size' [-Wunused-parameter]
  590.  static void input_air_msp_before_feed(msp_air_t *msp_air, size_t size, void *user_data)
  591.                                                            ~~~~~~~^~~~
  592. main/input/input_air.c: In function 'input_air_send_response':
  593. main/input/input_air.c:229:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  594.      while (p < sizeof(out_pkt.data) && air_stream_pop_output(&input_air->air_stream, &c))
  595.               ^
  596. In file included from main/input/input_air.c:1:
  597. main/input/input_air.c: In function 'input_air_open':
  598. main/input/input_air.c:317:16: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
  599.      LOG_I(TAG, "Open with key %u", input_air->air.pairing.key);
  600.                 ^~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~~~~
  601. /home/jacob/tmp/raven/components/hal-stm32/include/hal/log.h:17:65: note: in definition of macro 'LOG_I'
  602.  #define LOG_I(tag, format, ...) log_printf(LOG_LEVEL_INFO, tag, format, ##__VA_ARGS__)
  603.                                                                  ^~~~~~
  604. main/input/input_air.c:305:47: warning: unused parameter 'config' [-Wunused-parameter]
  605.  static bool input_air_open(void *input, void *config)
  606.                                          ~~~~~~^~~~~~
  607. main/input/input_air.c: In function 'input_air_close':
  608. main/input/input_air.c:440:48: warning: unused parameter 'config' [-Wunused-parameter]
  609.  static void input_air_close(void *input, void *config)
  610.                                           ~~~~~~^~~~~~
  611.   CC      main/input/input_crsf.c
  612. main/input/input_crsf.c: In function 'input_crsf_isr':
  613. main/input/input_crsf.c:49:49: warning: unused parameter 'port' [-Wunused-parameter]
  614.  static void input_crsf_isr(const serial_port_t *port, uint8_t b, void *user_data)
  615.                             ~~~~~~~~~~~~~~~~~~~~~^~~~
  616. main/input/input_crsf.c: In function 'input_crsf_get_rmp_addr':
  617. main/input/input_crsf.c:104:62: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  618.      if (crsf_addr != CRSF_ADDRESS_BROADCAST && crsf_addr - 1 < ARRAY_COUNT(input_crsf->rmp_addresses) &&
  619.                                                               ^
  620. main/input/input_crsf.c: In function 'input_crsf_send_setting_frame':
  621. main/input/input_crsf.c:607:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  622.          for (int ii = 0; ii < chunk_payload_size; ii++)
  623.                              ^
  624. main/input/input_crsf.c: In function 'input_crsf_rmp_handler':
  625. main/input/input_crsf.c:627:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  626.      for (int ii = 0; ii < ARRAY_COUNT(input->rmp_addresses); ii++)
  627.                          ^
  628. main/input/input_crsf.c:640:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  629.          for (int ii = 0; ii < ARRAY_COUNT(input->rmp_addresses); ii++)
  630.                              ^
  631. main/input/input_crsf.c: In function 'input_crsf_update':
  632. main/input/input_crsf.c:809:55: warning: unused parameter 'data' [-Wunused-parameter]
  633.  static bool input_crsf_update(void *input, rc_data_t *data, time_micros_t now)
  634.                                             ~~~~~~~~~~~^~~~
  635. main/input/input_crsf.c: In function 'input_crsf_close':
  636. main/input/input_crsf.c:897:49: warning: unused parameter 'config' [-Wunused-parameter]
  637.  static void input_crsf_close(void *input, void *config)
  638.                                            ~~~~~~^~~~~~
  639.   CC      main/input/input_air_bind.c
  640. main/input/input_air_bind.c: In function 'input_air_bind_open':
  641. main/input/input_air_bind.c:41:51: warning: unused parameter 'config' [-Wunused-parameter]
  642.  static bool input_air_bind_open(void *data, void *config)
  643.                                              ~~~~~~^~~~~~
  644. main/input/input_air_bind.c: In function 'input_air_bind_send_response':
  645. main/input/input_air_bind.c:64:68: warning: unused parameter 'now' [-Wunused-parameter]
  646.  static void input_air_bind_send_response(void *data, time_micros_t now)
  647.                                                       ~~~~~~~~~~~~~~^~~
  648. main/input/input_air_bind.c: In function 'input_air_bind_update':
  649. main/input/input_air_bind.c:91:58: warning: unused parameter 'rc_data' [-Wunused-parameter]
  650.  static bool input_air_bind_update(void *data, rc_data_t *rc_data, time_micros_t now)
  651.                                                ~~~~~~~~~~~^~~~~~~
  652. main/input/input_air_bind.c: In function 'input_air_bind_close':
  653. main/input/input_air_bind.c:159:52: warning: unused parameter 'config' [-Wunused-parameter]
  654.  static void input_air_bind_close(void *data, void *config)
  655.                                               ~~~~~~^~~~~~
  656.   CC      main/input/input_ibus.c
  657. main/input/input_ibus.c: In function 'input_ibus_isr':
  658. main/input/input_ibus.c:28:49: warning: unused parameter 'port' [-Wunused-parameter]
  659.  static void input_ibus_isr(const serial_port_t *port, uint8_t b, void *user_data)
  660.                             ~~~~~~~~~~~~~~~~~~~~~^~~~
  661. main/input/input_ibus.c: In function 'input_ibus_tx_done_timeout_us':
  662. main/input/input_ibus.c:44:61: warning: unused parameter 'input' [-Wunused-parameter]
  663.  static unsigned input_ibus_tx_done_timeout_us(input_ibus_t *input)
  664.                                                ~~~~~~~~~~~~~~^~~~~
  665. main/input/input_ibus.c: In function 'input_ibus_frame_interval_us':
  666. main/input/input_ibus.c:49:60: warning: unused parameter 'input' [-Wunused-parameter]
  667.  static unsigned input_ibus_frame_interval_us(input_ibus_t *input)
  668.                                               ~~~~~~~~~~~~~~^~~~~
  669. main/input/input_ibus.c: In function 'input_ibus_update':
  670. main/input/input_ibus.c:135:55: warning: unused parameter 'data' [-Wunused-parameter]
  671.  static bool input_ibus_update(void *input, rc_data_t *data, time_micros_t now)
  672.                                             ~~~~~~~~~~~^~~~
  673. main/input/input_ibus.c: In function 'input_ibus_close':
  674. main/input/input_ibus.c:167:49: warning: unused parameter 'config' [-Wunused-parameter]
  675.  static void input_ibus_close(void *input, void *config)
  676.                                            ~~~~~~^~~~~~
  677.   CC      main/input/input.c
  678.   CC      main/io/io.c
  679.   CC      main/io/pwm.c
  680.   CC      main/io/gpio.c
  681. main/io/gpio.c: In function 'hal_gpio_user_at':
  682. main/io/gpio.c:12:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  683.              if (c == idx)
  684.                    ^~
  685.   CC      main/io/sx127x.c
  686. main/io/sx127x.c: In function 'lora_handle_isr':
  687. main/io/sx127x.c:251:45: warning: unused parameter 'arg' [-Wunused-parameter]
  688.  static void IRAM_ATTR lora_handle_isr(void *arg)
  689.                                        ~~~~~~^~~
  690. main/io/sx127x.c: In function 'sx127x_get_fsk_bandwidth_reg_value':
  691. main/io/sx127x.c:885:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  692.      for (int ii = 0; ii < ARRAY_COUNT(fsk_bandwidths) - 1; ii++)
  693.                          ^
  694. main/io/sx127x.c: In function 'sx127x_get_lora_signal_bw_khz':
  695. main/io/sx127x.c:990:54: warning: unused parameter 'sx127x' [-Wunused-parameter]
  696.  static float sx127x_get_lora_signal_bw_khz(sx127x_t *sx127x, sx127x_lora_signal_bw_e sbw)
  697.                                             ~~~~~~~~~~^~~~~~
  698. main/io/sx127x.c: In function 'sx127x_set_lora_signal_bw':
  699. main/io/sx127x.c:1110:13: warning: comparison is always false due to limited range of data type [-Wtype-limits]
  700.      if (sbw < SX127X_LORA_SIGNAL_BW_7_8)
  701.              ^
  702. main/io/sx127x.c: In function 'sx127x_get_fsk_bandwidth_reg_value':
  703. main/io/sx127x.c:894:1: warning: control reaches end of non-void function [-Wreturn-type]
  704.  }
  705.  ^
  706.   CC      main/msp/msp_serial.c
  707. In file included from main/msp/msp_serial.c:10:
  708. main/msp/msp_serial.c: In function 'msp_serial_expected_response_delay':
  709. /home/jacob/tmp/raven/main/util/macros.h:28:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  710.      if (__v < __min)              \
  711.              ^
  712. main/msp/msp_serial.c:44:12: note: in expansion of macro 'CONSTRAIN'
  713.      return CONSTRAIN(delay, MSP_HALF_DUPLEX_MIN_TIMEOUT_US, MSP_HALF_DUPLEX_MAX_TIMEOUT_US);
  714.             ^~~~~~~~~
  715. /home/jacob/tmp/raven/main/util/macros.h:32:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  716.      else if (__v > __max)         \
  717.                   ^
  718. main/msp/msp_serial.c:44:12: note: in expansion of macro 'CONSTRAIN'
  719.      return CONSTRAIN(delay, MSP_HALF_DUPLEX_MIN_TIMEOUT_US, MSP_HALF_DUPLEX_MAX_TIMEOUT_US);
  720.             ^~~~~~~~~
  721. main/msp/msp_serial.c: In function 'msp_serial_v1_decode':
  722. main/msp/msp_serial.c:161:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  723.      if (*end - *start < packet_size)
  724.                        ^
  725. main/msp/msp_serial.c: In function 'msp_serial_v2_decode':
  726. main/msp/msp_serial.c:222:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  727.      if (*end - *start < packet_size)
  728.                        ^
  729.   CC      main/msp/msp_telemetry.c
  730. main/msp/msp_telemetry.c: In function 'msp_telemetry_push_data':
  731. main/msp/msp_telemetry.c:84:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  732.      for (int ii = 0; ii < size; ii++, ptr++)
  733.                          ^
  734. main/msp/msp_telemetry.c: In function 'msp_telemetry_pop_data':
  735. main/msp/msp_telemetry.c:97:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  736.      for (int ii = 0; ii < size; ii++, ptr++)
  737.                          ^
  738. In file included from main/msp/msp_telemetry.c:6:
  739. main/msp/msp_telemetry.c: In function 'msp_telemetry_push_request_chunk':
  740. /home/jacob/tmp/raven/main/util/macros.h:20:9: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  741.       _a > _b ? _b : _a; })
  742.          ^
  743. main/msp/msp_telemetry.c:340:24: note: in expansion of macro 'MIN'
  744.      size_t data_size = MIN(size, tr->size - tr->recv);
  745.                         ^~~
  746. /home/jacob/tmp/raven/main/util/macros.h:20:16: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare]
  747.       _a > _b ? _b : _a; })
  748.                 ^~
  749. main/msp/msp_telemetry.c:340:24: note: in expansion of macro 'MIN'
  750.      size_t data_size = MIN(size, tr->size - tr->recv);
  751.                         ^~~
  752. main/msp/msp_telemetry.c: In function 'msp_telemetry_push_response_chunk':
  753. main/msp/msp_telemetry.c:445:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  754.      for (int ii = 0; ii < size && tr->recv < tr->size; ii++, tr->recv++, ptr++)
  755.                          ^
  756.   CC      main/msp/msp_io.c
  757.   CC      main/msp/msp.c
  758. main/msp/msp.c: In function 'msp_conn_init':
  759. main/msp/msp.c:13:5: warning: implicit declaration of function 'assert' [-Wimplicit-function-declaration]
  760.      assert(transport);
  761.      ^~~~~~
  762. main/msp/msp.c:13:5: note: 'assert' is defined in header '<assert.h>'; did you forget to '#include <assert.h>'?
  763. main/msp/msp.c:6:1:
  764. +#include <assert.h>
  765.  
  766. main/msp/msp.c:13:5:
  767.      assert(transport);
  768.      ^~~~~~
  769. main/msp/msp.c: In function 'msp_conn_dispatch_message':
  770. main/msp/msp.c:70:66: warning: unused parameter 'direction' [-Wunused-parameter]
  771.  void msp_conn_dispatch_message(msp_conn_t *conn, msp_direction_e direction, uint16_t cmd, const void *data, int size)
  772.                                                   ~~~~~~~~~~~~~~~~^~~~~~~~~
  773.   CC      main/msp/msp_transport.c
  774.   CC      main/msp/msp_air.c
  775. main/msp/msp_air.c: In function 'msp_air_read':
  776. main/msp/msp_air.c:16:31: warning: unused parameter 'transport' [-Wunused-parameter]
  777.  static int msp_air_read(void *transport, msp_direction_e *direction, uint16_t *cmd, void *payload, size_t size)
  778.                          ~~~~~~^~~~~~~~~
  779. main/msp/msp_air.c:16:59: warning: unused parameter 'direction' [-Wunused-parameter]
  780.  static int msp_air_read(void *transport, msp_direction_e *direction, uint16_t *cmd, void *payload, size_t size)
  781.                                           ~~~~~~~~~~~~~~~~~^~~~~~~~~
  782. main/msp/msp_air.c:16:80: warning: unused parameter 'cmd' [-Wunused-parameter]
  783.  static int msp_air_read(void *transport, msp_direction_e *direction, uint16_t *cmd, void *payload, size_t size)
  784.                                                                       ~~~~~~~~~~^~~
  785. main/msp/msp_air.c:16:91: warning: unused parameter 'payload' [-Wunused-parameter]
  786.  static int msp_air_read(void *transport, msp_direction_e *direction, uint16_t *cmd, void *payload, size_t size)
  787.                                                                                      ~~~~~~^~~~~~~
  788. main/msp/msp_air.c:16:107: warning: unused parameter 'size' [-Wunused-parameter]
  789.  static int msp_air_read(void *transport, msp_direction_e *direction, uint16_t *cmd, void *payload, size_t size)
  790.                                                                                                     ~~~~~~~^~~~
  791. main/msp/msp_air.c: In function 'msp_air_dispatch':
  792. main/msp/msp_air.c:93:34: warning: unused parameter 'tr' [-Wunused-parameter]
  793.  void msp_air_dispatch(msp_air_t *tr, msp_conn_t *conn, const void *payload, size_t size)
  794.                        ~~~~~~~~~~~^~
  795.   CC      main/output/output_sbus.c
  796. main/output/output_sbus.c: In function 'output_sbus_update_sport':
  797. main/output/output_sbus.c:66:63: warning: unused parameter 'data' [-Wunused-parameter]
  798.  static bool output_sbus_update_sport(void *output, rc_data_t *data)
  799.                                                     ~~~~~~~~~~~^~~~
  800. main/output/output_sbus.c: In function 'output_sbus_update':
  801. main/output/output_sbus.c:73:93: warning: unused parameter 'now' [-Wunused-parameter]
  802.  static bool output_sbus_update(void *output, rc_data_t *data, bool update_rc, time_micros_t now)
  803.                                                                                ~~~~~~~~~~~~~~^~~
  804. main/output/output_sbus.c: In function 'output_sbus_close':
  805. main/output/output_sbus.c:86:51: warning: unused parameter 'config' [-Wunused-parameter]
  806.  static void output_sbus_close(void *output, void *config)
  807.                                              ~~~~~~^~~~~~
  808.   CC      main/output/output_fport.c
  809. main/output/output_fport.c: In function 'output_fport_serial_byte_callback':
  810. main/output/output_fport.c:49:68: warning: unused parameter 'port' [-Wunused-parameter]
  811.  static void output_fport_serial_byte_callback(const serial_port_t *port, uint8_t c, void *user_data)
  812.                                                ~~~~~~~~~~~~~~~~~~~~~^~~~
  813. main/output/output_fport.c: In function 'fport_write_payload':
  814. main/output/output_fport.c:106:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  815.      for (int ii = 0; ii < size; ii++, ptr++)
  816.                          ^
  817. main/output/output_fport.c: In function 'output_fport_receive':
  818. main/output/output_fport.c:162:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  819.      while (n < output_fport->buf_pos)
  820.               ^
  821. main/output/output_fport.c: In function 'output_fport_update':
  822. main/output/output_fport.c:199:94: warning: unused parameter 'now' [-Wunused-parameter]
  823.  static bool output_fport_update(void *output, rc_data_t *data, bool update_rc, time_micros_t now)
  824.                                                                                 ~~~~~~~~~~~~~~^~~
  825. main/output/output_fport.c: In function 'output_fport_close':
  826. main/output/output_fport.c:232:52: warning: unused parameter 'config' [-Wunused-parameter]
  827.  static void output_fport_close(void *output, void *config)
  828.                                               ~~~~~~^~~~~~
  829.   CC      main/output/output.c
  830. main/output/output.c: In function 'output_msp_configure_polling_inav':
  831. main/output/output.c:112:57: warning: unused parameter 'output' [-Wunused-parameter]
  832.  static void output_msp_configure_polling_inav(output_t *output)
  833.                                                ~~~~~~~~~~^~~~~~
  834. main/output/output.c: In function 'output_msp_configure_polling_betaflight':
  835. main/output/output.c:116:63: warning: unused parameter 'output' [-Wunused-parameter]
  836.  static void output_msp_configure_polling_betaflight(output_t *output)
  837.                                                      ~~~~~~~~~~^~~~~~
  838. In file included from /home/jacob/tmp/raven/main/air/air.h:8,
  839.                  from /home/jacob/tmp/raven/main/config/config.h:7,
  840.                  from /home/jacob/tmp/raven/main/config/settings.h:6,
  841.                  from main/output/output.c:6:
  842. main/output/output.c: In function 'output_msp_callback':
  843. /home/jacob/tmp/raven/main/util/macros.h:20:9: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  844.       _a > _b ? _b : _a; })
  845.          ^
  846. main/output/output.c:162:31: note: in expansion of macro 'MIN'
  847.              size_t val_size = MIN(sizeof(sval) - 1, size);
  848.                                ^~~
  849. /home/jacob/tmp/raven/main/util/macros.h:20:16: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare]
  850.       _a > _b ? _b : _a; })
  851.                 ^~
  852. main/output/output.c:162:31: note: in expansion of macro 'MIN'
  853.              size_t val_size = MIN(sizeof(sval) - 1, size);
  854.                                ^~~
  855. main/output/output.c:137:45: warning: unused parameter 'conn' [-Wunused-parameter]
  856.  static void output_msp_callback(msp_conn_t *conn, uint16_t cmd, const void *payload, int size, void *callback_data)
  857.                                  ~~~~~~~~~~~~^~~~
  858.   CC      main/output/output_air_rf_power_test.c
  859. main/output/output_air_rf_power_test.c: In function 'output_air_rf_power_test_open':
  860. main/output/output_air_rf_power_test.c:47:61: warning: unused parameter 'config' [-Wunused-parameter]
  861.  static bool output_air_rf_power_test_open(void *data, void *config)
  862.                                                        ~~~~~~^~~~~~
  863. main/output/output_air_rf_power_test.c: In function 'output_air_rf_power_test_update':
  864. main/output/output_air_rf_power_test.c:58:68: warning: unused parameter 'rc_data' [-Wunused-parameter]
  865.  static bool output_air_rf_power_test_update(void *data, rc_data_t *rc_data, bool update_rc, time_micros_t now)
  866.                                                          ~~~~~~~~~~~^~~~~~~
  867. main/output/output_air_rf_power_test.c:58:82: warning: unused parameter 'update_rc' [-Wunused-parameter]
  868.  static bool output_air_rf_power_test_update(void *data, rc_data_t *rc_data, bool update_rc, time_micros_t now)
  869.                                                                                   ^
  870. main/output/output_air_rf_power_test.c: In function 'output_air_rf_power_test_close':
  871. main/output/output_air_rf_power_test.c:113:62: warning: unused parameter 'config' [-Wunused-parameter]
  872.  static void output_air_rf_power_test_close(void *data, void *config)
  873.                                                         ~~~~~~^~~~~~
  874.   CC      main/output/output_air.c
  875. main/output/output_air.c: In function 'output_air_radio_callback':
  876. main/output/output_air.c:30:52: warning: unused parameter 'radio' [-Wunused-parameter]
  877.  static void output_air_radio_callback(air_radio_t *radio, air_radio_callback_reason_e reason, void *data)
  878.                                        ~~~~~~~~~~~~~^~~~~
  879. main/output/output_air.c: In function 'output_air_reset_ack':
  880. main/output/output_air.c:83:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  881.      for (int ii = 0; ii < ARRAY_COUNT(data->channels); ii++)
  882.                          ^
  883. main/output/output_air.c:87:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  884.      for (int ii = 0; ii < ARRAY_COUNT(data->telemetry_uplink); ii++)
  885.                          ^
  886. main/output/output_air.c:81:48: warning: unused parameter 'output_air' [-Wunused-parameter]
  887.  static void output_air_reset_ack(output_air_t *output_air, rc_data_t *data)
  888.                                   ~~~~~~~~~~~~~~^~~~~~~~~~
  889. main/output/output_air.c: In function 'output_air_stop_ack':
  890. main/output/output_air.c:95:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  891.      for (int ii = 0; ii < ARRAY_COUNT(data->channels); ii++)
  892.                          ^
  893. main/output/output_air.c:99:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  894.      for (int ii = 0; ii < ARRAY_COUNT(data->telemetry_uplink); ii++)
  895.                          ^
  896. main/output/output_air.c:93:47: warning: unused parameter 'output_air' [-Wunused-parameter]
  897.  static void output_air_stop_ack(output_air_t *output_air, rc_data_t *data)
  898.                                  ~~~~~~~~~~~~~~^~~~~~~~~~
  899. main/output/output_air.c: In function 'output_air_stream_cmd_decoded':
  900. main/output/output_air.c:183:115: warning: unused parameter 'now' [-Wunused-parameter]
  901.  static void output_air_stream_cmd_decoded(void *user, air_cmd_e cmd, const void *data, size_t size, time_micros_t now)
  902.                                                                                                      ~~~~~~~~~~~~~~^~~
  903. main/output/output_air.c: In function 'output_air_feed_stream':
  904. main/output/output_air.c:243:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  905.      for (int ii = 4; ii < data->channels_num; ii++)
  906.                          ^
  907. main/output/output_air.c: In function 'output_air_msp_before_feed':
  908. main/output/output_air.c:296:51: warning: unused parameter 'msp_air' [-Wunused-parameter]
  909.  static void output_air_msp_before_feed(msp_air_t *msp_air, size_t size, void *user_data)
  910.                                         ~~~~~~~~~~~^~~~~~~
  911. main/output/output_air.c:296:67: warning: unused parameter 'size' [-Wunused-parameter]
  912.  static void output_air_msp_before_feed(msp_air_t *msp_air, size_t size, void *user_data)
  913.                                                             ~~~~~~~^~~~
  914. main/output/output_air.c: In function 'output_air_send_control_packet':
  915. main/output/output_air.c:384:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  916.      while (p < sizeof(pkt.data) && air_stream_pop_output(&output_air->air_stream, &c))
  917.               ^
  918. main/output/output_air.c: In function 'output_air_recv_packet':
  919. main/output/output_air.c:414:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  920.              for (int ii = 0; ii < ARRAY_COUNT(data->channels); ii++)
  921.                                  ^
  922. main/output/output_air.c:418:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  923.              for (int ii = 0; ii < ARRAY_COUNT(data->telemetry_uplink); ii++)
  924.                                  ^
  925. In file included from main/output/output_air.c:1:
  926. main/output/output_air.c: In function 'output_air_open':
  927. main/output/output_air.c:456:16: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
  928.      LOG_I(TAG, "Open with key %u", output_air->air.pairing.key);
  929.                 ^~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  930. /home/jacob/tmp/raven/components/hal-stm32/include/hal/log.h:17:65: note: in definition of macro 'LOG_I'
  931.  #define LOG_I(tag, format, ...) log_printf(LOG_LEVEL_INFO, tag, format, ##__VA_ARGS__)
  932.                                                                  ^~~~~~
  933. main/output/output_air.c: In function 'output_air_update':
  934. main/output/output_air.c:471:67: warning: unused parameter 'update_rc' [-Wunused-parameter]
  935.  static bool output_air_update(void *output, rc_data_t *data, bool update_rc, time_micros_t now)
  936.                                                                    ^
  937. main/output/output_air.c: In function 'output_air_close':
  938. main/output/output_air.c:524:50: warning: unused parameter 'config' [-Wunused-parameter]
  939.  static void output_air_close(void *output, void *config)
  940.                                             ~~~~~~^~~~~~
  941.   CC      main/output/output_msp.c
  942. main/output/output_msp.c: In function 'output_msp_message_callback':
  943. main/output/output_msp.c:147:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  944.          if (size < sizeof(msp_raw_gps_t))
  945.                   ^
  946. main/output/output_msp.c:179:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  947.          if (size < sizeof(msp_analog_t))
  948.                   ^
  949. main/output/output_msp.c:205:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  950.          if (size < sizeof(msp_current_meter_config_t))
  951.                   ^
  952. main/output/output_msp.c:215:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  953.          if (size < sizeof(msp_altitude_t))
  954.                   ^
  955. main/output/output_msp.c:226:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  956.          if (size < sizeof(msp_attitude_t))
  957.                   ^
  958. main/output/output_msp.c:240:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  959.          if (size < sizeof(msp_raw_imu_t))
  960.                   ^
  961. main/output/output_msp.c:252:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  962.          if (size < sizeof(msp_misc_t))
  963.                   ^
  964. main/output/output_msp.c:141:53: warning: unused parameter 'conn' [-Wunused-parameter]
  965.  static void output_msp_message_callback(msp_conn_t *conn, uint16_t cmd, const void *payload, int size, void *arg)
  966.                                          ~~~~~~~~~~~~^~~~
  967. main/output/output_msp.c: In function 'output_msp_close':
  968. main/output/output_msp.c:344:47: warning: unused parameter 'config' [-Wunused-parameter]
  969.  static void output_msp_close(void *out, void *config)
  970.                                          ~~~~~~^~~~~~
  971.   CC      main/output/output_crsf.c
  972. main/output/output_crsf.c: In function 'output_crsf_close':
  973. main/output/output_crsf.c:191:48: warning: unused parameter 'config' [-Wunused-parameter]
  974.  static void output_crsf_close(void *out, void *config)
  975.                                           ~~~~~~^~~~~~
  976.   CC      main/output/output_none.c
  977. main/output/output_none.c: In function 'output_none_open':
  978. main/output/output_none.c:3:36: warning: unused parameter 'output' [-Wunused-parameter]
  979.  static bool output_none_open(void *output, void *config)
  980.                               ~~~~~~^~~~~~
  981. main/output/output_none.c:3:50: warning: unused parameter 'config' [-Wunused-parameter]
  982.  static bool output_none_open(void *output, void *config)
  983.                                             ~~~~~~^~~~~~
  984. main/output/output_none.c: In function 'output_none_update':
  985. main/output/output_none.c:8:38: warning: unused parameter 'output' [-Wunused-parameter]
  986.  static bool output_none_update(void *output, rc_data_t *data, bool update_rc, time_micros_t now)
  987.                                 ~~~~~~^~~~~~
  988. main/output/output_none.c:8:57: warning: unused parameter 'data' [-Wunused-parameter]
  989.  static bool output_none_update(void *output, rc_data_t *data, bool update_rc, time_micros_t now)
  990.                                               ~~~~~~~~~~~^~~~
  991. main/output/output_none.c:8:68: warning: unused parameter 'update_rc' [-Wunused-parameter]
  992.  static bool output_none_update(void *output, rc_data_t *data, bool update_rc, time_micros_t now)
  993.                                                                     ^
  994. main/output/output_none.c:8:93: warning: unused parameter 'now' [-Wunused-parameter]
  995.  static bool output_none_update(void *output, rc_data_t *data, bool update_rc, time_micros_t now)
  996.                                                                                ~~~~~~~~~~~~~~^~~
  997. main/output/output_none.c: In function 'output_none_close':
  998. main/output/output_none.c:13:37: warning: unused parameter 'output' [-Wunused-parameter]
  999.  static void output_none_close(void *output, void *config)
  1000.                                ~~~~~~^~~~~~
  1001. main/output/output_none.c:13:51: warning: unused parameter 'config' [-Wunused-parameter]
  1002.  static void output_none_close(void *output, void *config)
  1003.                                              ~~~~~~^~~~~~
  1004.   CC      main/output/output_air_bind.c
  1005. main/output/output_air_bind.c: In function 'output_air_bind_open':
  1006. main/output/output_air_bind.c:11:52: warning: unused parameter 'config' [-Wunused-parameter]
  1007.  static bool output_air_bind_open(void *data, void *config)
  1008.                                               ~~~~~~^~~~~~
  1009. main/output/output_air_bind.c: In function 'output_air_bind_update':
  1010. main/output/output_air_bind.c:25:59: warning: unused parameter 'rc_data' [-Wunused-parameter]
  1011.  static bool output_air_bind_update(void *data, rc_data_t *rc_data, bool update_rc, time_micros_t now)
  1012.                                                 ~~~~~~~~~~~^~~~~~~
  1013. main/output/output_air_bind.c:25:73: warning: unused parameter 'update_rc' [-Wunused-parameter]
  1014.  static bool output_air_bind_update(void *data, rc_data_t *rc_data, bool update_rc, time_micros_t now)
  1015.                                                                          ^
  1016. main/output/output_air_bind.c: In function 'output_air_bind_close':
  1017. main/output/output_air_bind.c:82:53: warning: unused parameter 'config' [-Wunused-parameter]
  1018.  static void output_air_bind_close(void *data, void *config)
  1019.                                                ~~~~~~^~~~~~
  1020. main/output/output_air_bind.c: In function 'output_air_bind_accept_request':
  1021. main/output/output_air_bind.c:103:50: warning: unused parameter 'data' [-Wunused-parameter]
  1022.  static bool output_air_bind_accept_request(void *data)
  1023.                                             ~~~~~~^~~~
  1024.   CC      main/platform/system.c
  1025.   CC      main/platform/dispatch.c
  1026.   CC      main/platform/storage.c
  1027.   CC      main/protocols/ibus.c
  1028. main/protocols/ibus.c: In function 'ibus_frame_crc_check':
  1029. main/protocols/ibus.c:11:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  1030.      for (int i = 0; i < sizeof(ibus_frame_t) - 2; i++)
  1031.                        ^
  1032. main/protocols/ibus.c: In function 'ibus_port_decode':
  1033. main/protocols/ibus.c:41:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  1034.          if (end - start < total_frame_size)
  1035.                          ^
  1036. main/protocols/ibus.c:63:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  1037.          if (start > port->buf_pos)
  1038.                    ^
  1039. main/protocols/ibus.c:68:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  1040.          if (start != port->buf_pos)
  1041.                    ^~
  1042.   CC      main/protocols/crsf_units.c
  1043.   CC      main/protocols/crsf.c
  1044. main/protocols/crsf.c: In function 'crsf_port_decode':
  1045. main/protocols/crsf.c:117:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  1046.          if (end - start < total_frame_size)
  1047.                          ^
  1048. main/protocols/crsf.c:141:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  1049.          if (start > port->buf_pos)
  1050.                    ^
  1051. main/protocols/crsf.c:146:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  1052.          if (start != port->buf_pos)
  1053.                    ^~
  1054.   CC      main/protocols/smartport.c
  1055. main/protocols/smartport.c: In function 'smartport_payload_checksum':
  1056. main/protocols/smartport.c:124:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  1057.      for (int ii = 0; ii < sizeof(*payload); ii++)
  1058.                          ^
  1059. main/protocols/smartport.c: In function 'smartport_master_msp_write_chunk':
  1060. main/protocols/smartport.c:370:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  1061.      for (int ii = 0; ii < sizeof(smartport_msp_req_chunk_t) - 2; ii++)
  1062.                          ^
  1063.   CC      main/protocols/sbus.c
  1064.   CC      main/rc/rc_data.c
  1065. main/rc/rc_data.c: In function 'rc_data_reset_input':
  1066. main/rc/rc_data.c:25:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  1067.      for (int ii = 0; ii < ARRAY_COUNT(input_downlink_telemetry); ii++)
  1068.                          ^
  1069. main/rc/rc_data.c:34:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  1070.      for (int ii = 0; ii < ARRAY_COUNT(data->telemetry_uplink); ii++)
  1071.                          ^
  1072. main/rc/rc_data.c: In function 'rc_data_reset_output':
  1073. main/rc/rc_data.c:61:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  1074.          for (int jj = 0; jj < ARRAY_COUNT(input_downlink_telemetry); jj++)
  1075.                              ^
  1076. main/rc/rc_data.c:75:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  1077.      for (int ii = 0; ii < ARRAY_COUNT(data->telemetry_downlink); ii++)
  1078.                          ^
  1079.   CC      main/rc/failsafe.c
  1080. main/rc/failsafe.c: In function 'failsafe_reset_interval':
  1081. main/rc/failsafe.c:41:5: warning: implicit declaration of function 'assert' [-Wimplicit-function-declaration]
  1082.      assert(fs->max_reset_interval > 0);
  1083.      ^~~~~~
  1084. main/rc/failsafe.c:41:5: note: 'assert' is defined in header '<assert.h>'; did you forget to '#include <assert.h>'?
  1085. main/rc/failsafe.c:2:1:
  1086. +#include <assert.h>
  1087.  
  1088. main/rc/failsafe.c:41:5:
  1089.      assert(fs->max_reset_interval > 0);
  1090.      ^~~~~~
  1091.   CC      main/rc/rc.c
  1092. main/rc/rc.c: In function 'rc_get_tx_rf_power':
  1093. main/rc/rc.c:71:37: warning: unused parameter 'rc' [-Wunused-parameter]
  1094.  static int rc_get_tx_rf_power(rc_t *rc)
  1095.                                ~~~~~~^~
  1096. In file included from /home/jacob/tmp/raven/main/air/air.h:8,
  1097.                  from main/rc/rc.c:7:
  1098. main/rc/rc.c: In function 'rc_data_initialize':
  1099. /home/jacob/tmp/raven/main/util/macros.h:20:9: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  1100.       _a > _b ? _b : _a; })
  1101.          ^
  1102. main/rc/rc.c:142:33: note: in expansion of macro 'MIN'
  1103.          rc->data.channels_num = MIN(channels_num, RC_CHANNELS_NUM);
  1104.                                  ^~~
  1105. /home/jacob/tmp/raven/main/util/macros.h:20:16: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare]
  1106.       _a > _b ? _b : _a; })
  1107.                 ^~
  1108. main/rc/rc.c:142:33: note: in expansion of macro 'MIN'
  1109.          rc->data.channels_num = MIN(channels_num, RC_CHANNELS_NUM);
  1110.                                  ^~~
  1111. main/rc/rc.c: In function 'rc_should_enable_power_test':
  1112. main/rc/rc.c:162:47: warning: unused parameter 'rc' [-Wunused-parameter]
  1113.  static bool rc_should_enable_power_test(rc_t *rc)
  1114.                                          ~~~~~~^~
  1115. main/rc/rc.c: In function 'rc_send_rmp':
  1116. main/rc/rc.c:589:25: warning: unused parameter 'rmp' [-Wunused-parameter]
  1117.  bool rc_send_rmp(rmp_t *rmp, rmp_msg_t *msg, void *user_data)
  1118.                   ~~~~~~~^~~
  1119. main/rc/rc.c: In function 'rc_rmp_alloc_resp_ctx':
  1120. main/rc/rc.c:620:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  1121.      for (int ii = 0; ii < ARRAY_COUNT(rc->state.msp_resp_ctx); ii++)
  1122.                          ^
  1123. main/rc/rc.c:634:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  1124.          for (int ii = 0; ii < ARRAY_COUNT(rc->state.msp_resp_ctx); ii++)
  1125.                              ^
  1126. In file included from /home/jacob/tmp/raven/main/air/air.h:8,
  1127.                  from main/rc/rc.c:7:
  1128. main/rc/rc.c: In function 'rc_rmp_msp_request_response_handler':
  1129. /home/jacob/tmp/raven/main/util/macros.h:20:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  1130.       _a > _b ? _b : _a; })
  1131.          ^
  1132. main/rc/rc.c:661:23: note: in expansion of macro 'MIN'
  1133.      size_t cpy_size = MIN(size, sizeof(resp.payload));
  1134.                        ^~~
  1135. /home/jacob/tmp/raven/main/util/macros.h:20:21: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare]
  1136.       _a > _b ? _b : _a; })
  1137.                      ^~
  1138. main/rc/rc.c:661:23: note: in expansion of macro 'MIN'
  1139.      size_t cpy_size = MIN(size, sizeof(resp.payload));
  1140.                        ^~~
  1141. main/rc/rc.c:652:61: warning: unused parameter 'conn' [-Wunused-parameter]
  1142.  static void rc_rmp_msp_request_response_handler(msp_conn_t *conn, uint16_t cmd, const void *payload, int size, void *callback_data)
  1143.                                                  ~~~~~~~~~~~~^~~~
  1144. main/rc/rc.c: In function 'rc_rmp_msp_request_handler':
  1145. main/rc/rc.c:669:47: warning: unused parameter 'rmp' [-Wunused-parameter]
  1146.  static void rc_rmp_msp_request_handler(rmp_t *rmp, rmp_req_t *req, void *user_data)
  1147.                                         ~~~~~~~^~~
  1148. main/rc/rc.c: In function 'rc_rmp_msp_response_handler':
  1149. main/rc/rc.c:698:48: warning: unused parameter 'rmp' [-Wunused-parameter]
  1150.  static void rc_rmp_msp_response_handler(rmp_t *rmp, rmp_req_t *req, void *user_data)
  1151.                                          ~~~~~~~^~~
  1152. main/rc/rc.c: In function 'rc_rmp_msp_port':
  1153. main/rc/rc.c:720:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  1154.      for (int ii = 0; ii < ARRAY_COUNT(rc->state.rmp_msp_port); ii++)
  1155.                          ^
  1156. main/rc/rc.c:727:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  1157.      for (int ii = 0; ii < ARRAY_COUNT(rc->state.rmp_msp_port); ii++)
  1158.                          ^
  1159. main/rc/rc.c: In function 'rc_msp_response_callback':
  1160. main/rc/rc.c:744:50: warning: unused parameter 'conn' [-Wunused-parameter]
  1161.  static void rc_msp_response_callback(msp_conn_t *conn, uint16_t cmd, const void *payload, int size, void *callback_data)
  1162.                                       ~~~~~~~~~~~~^~~~
  1163. In file included from /home/jacob/tmp/raven/main/air/air.h:8,
  1164.                  from main/rc/rc.c:7:
  1165. main/rc/rc.c: In function 'rc_msp_request_callback':
  1166. /home/jacob/tmp/raven/main/util/macros.h:20:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  1167.       _a > _b ? _b : _a; })
  1168.          ^
  1169. main/rc/rc.c:775:35: note: in expansion of macro 'MIN'
  1170.                  size_t cpy_size = MIN(size, sizeof(req.payload));
  1171.                                    ^~~
  1172. /home/jacob/tmp/raven/main/util/macros.h:20:21: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare]
  1173.       _a > _b ? _b : _a; })
  1174.                      ^~
  1175. main/rc/rc.c:775:35: note: in expansion of macro 'MIN'
  1176.                  size_t cpy_size = MIN(size, sizeof(req.payload));
  1177.                                    ^~~
  1178. main/rc/rc.c: In function 'rc_should_update_output':
  1179. main/rc/rc.c:937:50: warning: unused parameter 'rc' [-Wunused-parameter]
  1180.  static inline bool rc_should_update_output(rc_t *rc)
  1181.                                             ~~~~~~^~
  1182. main/rc/rc.c: In function 'rc_get_mode':
  1183. main/rc/rc.c:990:35: warning: unused parameter 'rc' [-Wunused-parameter]
  1184.  rc_mode_e rc_get_mode(const rc_t *rc)
  1185.                        ~~~~~~~~~~~~^~
  1186. main/rc/rc.c: In function 'rc_get_alternative_pairings':
  1187. main/rc/rc.c:1216:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  1188.              if (count < size)
  1189.                        ^
  1190. In file included from /home/jacob/tmp/raven/main/air/air.h:8,
  1191.                  from main/rc/rc.c:7:
  1192. /home/jacob/tmp/raven/main/util/macros.h:20:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  1193.       _a > _b ? _b : _a; })
  1194.          ^
  1195. main/rc/rc.c:1259:12: note: in expansion of macro 'MIN'
  1196.      return MIN(count, size);
  1197.             ^~~
  1198. /home/jacob/tmp/raven/main/util/macros.h:20:21: warning: operand of ?: changes signedness from 'int' to 'size_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare]
  1199.       _a > _b ? _b : _a; })
  1200.                      ^~
  1201. main/rc/rc.c:1259:12: note: in expansion of macro 'MIN'
  1202.      return MIN(count, size);
  1203.             ^~~
  1204.   CC      main/rc/rc_rmp.c
  1205. main/rc/rc_rmp.c: In function 'rc_rmp_port_handler':
  1206. main/rc/rc_rmp.c:27:40: warning: unused parameter 'rmp' [-Wunused-parameter]
  1207.  static void rc_rmp_port_handler(rmp_t *rmp, rmp_req_t *req, void *user_data)
  1208.                                  ~~~~~~~^~~
  1209.   CC      main/rc/telemetry.c
  1210. main/rc/telemetry.c: In function 'telemetry_format_str':
  1211. main/rc/telemetry.c:16:71: warning: unused parameter 'buf' [-Wunused-parameter]
  1212.  static const char *telemetry_format_str(const telemetry_t *val, char *buf, size_t bufsize)
  1213.                                                                  ~~~~~~^~~
  1214. main/rc/telemetry.c:16:83: warning: unused parameter 'bufsize' [-Wunused-parameter]
  1215.  static const char *telemetry_format_str(const telemetry_t *val, char *buf, size_t bufsize)
  1216.                                                                             ~~~~~~~^~~~~~~
  1217. main/rc/telemetry.c: In function 'telemetry_format_mah_i32':
  1218. main/rc/telemetry.c:55:30: warning: format '%d' expects argument of type 'int', but argument 4 has type 'int32_t' {aka 'const long int'} [-Wformat=]
  1219.      snprintf(buf, bufsize, "%dmAh", val->val.i32);
  1220.                              ~^      ~~~~~~~~~~~~
  1221.                              %ld
  1222. main/rc/telemetry.c: In function 'telemetry_format_gps_fix':
  1223. main/rc/telemetry.c:107:75: warning: unused parameter 'buf' [-Wunused-parameter]
  1224.  static const char *telemetry_format_gps_fix(const telemetry_t *val, char *buf, size_t bufsize)
  1225.                                                                      ~~~~~~^~~
  1226. main/rc/telemetry.c:107:87: warning: unused parameter 'bufsize' [-Wunused-parameter]
  1227.  static const char *telemetry_format_gps_fix(const telemetry_t *val, char *buf, size_t bufsize)
  1228.                                                                                 ~~~~~~~^~~~~~~
  1229. main/rc/telemetry.c: In function 'telemetry_get_u8':
  1230. main/rc/telemetry.c:285:54: warning: unused parameter 'id' [-Wunused-parameter]
  1231.  uint8_t telemetry_get_u8(const telemetry_t *val, int id)
  1232.                                                   ~~~~^~
  1233. main/rc/telemetry.c: In function 'telemetry_get_i8':
  1234. main/rc/telemetry.c:291:53: warning: unused parameter 'id' [-Wunused-parameter]
  1235.  int8_t telemetry_get_i8(const telemetry_t *val, int id)
  1236.                                                  ~~~~^~
  1237. main/rc/telemetry.c: In function 'telemetry_get_u16':
  1238. main/rc/telemetry.c:297:56: warning: unused parameter 'id' [-Wunused-parameter]
  1239.  uint16_t telemetry_get_u16(const telemetry_t *val, int id)
  1240.                                                     ~~~~^~
  1241. main/rc/telemetry.c: In function 'telemetry_get_i16':
  1242. main/rc/telemetry.c:303:55: warning: unused parameter 'id' [-Wunused-parameter]
  1243.  int16_t telemetry_get_i16(const telemetry_t *val, int id)
  1244.                                                    ~~~~^~
  1245. main/rc/telemetry.c: In function 'telemetry_get_u32':
  1246. main/rc/telemetry.c:309:56: warning: unused parameter 'id' [-Wunused-parameter]
  1247.  uint32_t telemetry_get_u32(const telemetry_t *val, int id)
  1248.                                                     ~~~~^~
  1249. main/rc/telemetry.c: In function 'telemetry_get_i32':
  1250. main/rc/telemetry.c:315:55: warning: unused parameter 'id' [-Wunused-parameter]
  1251.  int32_t telemetry_get_i32(const telemetry_t *val, int id)
  1252.                                                    ~~~~^~
  1253. main/rc/telemetry.c: In function 'telemetry_get_str':
  1254. main/rc/telemetry.c:321:59: warning: unused parameter 'id' [-Wunused-parameter]
  1255.  const char *telemetry_get_str(const telemetry_t *val, int id)
  1256.                                                        ~~~~^~
  1257. main/rc/telemetry.c: In function 'telemetry_set_u8':
  1258. main/rc/telemetry.c:327:45: warning: unused parameter 'id' [-Wunused-parameter]
  1259.  bool telemetry_set_u8(telemetry_t *val, int id, uint8_t v, time_micros_t now)
  1260.                                          ~~~~^~
  1261. main/rc/telemetry.c: In function 'telemetry_set_i8':
  1262. main/rc/telemetry.c:336:45: warning: unused parameter 'id' [-Wunused-parameter]
  1263.  bool telemetry_set_i8(telemetry_t *val, int id, int8_t v, time_micros_t now)
  1264.                                          ~~~~^~
  1265. main/rc/telemetry.c: In function 'telemetry_set_u16':
  1266. main/rc/telemetry.c:345:46: warning: unused parameter 'id' [-Wunused-parameter]
  1267.  bool telemetry_set_u16(telemetry_t *val, int id, uint16_t v, time_micros_t now)
  1268.                                           ~~~~^~
  1269. main/rc/telemetry.c: In function 'telemetry_set_i16':
  1270. main/rc/telemetry.c:354:46: warning: unused parameter 'id' [-Wunused-parameter]
  1271.  bool telemetry_set_i16(telemetry_t *val, int id, int16_t v, time_micros_t now)
  1272.                                           ~~~~^~
  1273. main/rc/telemetry.c: In function 'telemetry_set_u32':
  1274. main/rc/telemetry.c:363:46: warning: unused parameter 'id' [-Wunused-parameter]
  1275.  bool telemetry_set_u32(telemetry_t *val, int id, uint32_t v, time_micros_t now)
  1276.                                           ~~~~^~
  1277. main/rc/telemetry.c: In function 'telemetry_set_i32':
  1278. main/rc/telemetry.c:372:46: warning: unused parameter 'id' [-Wunused-parameter]
  1279.  bool telemetry_set_i32(telemetry_t *val, int id, int32_t v, time_micros_t now)
  1280.                                           ~~~~^~
  1281. main/rc/telemetry.c: In function 'telemetry_set_str':
  1282. main/rc/telemetry.c:381:46: warning: unused parameter 'id' [-Wunused-parameter]
  1283.  bool telemetry_set_str(telemetry_t *val, int id, const char *str, time_micros_t now)
  1284.                                           ~~~~^~
  1285.   CC      main/rmp/rmp.c
  1286. main/rmp/rmp.c: In function 'rmp_update_peer_authentication':
  1287. main/rmp/rmp.c:60:51: warning: unused parameter 'rmp' [-Wunused-parameter]
  1288.  static void rmp_update_peer_authentication(rmp_t *rmp, rmp_peer_t *peer)
  1289.                                             ~~~~~~~^~~
  1290. main/rmp/rmp.c: In function 'rmp_get_peer_key':
  1291. main/rmp/rmp.c:90:37: warning: unused parameter 'rmp' [-Wunused-parameter]
  1292.  static bool rmp_get_peer_key(rmp_t *rmp, air_key_t *key, const air_addr_t *addr)
  1293.                               ~~~~~~~^~~
  1294. main/rmp/rmp.c: In function 'rmp_get_message_signature':
  1295. main/rmp/rmp.c:101:46: warning: unused parameter 'rmp' [-Wunused-parameter]
  1296.  static void rmp_get_message_signature(rmp_t *rmp, uint8_t *signature, rmp_msg_t *msg, air_key_t *key)
  1297.                                        ~~~~~~~^~~
  1298. main/rmp/rmp.c: In function 'rmp_device_handler':
  1299. main/rmp/rmp.c:229:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  1300.          for (int ii = 0; ii < sizeof(frame->device_info.name); ii++)
  1301.                              ^
  1302. main/rmp/rmp.c:212:66: warning: unused parameter 'user_data' [-Wunused-parameter]
  1303.  static void rmp_device_handler(rmp_t *rmp, rmp_req_t *req, void *user_data)
  1304.                                                             ~~~~~~^~~~~~~~~
  1305. main/rmp/rmp.c: In function 'rmp_send_rc':
  1306. main/rmp/rmp.c:268:66: warning: unused parameter 'now' [-Wunused-parameter]
  1307.  static bool rmp_send_rc(rmp_t *rmp, rmp_msg_t *msg, time_ticks_t now)
  1308.                                                      ~~~~~~~~~~~~~^~~
  1309. main/rmp/rmp.c: In function 'rmp_send_p2p_ping':
  1310. main/rmp/rmp.c:278:56: warning: unused parameter 'now' [-Wunused-parameter]
  1311.  static void rmp_send_p2p_ping(rmp_t *rmp, time_ticks_t now)
  1312.                                            ~~~~~~~~~~~~~^~~
  1313.   CC      main/rmp/rmp_air.c
  1314.   CC      main/ui/screen.c
  1315.   CC      main/ui/ui.c
  1316. main/ui/ui.c: In function 'ui_settings_handler':
  1317. main/ui/ui.c:107:50: warning: unused parameter 'setting' [-Wunused-parameter]
  1318.  static void ui_settings_handler(const setting_t *setting, void *user_data)
  1319.                                  ~~~~~~~~~~~~~~~~~^~~~~~~
  1320. main/ui/ui.c:107:65: warning: unused parameter 'user_data' [-Wunused-parameter]
  1321.  static void ui_settings_handler(const setting_t *setting, void *user_data)
  1322.                                                            ~~~~~~^~~~~~~~~
  1323. main/ui/ui.c: In function 'ui_screen_is_available':
  1324. main/ui/ui.c:207:41: warning: unused parameter 'ui' [-Wunused-parameter]
  1325.  bool ui_screen_is_available(const ui_t *ui)
  1326.                              ~~~~~~~~~~~~^~
  1327. main/ui/ui.c: In function 'ui_screen_splash':
  1328. main/ui/ui.c:216:29: warning: unused parameter 'ui' [-Wunused-parameter]
  1329.  void ui_screen_splash(ui_t *ui)
  1330.                        ~~~~~~^~
  1331. main/ui/ui.c: In function 'ui_is_animating':
  1332. main/ui/ui.c:223:34: warning: unused parameter 'ui' [-Wunused-parameter]
  1333.  bool ui_is_animating(const ui_t *ui)
  1334.                       ~~~~~~~~~~~~^~
  1335. main/ui/ui.c: In function 'ui_shutdown':
  1336. main/ui/ui.c:271:24: warning: unused parameter 'ui' [-Wunused-parameter]
  1337.  void ui_shutdown(ui_t *ui)
  1338.                   ~~~~~~^~
  1339. main/ui/ui.c: In function 'ui_set_screen_set_autooff':
  1340. main/ui/ui.c:281:38: warning: unused parameter 'ui' [-Wunused-parameter]
  1341.  void ui_set_screen_set_autooff(ui_t *ui, ui_screen_autooff_e autooff)
  1342.                                 ~~~~~~^~
  1343. main/ui/ui.c:281:62: warning: unused parameter 'autooff' [-Wunused-parameter]
  1344.  void ui_set_screen_set_autooff(ui_t *ui, ui_screen_autooff_e autooff)
  1345.                                           ~~~~~~~~~~~~~~~~~~~~^~~~~~~
  1346.   CC      main/ui/led.c
  1347. main/ui/led.c: In function 'led_start_mode':
  1348. main/ui/led.c:325:39: warning: unused parameter 'mode' [-Wunused-parameter]
  1349.  static void led_start_mode(led_mode_e mode)
  1350.                             ~~~~~~~~~~~^~~~
  1351. main/ui/led.c: In function 'led_start_pattern':
  1352. main/ui/led.c:390:62: warning: unused parameter 'pattern' [-Wunused-parameter]
  1353.  void led_start_pattern(led_id_e led_id, const led_pattern_t *pattern)
  1354.                                          ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
  1355.   CC      main/ui/u8g2_hal.c
  1356.   CC      main/ui/menu.c
  1357.   CC      main/ui/beeper.c
  1358.   CC      main/ui/button.c
  1359.   CC      main/ui/screen_i2c.c
  1360.   CC      main/util/crc.c
  1361.   CC      main/util/uvarint.c
  1362. main/util/uvarint.c: In function 'uvarint_encode64':
  1363. main/util/uvarint.c:8:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  1364.      for (int ii = 0; ii < size; ii++)
  1365.                          ^
  1366. main/util/uvarint.c: In function 'uvarint_decode64':
  1367. main/util/uvarint.c:28:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  1368.      for (int ii = 0; ii < MIN(size, type_size + 1); ii++)
  1369.                          ^
  1370.   CC      main/util/ringbuffer.c
  1371.   CC      main/util/lpf.c
  1372.   CC      main/util/fec.c
  1373. main/util/fec.c: In function 'fec_encode':
  1374. main/util/fec.c:53:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  1375.      for (int ii = 0; ii < size; ii++)
  1376.                          ^
  1377. main/util/fec.c: In function 'fec_decode':
  1378. main/util/fec.c:70:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  1379.      for (int ii = 0; ii < size; ii += 2)
  1380.                          ^
  1381.   CC      main/util/data_state.c
  1382.   CC      main/util/stringutil.c
  1383.   CC      main/target/platforms/stm32/system.c
  1384.   CC      main/target/platforms/stm32/main.c
  1385. main/target/platforms/stm32/main.c:5:2: warning: #warning temp fix [-Wcpp]
  1386.  #warning temp fix
  1387.   ^~~~~~~
  1388. main/target/platforms/stm32/main.c: In function 'assert':
  1389. main/target/platforms/stm32/main.c:6:17: warning: unused parameter 'c' [-Wunused-parameter]
  1390.  void assert(int c)
  1391.              ~~~~^
  1392.   CC      main/target/platforms/stm32/serial.c
  1393. main/target/platforms/stm32/serial.c: In function 'serial_port_open':
  1394. main/target/platforms/stm32/serial.c:7:61: warning: unused parameter 'config' [-Wunused-parameter]
  1395.  serial_port_t *serial_port_open(const serial_port_config_t *config)
  1396.                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  1397. main/target/platforms/stm32/serial.c: In function 'serial_port_read':
  1398. main/target/platforms/stm32/serial.c:12:37: warning: unused parameter 'port' [-Wunused-parameter]
  1399.  int serial_port_read(serial_port_t *port, void *buf, size_t size, time_ticks_t timeout)
  1400.                       ~~~~~~~~~~~~~~~^~~~
  1401. main/target/platforms/stm32/serial.c:12:49: warning: unused parameter 'buf' [-Wunused-parameter]
  1402.  int serial_port_read(serial_port_t *port, void *buf, size_t size, time_ticks_t timeout)
  1403.                                            ~~~~~~^~~
  1404. main/target/platforms/stm32/serial.c:12:61: warning: unused parameter 'size' [-Wunused-parameter]
  1405.  int serial_port_read(serial_port_t *port, void *buf, size_t size, time_ticks_t timeout)
  1406.                                                       ~~~~~~~^~~~
  1407. main/target/platforms/stm32/serial.c:12:80: warning: unused parameter 'timeout' [-Wunused-parameter]
  1408.  int serial_port_read(serial_port_t *port, void *buf, size_t size, time_ticks_t timeout)
  1409.                                                                    ~~~~~~~~~~~~~^~~~~~~
  1410. main/target/platforms/stm32/serial.c: In function 'serial_port_begin_write':
  1411. main/target/platforms/stm32/serial.c:17:45: warning: unused parameter 'port' [-Wunused-parameter]
  1412.  bool serial_port_begin_write(serial_port_t *port)
  1413.                               ~~~~~~~~~~~~~~~^~~~
  1414. main/target/platforms/stm32/serial.c: In function 'serial_port_end_write':
  1415. main/target/platforms/stm32/serial.c:22:43: warning: unused parameter 'port' [-Wunused-parameter]
  1416.  bool serial_port_end_write(serial_port_t *port)
  1417.                             ~~~~~~~~~~~~~~~^~~~
  1418. main/target/platforms/stm32/serial.c: In function 'serial_port_write':
  1419. main/target/platforms/stm32/serial.c:27:38: warning: unused parameter 'port' [-Wunused-parameter]
  1420.  int serial_port_write(serial_port_t *port, const void *buf, size_t size)
  1421.                        ~~~~~~~~~~~~~~~^~~~
  1422. main/target/platforms/stm32/serial.c:27:56: warning: unused parameter 'buf' [-Wunused-parameter]
  1423.  int serial_port_write(serial_port_t *port, const void *buf, size_t size)
  1424.                                             ~~~~~~~~~~~~^~~
  1425. main/target/platforms/stm32/serial.c: In function 'serial_port_set_baudrate':
  1426. main/target/platforms/stm32/serial.c:32:46: warning: unused parameter 'port' [-Wunused-parameter]
  1427.  bool serial_port_set_baudrate(serial_port_t *port, uint32_t baudrate)
  1428.                                ~~~~~~~~~~~~~~~^~~~
  1429. main/target/platforms/stm32/serial.c:32:61: warning: unused parameter 'baudrate' [-Wunused-parameter]
  1430.  bool serial_port_set_baudrate(serial_port_t *port, uint32_t baudrate)
  1431.                                                     ~~~~~~~~~^~~~~~~~
  1432. main/target/platforms/stm32/serial.c: In function 'serial_port_close':
  1433. main/target/platforms/stm32/serial.c:37:39: warning: unused parameter 'port' [-Wunused-parameter]
  1434.  void serial_port_close(serial_port_t *port)
  1435.                         ~~~~~~~~~~~~~~~^~~~
  1436. main/target/platforms/stm32/serial.c: In function 'serial_port_is_half_duplex':
  1437. main/target/platforms/stm32/serial.c:41:54: warning: unused parameter 'port' [-Wunused-parameter]
  1438.  bool serial_port_is_half_duplex(const serial_port_t *port)
  1439.                                  ~~~~~~~~~~~~~~~~~~~~~^~~~
  1440. main/target/platforms/stm32/serial.c: In function 'serial_port_half_duplex_mode':
  1441. main/target/platforms/stm32/serial.c:46:77: warning: unused parameter 'port' [-Wunused-parameter]
  1442.  serial_half_duplex_mode_e serial_port_half_duplex_mode(const serial_port_t *port)
  1443.                                                         ~~~~~~~~~~~~~~~~~~~~~^~~~
  1444. main/target/platforms/stm32/serial.c: In function 'serial_port_set_half_duplex_mode':
  1445. main/target/platforms/stm32/serial.c:51:54: warning: unused parameter 'port' [-Wunused-parameter]
  1446.  void serial_port_set_half_duplex_mode(serial_port_t *port, serial_half_duplex_mode_e mode)
  1447.                                        ~~~~~~~~~~~~~~~^~~~
  1448. main/target/platforms/stm32/serial.c:51:86: warning: unused parameter 'mode' [-Wunused-parameter]
  1449.  void serial_port_set_half_duplex_mode(serial_port_t *port, serial_half_duplex_mode_e mode)
  1450.                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
  1451. main/target/platforms/stm32/serial.c: In function 'serial_port_destroy':
  1452. main/target/platforms/stm32/serial.c:55:42: warning: unused parameter 'port' [-Wunused-parameter]
  1453.  void serial_port_destroy(serial_port_t **port)
  1454.                           ~~~~~~~~~~~~~~~~^~~~
  1455. main/target/platforms/stm32/serial.c: In function 'serial_port_io_flags':
  1456. main/target/platforms/stm32/serial.c:59:48: warning: unused parameter 'port' [-Wunused-parameter]
  1457.  io_flags_t serial_port_io_flags(serial_port_t *port)
  1458.                                  ~~~~~~~~~~~~~~~^~~~
  1459.   CC      lib/FreeRTOSv10.1.1/FreeRTOS/Source/portable/MemMang/heap_2.c
  1460. /home/jacob/tmp/raven/main/target/platforms/stm32/libopencm3.rules.mk:179: opencm3_stm32f1.a not found, attempting to rebuild in lib/libopencm3
  1461. make -C lib/libopencm3
  1462. make[2]: Entering directory '/home/jacob/tmp/raven/lib/libopencm3'
  1463.   GENHDR  include/libopencm3/stm32/f0/irq.json
  1464.   GENHDR  include/libopencm3/stm32/f1/irq.json
  1465.   GENHDR  include/libopencm3/stm32/f2/irq.json
  1466.   GENHDR  include/libopencm3/stm32/f3/irq.json
  1467.   GENHDR  include/libopencm3/stm32/f4/irq.json
  1468.   GENHDR  include/libopencm3/stm32/f7/irq.json
  1469.   GENHDR  include/libopencm3/stm32/l0/irq.json
  1470.   GENHDR  include/libopencm3/stm32/l1/irq.json
  1471.   GENHDR  include/libopencm3/stm32/l4/irq.json
  1472.   GENHDR  include/libopencm3/lpc13xx/irq.json
  1473.   GENHDR  include/libopencm3/lpc17xx/irq.json
  1474.   GENHDR  include/libopencm3/lpc43xx/m4/irq.json
  1475.   GENHDR  include/libopencm3/lpc43xx/m0/irq.json
  1476.   GENHDR  include/libopencm3/lm3s/irq.json
  1477.   GENHDR  include/libopencm3/msp432/e4/irq.json
  1478.   GENHDR  include/libopencm3/efm32/tg/irq.json
  1479.   GENHDR  include/libopencm3/efm32/g/irq.json
  1480.   GENHDR  include/libopencm3/efm32/lg/irq.json
  1481.   GENHDR  include/libopencm3/efm32/gg/irq.json
  1482.   GENHDR  include/libopencm3/efm32/hg/irq.json
  1483.   GENHDR  include/libopencm3/efm32/wg/irq.json
  1484.   GENHDR  include/libopencm3/efm32/ezr32wg/irq.json
  1485.   GENHDR  include/libopencm3/sam/3a/irq.json
  1486.   GENHDR  include/libopencm3/sam/3n/irq.json
  1487.   GENHDR  include/libopencm3/sam/3s/irq.json
  1488.   GENHDR  include/libopencm3/sam/3u/irq.json
  1489.   GENHDR  include/libopencm3/sam/3x/irq.json
  1490.   GENHDR  include/libopencm3/sam/4l/irq.json
  1491.   GENHDR  include/libopencm3/sam/d/irq.json
  1492.   GENHDR  include/libopencm3/vf6xx/irq.json
  1493.   BUILD   lib/stm32/f0
  1494.   CC      can.c
  1495.   CC      flash.c
  1496.   CC      rcc.c
  1497.   CC      dma.c
  1498.   CC      rtc.c
  1499.   CC      comparator.c
  1500.   CC      dac.c
  1501.   CC      pwr.c
  1502.   CC      gpio.c
  1503.   CC      timer.c
  1504.   CC      adc.c
  1505.   CC      desig.c
  1506.   CC      gpio_common_all.c
  1507.   CC      gpio_common_f0234.c
  1508.   CC      crc_common_all.c
  1509.   CC      crc_v2.c
  1510.   CC      pwr_common_v1.c
  1511.   CC      iwdg_common_all.c
  1512.   CC      rtc_common_l1f024.c
  1513.   CC      dma_common_l1f013.c
  1514.   CC      exti_common_all.c
  1515.   CC      dac_common_all.c
  1516.   CC      timer_common_all.c
  1517.   CC      timer_common_f0234.c
  1518.   CC      rcc_common_all.c
  1519.   CC      adc_common_v2.c
  1520.   CC      crs_common_all.c
  1521.   CC      flash_common_all.c
  1522.   CC      flash_common_f.c
  1523.   CC      flash_common_f01.c
  1524.   CC      usart_common_all.c
  1525.   CC      usart_common_v2.c
  1526.   CC      i2c_common_v2.c
  1527.   CC      spi_common_all.c
  1528.   CC      spi_common_v2.c
  1529.   CC      usb.c
  1530.   CC      usb_control.c
  1531.   CC      usb_standard.c
  1532.   CC      usb_msc.c
  1533.   CC      st_usbfs_core.c
  1534.   CC      st_usbfs_v2.c
  1535.   CC      vector.c
  1536.   CC      systick.c
  1537.   CC      scb.c
  1538.   CC      nvic.c
  1539.   CC      assert.c
  1540.   CC      sync.c
  1541.   CC      dwt.c
  1542.   AR      libopencm3_stm32f0.a
  1543.   BUILD   lib/stm32/f1
  1544.   CC      adc.c
  1545.   CC      adc_common_v1.c
  1546.   CC      can.c
  1547.   CC      desig.c
  1548.   CC      flash.c
  1549.   CC      gpio.c
  1550.   CC      rcc.c
  1551.   CC      rtc.c
  1552.   CC      timer.c
  1553.   CC      mac.c
  1554.   CC      mac_stm32fxx7.c
  1555.   CC      phy.c
  1556.   CC      phy_ksz80x1.c
  1557.   CC      crc_common_all.c
  1558.   CC      dac_common_all.c
  1559.   CC      dma_common_l1f013.c
  1560.   CC      gpio_common_all.c
  1561.   CC      i2c_common_v1.c
  1562.   CC      iwdg_common_all.c
  1563.   CC      pwr_common_v1.c
  1564.   CC      timer_common_all.c
  1565.   CC      usart_common_all.c
  1566.   CC      usart_common_f124.c
  1567.   CC      rcc_common_all.c
  1568.   CC      exti_common_all.c
  1569.   CC      flash_common_all.c
  1570.   CC      flash_common_f.c
  1571.   CC      flash_common_f01.c
  1572.   CC      spi_common_all.c
  1573.   CC      spi_common_v1.c
  1574.   CC      usb.c
  1575.   CC      usb_control.c
  1576.   CC      usb_standard.c
  1577.   CC      usb_msc.c
  1578.   CC      usb_dwc_common.c
  1579.   CC      usb_f107.c
  1580.   CC      st_usbfs_core.c
  1581.   CC      st_usbfs_v1.c
  1582.   CC      vector.c
  1583.   CC      systick.c
  1584.   CC      scb.c
  1585.   CC      nvic.c
  1586.   CC      assert.c
  1587.   CC      sync.c
  1588.   CC      dwt.c
  1589.   AR      libopencm3_stm32f1.a
  1590.   BUILD   lib/stm32/f2
  1591.   CC      gpio.c
  1592.   CC      rcc.c
  1593.   CC      desig.c
  1594.   CC      crc_common_all.c
  1595.   CC      dac_common_all.c
  1596.   CC      dma_common_f24.c
  1597.   CC      gpio_common_all.c
  1598.   CC      gpio_common_f0234.c
  1599.   CC      i2c_common_v1.c
  1600.   CC      iwdg_common_all.c
  1601.   CC      rtc_common_l1f024.c
  1602.   CC      timer_common_all.c
  1603.   CC      timer_common_f0234.c
  1604.   CC      timer_common_f24.c
  1605.   CC      usart_common_all.c
  1606.   CC      usart_common_f124.c
  1607.   CC      hash_common_f24.c
  1608.   CC      crypto_common_f24.c
  1609.   CC      exti_common_all.c
  1610.   CC      rcc_common_all.c
  1611.   CC      flash.c
  1612.   CC      flash_common_all.c
  1613.   CC      flash_common_f.c
  1614.   CC      flash_common_f24.c
  1615.   CC      flash_common_idcache.c
  1616.   CC      rng_common_v1.c
  1617.   CC      spi_common_all.c
  1618.   CC      spi_common_v1.c
  1619.   CC      spi_common_v1_frf.c
  1620.   CC      usb.c
  1621.   CC      usb_standard.c
  1622.   CC      usb_control.c
  1623.   CC      usb_dwc_common.c
  1624.   CC      usb_f107.c
  1625.   CC      usb_f207.c
  1626.   CC      usb_msc.c
  1627.   CC      vector.c
  1628.   CC      systick.c
  1629.   CC      scb.c
  1630.   CC      nvic.c
  1631.   CC      assert.c
  1632.   CC      sync.c
  1633.   CC      dwt.c
  1634.   AR      libopencm3_stm32f2.a
  1635.   BUILD   lib/stm32/f3
  1636.   CC      rcc.c
  1637.   CC      adc.c
  1638.   CC      can.c
  1639.   CC      pwr.c
  1640.   CC      dma.c
  1641.   CC      flash.c
  1642.   CC      desig.c
  1643.   CC      gpio_common_all.c
  1644.   CC      gpio_common_f0234.c
  1645.   CC      dac_common_all.c
  1646.   CC      crc_common_all.c
  1647.   CC      crc_v2.c
  1648.   CC      iwdg_common_all.c
  1649.   CC      pwr_common_v1.c
  1650.   CC      dma_common_l1f013.c
  1651.   CC      timer_common_all.c
  1652.   CC      timer_common_f0234.c
  1653.   CC      exti_common_all.c
  1654.   CC      rcc_common_all.c
  1655.   CC      adc_common_v2.c
  1656.   CC      adc_common_v2_multi.c
  1657.   CC      flash_common_all.c
  1658.   CC      flash_common_f.c
  1659.   CC      usart_common_v2.c
  1660.   CC      usart_common_all.c
  1661.   CC      i2c_common_v2.c
  1662.   CC      spi_common_all.c
  1663.   CC      spi_common_v2.c
  1664.   CC      usb.c
  1665.   CC      usb_control.c
  1666.   CC      usb_standard.c
  1667.   CC      usb_msc.c
  1668.   CC      st_usbfs_core.c
  1669.   CC      st_usbfs_v1.c
  1670.   CC      vector.c
  1671.   CC      systick.c
  1672.   CC      scb.c
  1673.   CC      nvic.c
  1674.   CC      assert.c
  1675.   CC      sync.c
  1676.   CC      dwt.c
  1677.   AR      libopencm3_stm32f3.a
  1678.   BUILD   lib/stm32/f4
  1679.   CC      adc.c
  1680.   CC      adc_common_v1.c
  1681.   CC      can.c
  1682.   CC      desig.c
  1683.   CC      gpio.c
  1684.   CC      pwr.c
  1685.   CC      rcc.c
  1686.   CC      rtc.c
  1687.   CC      crypto.c
  1688.   CC      crc_common_all.c
  1689.   CC      dac_common_all.c
  1690.   CC      dma_common_f24.c
  1691.   CC      gpio_common_all.c
  1692.   CC      gpio_common_f0234.c
  1693.   CC      i2c_common_v1.c
  1694.   CC      iwdg_common_all.c
  1695.   CC      pwr_common_v1.c
  1696.   CC      rtc_common_l1f024.c
  1697.   CC      timer_common_all.c
  1698.   CC      timer_common_f0234.c
  1699.   CC      timer_common_f24.c
  1700.   CC      usart_common_all.c
  1701.   CC      usart_common_f124.c
  1702.   CC      hash_common_f24.c
  1703.   CC      crypto_common_f24.c
  1704.   CC      exti_common_all.c
  1705.   CC      rcc_common_all.c
  1706.   CC      flash.c
  1707.   CC      flash_common_all.c
  1708.   CC      flash_common_f.c
  1709.   CC      flash_common_f24.c
  1710.   CC      flash_common_idcache.c
  1711.   CC      rng_common_v1.c
  1712.   CC      spi_common_all.c
  1713.   CC      spi_common_v1.c
  1714.   CC      spi_common_v1_frf.c
  1715.   CC      usb.c
  1716.   CC      usb_standard.c
  1717.   CC      usb_control.c
  1718.   CC      usb_dwc_common.c
  1719.   CC      usb_f107.c
  1720.   CC      usb_f207.c
  1721.   CC      usb_msc.c
  1722.   CC      mac.c
  1723.   CC      phy.c
  1724.   CC      mac_stm32fxx7.c
  1725.   CC      phy_ksz80x1.c
  1726.   CC      fmc.c
  1727.   CC      ltdc.c
  1728.   CC      vector.c
  1729.   CC      systick.c
  1730.   CC      scb.c
  1731.   CC      nvic.c
  1732.   CC      assert.c
  1733.   CC      sync.c
  1734.   CC      dwt.c
  1735.   AR      libopencm3_stm32f4.a
  1736.   BUILD   lib/stm32/f7
  1737.   CC      flash_common_all.c
  1738.   CC      flash_common_f.c
  1739.   CC      flash_common_f24.c
  1740.   CC      flash.c
  1741.   CC      desig.c
  1742.   CC      gpio.c
  1743.   CC      gpio_common_all.c
  1744.   CC      gpio_common_f0234.c
  1745.   CC      pwr.c
  1746.   CC      rcc.c
  1747.   CC      rcc_common_all.c
  1748.   CC      rng_common_v1.c
  1749.   CC      spi_common_all.c
  1750.   CC      spi_common_v1.c
  1751.   CC      spi_common_v1_frf.c
  1752.   CC      timer_common_all.c
  1753.   CC      usart_common_all.c
  1754.   CC      usart_common_v2.c
  1755.   CC      vector.c
  1756.   CC      systick.c
  1757.   CC      scb.c
  1758.   CC      nvic.c
  1759.   CC      assert.c
  1760.   CC      sync.c
  1761.   CC      dwt.c
  1762.   AR      libopencm3_stm32f7.a
  1763.   BUILD   lib/stm32/l0
  1764.   CC      gpio.c
  1765.   CC      rcc.c
  1766.   CC      desig.c
  1767.   CC      pwr_common_v1.c
  1768.   CC      pwr_common_v2.c
  1769.   CC      timer_common_all.c
  1770.   CC      spi_common_all.c
  1771.   CC      spi_common_v1.c
  1772.   CC      spi_common_v1_frf.c
  1773.   CC      gpio_common_all.c
  1774.   CC      gpio_common_f0234.c
  1775.   CC      rcc_common_all.c
  1776.   CC      adc_common_v2.c
  1777.   CC      crs_common_all.c
  1778.   CC      dma_common_l1f013.c
  1779.   CC      exti_common_all.c
  1780.   CC      flash.c
  1781.   CC      flash_common_all.c
  1782.   CC      flash_common_l01.c
  1783.   CC      i2c_common_v2.c
  1784.   CC      rng_common_v1.c
  1785.   CC      usart_common_all.c
  1786.   CC      usart_common_v2.c
  1787.   CC      iwdg_common_all.c
  1788.   CC      rtc_common_l1f024.c
  1789.   CC      usb.c
  1790.   CC      usb_control.c
  1791.   CC      usb_standard.c
  1792.   CC      usb_msc.c
  1793.   CC      st_usbfs_core.c
  1794.   CC      st_usbfs_v2.c
  1795.   CC      vector.c
  1796.   CC      systick.c
  1797.   CC      scb.c
  1798.   CC      nvic.c
  1799.   CC      assert.c
  1800.   CC      sync.c
  1801.   CC      dwt.c
  1802.   AR      libopencm3_stm32l0.a
  1803.   BUILD   lib/stm32/l1
  1804.   CC      desig.c
  1805.   CC      flash.c
  1806.   CC      rcc.c
  1807.   CC      dma.c
  1808.   CC      lcd.c
  1809.   CC      crc_common_all.c
  1810.   CC      dac_common_all.c
  1811.   CC      dma_common_l1f013.c
  1812.   CC      flash_common_all.c
  1813.   CC      flash_common_l01.c
  1814.   CC      gpio_common_all.c
  1815.   CC      gpio_common_f0234.c
  1816.   CC      i2c_common_v1.c
  1817.   CC      iwdg_common_all.c
  1818.   CC      pwr_common_v1.c
  1819.   CC      pwr_common_v2.c
  1820.   CC      rtc_common_l1f024.c
  1821.   CC      spi_common_all.c
  1822.   CC      spi_common_v1.c
  1823.   CC      spi_common_v1_frf.c
  1824.   CC      timer_common_all.c
  1825.   CC      usart_common_all.c
  1826.   CC      usart_common_f124.c
  1827.   CC      exti_common_all.c
  1828.   CC      rcc_common_all.c
  1829.   CC      adc.c
  1830.   CC      adc_common_v1.c
  1831.   CC      usb.c
  1832.   CC      usb_control.c
  1833.   CC      usb_standard.c
  1834.   CC      usb_msc.c
  1835.   CC      st_usbfs_core.c
  1836.   CC      st_usbfs_v1.c
  1837.   CC      vector.c
  1838.   CC      systick.c
  1839.   CC      scb.c
  1840.   CC      nvic.c
  1841.   CC      assert.c
  1842.   CC      sync.c
  1843.   CC      dwt.c
  1844.   AR      libopencm3_stm32l1.a
  1845.   BUILD   lib/stm32/l4
  1846.   CC      adc.c
  1847.   CC      flash.c
  1848.   CC      pwr.c
  1849.   CC      rcc.c
  1850.   CC      rcc_common_all.c
  1851.   CC      gpio_common_all.c
  1852.   CC      gpio_common_f0234.c
  1853.   CC      exti_common_all.c
  1854.   CC      adc_common_v2.c
  1855.   CC      adc_common_v2_multi.c
  1856.   CC      crc_common_all.c
  1857.   CC      crc_v2.c
  1858.   CC      crs_common_all.c
  1859.   CC      flash_common_all.c
  1860.   CC      flash_common_f.c
  1861.   CC      flash_common_idcache.c
  1862.   CC      rng_common_v1.c
  1863.   CC      timer_common_all.c
  1864.   CC      i2c_common_v2.c
  1865.   CC      usart_common_all.c
  1866.   CC      usart_common_v2.c
  1867.   CC      dma_common_l1f013.c
  1868.   CC      iwdg_common_all.c
  1869.   CC      rtc_common_l1f024.c
  1870.   CC      spi_common_all.c
  1871.   CC      spi_common_v2.c
  1872.   CC      usb.c
  1873.   CC      usb_control.c
  1874.   CC      usb_standard.c
  1875.   CC      usb_msc.c
  1876.   CC      st_usbfs_core.c
  1877.   CC      st_usbfs_v2.c
  1878.   CC      vector.c
  1879.   CC      systick.c
  1880.   CC      scb.c
  1881.   CC      nvic.c
  1882.   CC      assert.c
  1883.   CC      sync.c
  1884.   CC      dwt.c
  1885.   AR      libopencm3_stm32l4.a
  1886.   BUILD   lib/lpc13xx
  1887.   CC      gpio.c
  1888.   CC      vector.c
  1889.   CC      systick.c
  1890.   CC      scb.c
  1891.   CC      nvic.c
  1892.   CC      assert.c
  1893.   CC      sync.c
  1894.   CC      dwt.c
  1895.   AR      libopencm3_lpc13xx.a
  1896.   BUILD   lib/lpc17xx
  1897.   CC      gpio.c
  1898.   CC      pwr.c
  1899.   CC      vector.c
  1900.   CC      systick.c
  1901.   CC      scb.c
  1902.   CC      nvic.c
  1903.   CC      assert.c
  1904.   CC      sync.c
  1905.   CC      dwt.c
  1906.   AR      libopencm3_lpc17xx.a
  1907.   BUILD   lib/lpc43xx/m4
  1908.   CC      gpio.c
  1909.   CC      scu.c
  1910.   CC      i2c.c
  1911.   CC      ssp.c
  1912.   CC      uart.c
  1913.   CC      timer.c
  1914.   CC      ipc.c
  1915.   CC      vector.c
  1916.   CC      systick.c
  1917.   CC      scb.c
  1918.   CC      nvic.c
  1919.   CC      assert.c
  1920.   CC      sync.c
  1921.   CC      dwt.c
  1922.   AR      libopencm3_lpc43xx.a
  1923.   BUILD   lib/lpc43xx/m0
  1924.   CC      gpio.c
  1925.   CC      scu.c
  1926.   CC      i2c.c
  1927.   CC      ssp.c
  1928.   CC      uart.c
  1929.   CC      timer.c
  1930.   CC      vector.c
  1931.   CC      systick.c
  1932.   CC      scb.c
  1933.   CC      nvic.c
  1934.   CC      assert.c
  1935.   CC      sync.c
  1936.   CC      dwt.c
  1937.   AR      libopencm3_lpc43xx_m0.a
  1938.   BUILD   lib/lm3s
  1939.   CC      gpio.c
  1940.   CC      vector.c
  1941.   CC      assert.c
  1942.   CC      rcc.c
  1943.   CC      usart.c
  1944.   CC      systick.c
  1945.   CC      scb.c
  1946.   CC      nvic.c
  1947.   CC      sync.c
  1948.   CC      dwt.c
  1949.   AR      libopencm3_lm3s.a
  1950.   BUILD   lib/lm4f
  1951.   CC      gpio.c
  1952.   CC      vector.c
  1953.   CC      assert.c
  1954.   CC      systemcontrol.c
  1955.   CC      rcc.c
  1956.   CC      uart.c
  1957.   CC      usb_lm4f.c
  1958.   CC      usb.c
  1959.   CC      usb_control.c
  1960.   CC      usb_standard.c
  1961.   CC      usb_msc.c
  1962.   CC      systick.c
  1963.   CC      scb.c
  1964.   CC      nvic.c
  1965.   CC      sync.c
  1966.   CC      dwt.c
  1967.   AR      libopencm3_lm4f.a
  1968.   BUILD   lib/msp432/e4
  1969.   CC      systemcontrol.c
  1970.   CC      vector.c
  1971.   CC      systick.c
  1972.   CC      scb.c
  1973.   CC      nvic.c
  1974.   CC      assert.c
  1975.   CC      sync.c
  1976.   CC      dwt.c
  1977.   AR      libopencm3_msp432e4.a
  1978.   BUILD   lib/efm32/tg
  1979.   CC      vector.c
  1980.   CC      systick.c
  1981.   CC      scb.c
  1982.   CC      nvic.c
  1983.   CC      assert.c
  1984.   CC      sync.c
  1985.   CC      dwt.c
  1986.   AR      libopencm3_efm32tg.a
  1987.   BUILD   lib/efm32/g
  1988.   CC      vector.c
  1989.   CC      systick.c
  1990.   CC      scb.c
  1991.   CC      nvic.c
  1992.   CC      assert.c
  1993.   CC      sync.c
  1994.   CC      dwt.c
  1995.   AR      libopencm3_efm32g.a
  1996.   BUILD   lib/efm32/lg
  1997.   CC      gpio_common.c
  1998.   CC      cmu_common.c
  1999.   CC      prs_common.c
  2000.   CC      adc_common.c
  2001.   CC      dma_common.c
  2002.   CC      timer_common.c
  2003.   CC      dac_common.c
  2004.   CC      usb.c
  2005.   CC      usb_control.c
  2006.   CC      usb_standard.c
  2007.   CC      usb_msc.c
  2008.   CC      usb_efm32.c
  2009.   CC      vector.c
  2010.   CC      systick.c
  2011.   CC      scb.c
  2012.   CC      nvic.c
  2013.   CC      assert.c
  2014.   CC      sync.c
  2015.   CC      dwt.c
  2016.   AR      libopencm3_efm32lg.a
  2017.   BUILD   lib/efm32/gg
  2018.   CC      vector.c
  2019.   CC      systick.c
  2020.   CC      scb.c
  2021.   CC      nvic.c
  2022.   CC      assert.c
  2023.   CC      sync.c
  2024.   CC      dwt.c
  2025.   AR      libopencm3_efm32gg.a
  2026.   BUILD   lib/efm32/hg
  2027.   CC      cmu.c
  2028.   CC      gpio_common.c
  2029.   CC      timer_common.c
  2030.   CC      usb.c
  2031.   CC      usb_control.c
  2032.   CC      usb_standard.c
  2033.   CC      usb_msc.c
  2034.   CC      usb_dwc_common.c
  2035.   CC      usb_efm32hg.c
  2036.   CC      vector.c
  2037.   CC      systick.c
  2038.   CC      scb.c
  2039.   CC      nvic.c
  2040.   CC      assert.c
  2041.   CC      sync.c
  2042.   CC      dwt.c
  2043.   AR      libopencm3_efm32hg.a
  2044.   BUILD   lib/efm32/wg
  2045.   CC      gpio_common.c
  2046.   CC      cmu_common.c
  2047.   CC      prs_common.c
  2048.   CC      adc_common.c
  2049.   CC      dma_common.c
  2050.   CC      timer_common.c
  2051.   CC      dac_common.c
  2052.   CC      usb.c
  2053.   CC      usb_control.c
  2054.   CC      usb_standard.c
  2055.   CC      usb_msc.c
  2056.   CC      usb_efm32.c
  2057.   CC      vector.c
  2058.   CC      systick.c
  2059.   CC      scb.c
  2060.   CC      nvic.c
  2061.   CC      assert.c
  2062.   CC      sync.c
  2063.   CC      dwt.c
  2064.   AR      libopencm3_efm32wg.a
  2065.   BUILD   lib/efm32/ezr32wg
  2066.   CC      gpio_common.c
  2067.   CC      cmu_common.c
  2068.   CC      prs_common.c
  2069.   CC      adc_common.c
  2070.   CC      dma_common.c
  2071.   CC      timer_common.c
  2072.   CC      dac_common.c
  2073.   CC      usb.c
  2074.   CC      usb_control.c
  2075.   CC      usb_standard.c
  2076.   CC      usb_msc.c
  2077.   CC      usb_efm32.c
  2078.   CC      vector.c
  2079.   CC      systick.c
  2080.   CC      scb.c
  2081.   CC      nvic.c
  2082.   CC      assert.c
  2083.   CC      sync.c
  2084.   CC      dwt.c
  2085.   AR      libopencm3_ezr32wg.a
  2086.   BUILD   lib/sam/3a
  2087.   CC      gpio_common_all.c
  2088.   CC      gpio_common_3a3u3x.c
  2089.   CC      pmc.c
  2090.   CC      usart_common_all.c
  2091.   CC      usart_common_3.c
  2092.   CC      vector.c
  2093.   CC      systick.c
  2094.   CC      scb.c
  2095.   CC      nvic.c
  2096.   CC      assert.c
  2097.   CC      sync.c
  2098.   CC      dwt.c
  2099.   AR      libopencm3_sam3a.a
  2100.   BUILD   lib/sam/3n
  2101.   CC      gpio_common_all.c
  2102.   CC      gpio_common_3n3s.c
  2103.   CC      pmc.c
  2104.   CC      usart_common_all.c
  2105.   CC      usart_common_3.c
  2106.   CC      vector.c
  2107.   CC      systick.c
  2108.   CC      scb.c
  2109.   CC      nvic.c
  2110.   CC      assert.c
  2111.   CC      sync.c
  2112.   CC      dwt.c
  2113.   AR      libopencm3_sam3n.a
  2114.   BUILD   lib/sam/3s
  2115.   CC      gpio_common_all.c
  2116.   CC      gpio_common_3n3s.c
  2117.   CC      pmc.c
  2118.   CC      usart_common_all.c
  2119.   CC      usart_common_3.c
  2120.   CC      vector.c
  2121.   CC      systick.c
  2122.   CC      scb.c
  2123.   CC      nvic.c
  2124.   CC      assert.c
  2125.   CC      sync.c
  2126.   CC      dwt.c
  2127.   AR      libopencm3_sam3s.a
  2128.   BUILD   lib/sam/3u
  2129.   CC      gpio_common_all.c
  2130.   CC      gpio_common_3a3u3x.c
  2131.   CC      pmc.c
  2132.   CC      usart_common_all.c
  2133.   CC      usart_common_3.c
  2134.   CC      vector.c
  2135.   CC      systick.c
  2136.   CC      scb.c
  2137.   CC      nvic.c
  2138.   CC      assert.c
  2139.   CC      sync.c
  2140.   CC      dwt.c
  2141.   AR      libopencm3_sam3u.a
  2142.   BUILD   lib/sam/3x
  2143.   CC      gpio_common_all.c
  2144.   CC      gpio_common_3a3u3x.c
  2145.   CC      pmc.c
  2146.   CC      usart_common_all.c
  2147.   CC      usart_common_3.c
  2148.   CC      vector.c
  2149.   CC      systick.c
  2150.   CC      scb.c
  2151.   CC      nvic.c
  2152.   CC      assert.c
  2153.   CC      sync.c
  2154.   CC      dwt.c
  2155.   AR      libopencm3_sam3x.a
  2156.   BUILD   lib/sam/4l
  2157.   CC      adcife.c
  2158.   CC      gpio.c
  2159.   CC      scif.c
  2160.   CC      pm.c
  2161.   CC      usart_common_all.c
  2162.   CC      usart.c
  2163.   CC      vector.c
  2164.   CC      systick.c
  2165.   CC      scb.c
  2166.   CC      nvic.c
  2167.   CC      assert.c
  2168.   CC      sync.c
  2169.   CC      dwt.c
  2170.   AR      libopencm3_sam4l.a
  2171.   BUILD   lib/sam/d
  2172.   CC      vector.c
  2173.   CC      systick.c
  2174.   CC      scb.c
  2175.   CC      nvic.c
  2176.   CC      assert.c
  2177.   CC      sync.c
  2178.   CC      dwt.c
  2179.   AR      libopencm3_samd.a
  2180.   BUILD   lib/vf6xx
  2181.   CC      ccm.c
  2182.   CC      uart.c
  2183.   CC      gpio.c
  2184.   CC      iomuxc.c
  2185.   CC      vector.c
  2186.   CC      systick.c
  2187.   CC      scb.c
  2188.   CC      nvic.c
  2189.   CC      assert.c
  2190.   CC      sync.c
  2191.   CC      dwt.c
  2192.   AR      libopencm3_vf6xx.a
  2193. make[2]: Leaving directory '/home/jacob/tmp/raven/lib/libopencm3'
  2194. Memory region         Used Size  Region Size  %age Used
  2195.              rom:       62924 B       128 KB     48.01%
  2196.              ram:       17344 B        20 KB     84.69%
  2197. make[1]: Leaving directory '/home/jacob/tmp/raven'
  2198.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  2199.                                  Dload  Upload   Total   Spent    Left  Speed
  2200. 100   589    0   589    0     0   4496      0 --:--:-- --:--:-- --:--:--  4496
  2201. diff --git a/main/target/platforms/stm32/main.c b/main/target/platforms/stm32/main.c
  2202. index 2249fed..07e5c25 100644
  2203. --- a/main/target/platforms/stm32/main.c
  2204. +++ b/main/target/platforms/stm32/main.c
  2205. @@ -1,4 +1,5 @@
  2206.  #include <os/os.h>
  2207. +#include <libopencm3/stm32/f1/gpio.h>
  2208.  
  2209.  extern void app_main(void);
  2210.  
  2211. make[1]: Entering directory '/home/jacob/tmp/raven'
  2212.   CC      main/target/platforms/stm32/main.c
  2213. In file included from lib/libopencm3/include/libopencm3/stm32/f1/gpio.h:39,
  2214.                  from main/target/platforms/stm32/main.c:2:
  2215. lib/libopencm3/include/libopencm3/stm32/common/gpio_common_all.h:72:12: error: expected ';' before 'void'
  2216.  BEGIN_DECLS
  2217.             ^
  2218.             ;
  2219. lib/libopencm3/include/libopencm3/stm32/common/gpio_common_all.h:74:1:
  2220.  void gpio_set(uint32_t gpioport, uint16_t gpios);
  2221.  ~~~~        
  2222. lib/libopencm3/include/libopencm3/stm32/common/gpio_common_all.h:82:1: error: unknown type name 'END_DECLS'
  2223.  END_DECLS
  2224.  ^~~~~~~~~
  2225. In file included from main/target/platforms/stm32/main.c:2:
  2226. lib/libopencm3/include/libopencm3/stm32/f1/gpio.h:967:12: error: expected ';' before 'void'
  2227.  BEGIN_DECLS
  2228.             ^
  2229.             ;
  2230. lib/libopencm3/include/libopencm3/stm32/f1/gpio.h:969:1:
  2231.  void gpio_set_mode(uint32_t gpioport, uint8_t mode, uint8_t cnf,
  2232.  ~~~~        
  2233. lib/libopencm3/include/libopencm3/stm32/f1/gpio.h:975:10: error: expected ';' before 'extern'
  2234.  END_DECLS
  2235.           ^
  2236.           ;
  2237. main/target/platforms/stm32/main.c:6:2: warning: #warning temp fix [-Wcpp]
  2238.  #warning temp fix
  2239.   ^~~~~~~
  2240. main/target/platforms/stm32/main.c: In function 'assert':
  2241. main/target/platforms/stm32/main.c:7:17: warning: unused parameter 'c' [-Wunused-parameter]
  2242.  void assert(int c)
  2243.              ~~~~^
  2244. make[1]: *** [/home/jacob/tmp/raven/main/target/platforms/stm32/libopencm3.rules.mk:216: build-stm32f1_blackpill_rx/main/target/platforms/stm32/main.o] Error 1
  2245. make[1]: Leaving directory '/home/jacob/tmp/raven'
  2246. make: *** [Makefile:122: stm32f1_blackpill_rx] Error 2
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top