1. 09 Dec, 2019 5 commits
  2. 06 Dec, 2019 19 commits
  3. 05 Dec, 2019 2 commits
  4. 25 Nov, 2019 10 commits
  5. 22 Nov, 2019 4 commits
    • fuchsi*'s avatar
      chore(preload): Change preload app author to 'card10 contributors' · fbeb7766
      fuchsi* authored and Rahix's avatar Rahix committed
      fbeb7766
    • Rahix's avatar
      Merge 'wiki: bluetooth: add NimBLE page' · f5b8e643
      Rahix authored
      Added a page to the wiki which describes how to setup NimBLE on the ESP32.
      
      See merge request card10/firmware!358
      f5b8e643
    • coon's avatar
      docs(BLE): Add NimBLE page · bcfa458f
      coon authored and Rahix's avatar Rahix committed
      bcfa458f
    • Rahix's avatar
      Merge 'faulty unsigned comparisons' · cac0bcf3
      Rahix authored
      Fix faulty error handling due to always-false unsigned comparisons.
      `-Wtype-limits` revealed three errors in the firmware:
      
          ../pycardium/modules/sys_leds.c: In function 'mp_leds_get_rocket':
          ../pycardium/modules/sys_leds.c:207:10: warning: comparison is
                      always false due to limited range of data type [-Wtype-limits]
            207 |  if (ret == -EINVAL) {
                |          ^~
      
      
          ../pycardium/mphalport.c: In function 'mp_hal_set_interrupt_char':
          ../pycardium/mphalport.c:115:8: warning: comparison is always true
                      due to limited range of data type [-Wtype-limits]
            115 |  if (c != -1) {
                |        ^~
      
          ../epicardium/modules/bhi.c: In function 'epic_bhi160_enable_sensor':
          ../epicardium/modules/bhi.c:134:12: warning: comparison is always
                      false due to limited range of data type [-Wtype-limits]
            134 |  if (vs_id < 0) {
                |            ^
          ../epicardium/modules/bhi.c: In function 'epic_bhi160_disable_sensor':
          ../epicardium/modules/bhi.c:191:12: warning: comparison is always
                      false due to limited range of data type [-Wtype-limits]
            191 |  if (vs_id < 0) {
                |            ^
      
      Note that on the target platform `char` and `enum`s are unsigned.  The
      compiler has probably removed all of these `if`s so far because the
      conditions were determined to always be false.
      
      See merge request card10/firmware!357
      cac0bcf3