yamt opened a new issue, #16770:
URL: https://github.com/apache/nuttx/issues/16770

   ### Description / Steps to reproduce the issue
   
   arch/xtensa/src/common/espressif/Wireless.mk seems to add a bunch of -I 
options to the cflags.
   it conflicts with unrelated components.
   
   for example, when i was trying to enable `CONFIG_ESPRESSIF_SHA_ACCELERATOR`, 
i observed the following error.
   it seems that this `#include <crypto/md5.h>`
   
https://github.com/apache/nuttx/blob/da72df9ab6872a02a8cbb66ffc342c16cf4d881c/include/crypto/xform.h#L37
   picked up 
arch/xtensa/src/chip/esp-hal-3rdparty/components/wpa_supplicant/src/crypto/md5.h.
   
   ```
   CC:  common/espressif/esp_crypto.c In file included from 
/Users/yamamoto/git/nut
   tx/nuttx/include/crypto/xform.h:37,                                          
   
                    from common/espressif/esp_crypto.c:32:                      
   
   
/Users/yamamoto/git/nuttx/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/wpa_supplicant/src/crypto/md5.h:14:27:
 error: unknown type name 'u8'           
      14 | int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem,  
   
         |                           ^~                                         
   
   
/Users/yamamoto/git/nuttx/nuttx/arch/xtensa/src/chip/esp-hal-3rdparty/components/wpa_supplicant/src/crypto/md5.h:15:27:
 error: unknown type name 'u8'           
      15 |                     const u8 *addr[], const size_t *len, u8 *mac);   
   
         |                           ^~                                         
   
   ```
   
   
   ### On which OS does this issue occur?
   
   [OS: Mac]
   
   ### What is the version of your OS?
   
   macOS 15.5
   
   ### NuttX Version
   
   master
   
   ### Issue Architecture
   
   [Arch: xtensa]
   
   ### Issue Area
   
   [Area: Build System], [Area: Drivers]
   
   ### Host information
   
   ```
   No matching array found.
   ```
   
   ### Verification
   
   - [x] I have verified before submitting the report.


-- 
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: commits-unsubscr...@nuttx.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to