Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argument type conflict in NONOS_SDK-2.2.0 #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Argument type conflict in NONOS_SDK-2.2.0 #49

wants to merge 1 commit into from

Commits on Mar 1, 2018

  1. While compiling with ESP8266_NONOS_SDK-2.2.0 it was

    found that the SDK defines the function, `void ets_delay_us(uint32_t ms)`
    (in SDK root, include/osapi.h) which is defined in
    include/espmissingincludes.h as `void ets_delay_us(uint16_t ms)` which
    results in the following error:
    
    ```
    CC espfs/espfs.c
    In file included from ./include/esp8266.h:33:0,
                     from espfs/espfs.c:23:
    ./include/espmissingincludes.h:46:6: error: conflicting types for 'ets_delay_us'
     void ets_delay_us(uint16_t ms);
          ^
    In file included from ./include/esp8266.h:28:0,
                     from espfs/espfs.c:23:
    ..//include/osapi.h:33:6: note: previous declaration of 'ets_delay_us' was here
     void ets_delay_us(uint32_t us);
          ^
    ```
    
    Commenting out the function prototype from espmissingincludes.h fixes
    the problem.
    iia committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    522836c View commit details
    Browse the repository at this point in the history