Giter VIP home page Giter VIP logo

Comments (8)

github-actions avatar github-actions commented on June 2, 2024

Hello, hope this message finds you well. Thank you for notified this issue. We will review it as soon as possiable. Feel free to have a look at https://www.amebaiot.com/en/ameba-arduino-summary/ for more information' first issue

from ambpro2_arduino.

M-ichae-l avatar M-ichae-l commented on June 2, 2024

Hi @ouoam . The lib name is used to replace the default. For example, Ameba has its own WiFi lib which is different from Arduino default. Therefore, to avoid conflicts and compile errors, same name WiFi will present to replace the default WiFi lib.

from ambpro2_arduino.

ouoam avatar ouoam commented on June 2, 2024

HI @M-ichae-l . I think Arduino not have default lib.
ESP32 lib can have library name WiFi and Wire without any compile errors.
Arduino AVR lib, STM32 lib, ESP8266 lib can also have library name Wire and SPI.

If you want to use AmebaWire name, can you change directory name to AmebaWire

from ambpro2_arduino.

M-ichae-l avatar M-ichae-l commented on June 2, 2024

https://github.com/arduino-libraries/WiFi

from ambpro2_arduino.

ouoam avatar ouoam commented on June 2, 2024

From https://arduino.github.io/arduino-cli/0.27/sketch-build-process/#dependency-resolution
Ameba library must win https://github.com/arduino-libraries/WiFi in step 4

A library that is architecture optimized wins against a library that is not architecture optimized (see Architecture Matching)

Or if pass step 4 can win in step 5

A library that has a better "location priority" wins (see Location Priority)

With sub step 4

The library is bundled with the board platform/core ({runtime.platform.path}/libraries)


This is example when I change ameba WiFi library name and have https://github.com/arduino-libraries/WiFi library
image

from ambpro2_arduino.

M-ichae-l avatar M-ichae-l commented on June 2, 2024

Hi @ouoam ,
The log above clearly shows that "Arduino" WiFi lib will be replaced by Ameba "WiFi" lib.
Using same name will let IDE to processed to replace, that is Ameba SDK needs to do for avoiding conflicts.

from ambpro2_arduino.

github-actions avatar github-actions commented on June 2, 2024

This issue is stale because it has been open for 14 days with no activity.

from ambpro2_arduino.

github-actions avatar github-actions commented on June 2, 2024

This issue was closed because it has been inactive for 7 days since being marked as stale.

from ambpro2_arduino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.