mirror of
https://github.com/apache/nuttx.git
synced 2026-10-02 03:46:25 +00:00
boards/arm/rtl8730e: commit platform_autoconf.h for CI
platform_autoconf.h is a hand-maintained minimal header that provides the SDK #defines required by the fwlib sources compiled during PREBUILD. Unlike the other Ameba ICs (which use ameba_gen_autoconf.sh to regenerate it from SDK menuconfig), RTL8730E uses a static file because the amebasmart SDK does not ship a pre-generated autoconf and running menuconfig in CI is not feasible. The file was previously gitignored along with all other prebuilt/ artifacts, so CI had no platform_autoconf.h on a clean clone, causing: fatal error: platform_autoconf.h: No such file or directory Fix: add !platform_autoconf.h exception to prebuilt/.gitignore and track the file in git. Local clean build verified (nuttx.bin 550 KB generated). Signed-off-by: dechao_gong <dechao_gong@realsil.com.cn> Assisted-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
0c3839973b
commit
16632c7d55
2 changed files with 62 additions and 3 deletions
|
|
@ -7,12 +7,15 @@
|
|||
# libs/*.a / libs/wifi_obj/*.o pre-compiled chip archives + WiFi glue
|
||||
# bl2.bin / bl32.bin / boot.bin prebuilt secure-boot / KM4-KM0 blobs
|
||||
# vendor_prefix.bin image header prepended to the AP image
|
||||
# platform_autoconf.h regenerated each build from the SDK
|
||||
# menuconfig (single source of truth)
|
||||
# platform_autoconf.h static minimal header maintained in-tree
|
||||
# (NOT from SDK menuconfig; only the defines
|
||||
# our fwlib sources actually need)
|
||||
# fiptool vendored FIP packaging tool binary
|
||||
# *_uuid.txt FIP entry UUIDs for the packer
|
||||
#
|
||||
# Everything in this directory is ignored.
|
||||
# Everything in this directory is ignored, except platform_autoconf.h which
|
||||
# is a hand-maintained NuttX-side file that must be present on a clean clone.
|
||||
|
||||
*
|
||||
!.gitignore
|
||||
!platform_autoconf.h
|
||||
|
|
|
|||
|
|
@ -0,0 +1,56 @@
|
|||
/****************************************************************************
|
||||
* boards/arm/rtl8730e/rtl8730e_evb/prebuilt/platform_autoconf.h
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
/* Minimal platform_autoconf.h for RTL8730E CA32 NuttX build.
|
||||
* Static file -- not auto-generated from SDK menuconfig.
|
||||
* Only the defines required by the fwlib sources we compile are listed.
|
||||
*/
|
||||
|
||||
#ifndef __AMEBA_PLATFORM_AUTOCONF_H__
|
||||
#define __AMEBA_PLATFORM_AUTOCONF_H__
|
||||
|
||||
#define CONFIG_AMEBASMART 1
|
||||
#define CONFIG_ARM_CORE_CA32 1
|
||||
|
||||
/* Flash VFS1 partition (SDK defaults for amebasmart NOR layout).
|
||||
* XIP base is 0x08000000; offset is absolute XIP address.
|
||||
*/
|
||||
|
||||
#define CONFIG_FLASH_VFS1_OFFSET 0x8600000
|
||||
#define CONFIG_FLASH_VFS1_SIZE 0x200000
|
||||
|
||||
/* Disable LOGUART aggregator (causes SYNC-byte noise on CA32 console). */
|
||||
|
||||
#undef CONFIG_LOGUART_AGG_EN
|
||||
|
||||
/* WiFi WHC host (CA32 = WHC HOST, KM4 = WHC DEVICE).
|
||||
* Force-included into every WiFi SDK source compiled for CA32.
|
||||
*/
|
||||
|
||||
#define CONFIG_WIFI_POWER_TABLE_USRCFG_3v3_1v25 1
|
||||
#define CONFIG_WHC_WIFI_API_PATH 1
|
||||
#define CONFIG_WHC_HOST 1
|
||||
#define CONFIG_WHC_INTF_IPC 1
|
||||
#define CONFIG_WLAN 1
|
||||
#define CONFIG_LWIP_LAYER 1
|
||||
|
||||
#endif /* __AMEBA_PLATFORM_AUTOCONF_H__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue