bigcat-2026 commented on code in PR #21480: URL: https://github.com/apache/nuttx/pull/21480#discussion_r4702586797
########## boards/xtensa/esp32s3/esp32s3-r8/src/esp32s3_bringup.c: ########## @@ -0,0 +1,255 @@ +/**************************************************************************** + * boards/xtensa/esp32s3/esp32s3-r8/src/esp32s3_bringup.c + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ + +/**************************************************************************** + * Included Files + ****************************************************************************/ + +#include <nuttx/config.h> + +#include <stdio.h> +#include <fcntl.h> +#include <unistd.h> +#include <syslog.h> +#include <sys/stat.h> +#include <sys/ioctl.h> +#include <sys/types.h> +#include <syslog.h> +#include <debug.h> +#include <stdio.h> + +#include <errno.h> +#include <nuttx/fs/fs.h> + +#ifdef CONFIG_ESP32S3_TIMER +# include "esp32s3_board_tim.h" +#endif + +#ifdef CONFIG_ESP32S3_WIFI Review Comment: > `CONFIG_ESP32S3_WIFI`, `CONFIG_ESP32S3_WIRELESS`, `CONFIG_ESP32S3_BLE` and `CONFIG_ESP32S3_WIFI_BT_COEXIST` do not exist on master. The wifi defconfig sets `CONFIG_ESPRESSIF_WIFI=y`, so `board_wlan_init()` (line 195) is never called and the wifi configuration has no Wi-Fi. > > Fix: use the bringup of the 20 November push (the `CONFIG_ESPRESSIF_*` names and `esp_hr_timer_init()`). This was already fixed in the latest push. The board bringup now uses the CONFIG_ESPRESSIF_* names and calls esp_hr_timer_init(), matching the 20 November version. Please re-run CI. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
