Skip to content

Practical usage of Wokwi Online Arduino Simulator #7130

Closed
@VojtechBartoska

Description

@VojtechBartoska

This issue is tracking implementation of Wokwi simulator into Arduino ESP32 repository.

It contains more steps:

[ ] Add Wokwi link & description into Issue report template

Motivation:
This project is very often used as a welcome gate into Embedded World thanks to Arduino framework and it's popularity. It means there is a bunch of new users and also many different types of HW and also SW solutions. Very often we are facing the problem that we are not able to replicate the issue due to more reasons as for example unknown HW, unknown SW setup and so on...Here comes a Wokwi simulator which can be handy for those cases. If the Author of the issue is able to provide the failing code running under Wokwi platform, Espressif developers can easily reproduce the issue and make next development steps. This can speed up the development process and also improve Users's experience.

[ ] Use Wokwi more actively by Developers in answers

Motivation:
This step is relate to task above. Wokwi can be also used as an example and proper answer to the particular problem. Instead of just saying, your code is wrong and you need to change this function. Developers can just share a Wokwi simulation which is showing properly working piece of the code. This tasks is meant firstly for Espressif Devs but this approach can be used by anyone.

[ ] Compilation tests of favorite librariers in Wokwi

Motivation:
Arduino offers tons of different libraries. This project is moving forward and we are not able to cover all resources so it happens that we broke something. Having a test for most favorite libraries can help us with spotting that and be aware of the consequences.

There is already written automated tests framework available in this GH repository.

Subtasks:

  • investigate how we can run those testes on scheduled basis
  • write tests sketches

5 libraries for first version of Libraries compilation tests: (proposed candidates)

  1. Blynk
  2. Adafruit NeoPixel
  3. AsyncWebServer
  4. Adafruit GFX Library
  5. FastLED

More can be added later.

This is an intitial description which will be updated up to the investigations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions