Skip to content

[BUG] Hellohell sample with WiFi enable fails to compile #461

@rexut

Description

@rexut

Describe the bug

Neither a simple west build nor the associated west twister test environment for the Hello Shell sample can be built without errors for the board variants rpi_pico/rp2040/w and rpi_pico2/rp2350a/m33/w.

To Reproduce
Steps to reproduce the behavior:

  1. setup proper workspace
  2. following the direction from TCP/IP Network over Wi-Fi on the RPi Pico W or 2W or Buildability over all Bridle samples
    west build -b rpi_pico/rp2040/w -p -S "usb-console wifi-ip" -d build/helloshell-rpi_pico_w bridle/samples/helloshell
    
    or
    west build -b rpi_pico2/rp2350/m33/w -p -S "usb-console wifi-ip" -d build/helloshell-rpi_pico2_w bridle/samples/helloshell
    
    or
    west twister \
        --jobs 4 \
        --verbose \
        --inline-logs \
        --integration \
        --testsuite-root bridle/samples/helloshell
    
  3. See error

Expected behavior

Sample can build w/o any compilation error and GitHub workflow comes back to green.

Impact

Showstopper, because next release v4.5.0 is blocked.

Logs and console output

.../zephyr/drivers/wifi/infineon/airoc_whd_hal_common.c:14:40: error: expected ')' before numeric constant
   14 | LOG_MODULE_DECLARE(infineon_airoc_wifi, CONFIG_WIFI_LOG_LEVEL);
      |                                        ^
      |                                        )
.../zephyr/drivers/wifi/infineon/airoc_whd_hal_common.c: In function 'airoc_wifi_power_on':
.../zephyr/drivers/wifi/infineon/airoc_whd_hal_common.c:32:17: error: implicit declaration of function 'LOG_ERR' [-Wimplicit-function-declaration]
   32 |                 LOG_ERR("Error: failed to configure wifi_reg_on %s pin %d",
      |                 ^~~~~~~

Screenshots
Non.

Development Environment (please complete the following information):

  • OS: Linux, Ubuntu 20.04 (LTS)
  • Toolchain: Zephyr SDK v1.0.1
  • Version: main branch

Additional context
Non.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions