Git Product home page Git Product logo

seeed_arduino_freertos's Introduction

Seeed-Arduino-FreeRTOS Build Status

Introduction

This library ports the latest FreeRTOS(10.4.3) and allow you to create FreeRTOS Projects in the in Arduino IDE.

Boards

  • samd21 series

    • zero
    • seeeduio xiao

    ...

  • samd51 series

    • Wio Terminal

    ...

License

This software is written by LynnL4 for seeed studio Email:[email protected] and is licensed under The MIT License. Check License.txt for more information.

Contributing to this software is warmly welcomed. You can do this basically by forking, committing modifications and then pulling requests (follow the links above for operating guide). Adding change log and your contact into file header is encouraged. Thanks for your contribution.

Seeed Studio is an open hardware facilitation company based in Shenzhen, China. Benefiting from local manufacture power and convenient global logistic system, we integrate resources to serve new era of innovation. Seeed also works with global distributors and partners to push open hardware movement.

seeed_arduino_freertos's People

Contributors

jiacheng-lu avatar lynnl4 avatar maxwelltoo avatar pillar1989 avatar turmary avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

seeed_arduino_freertos's Issues

Multiple definition of delay

Hi,
I got an error when I try to compiled for an SAMD21E17A multiple definition of delay conflit with delay.c in samd core and delay in FreeRTOSVariant.c

/*
 * override Arduino delay()
 */
extern void _real_delay(unsigned long ms);
void delay(unsigned long ms)
{
  if (xTaskGetSchedulerState() != taskSCHEDULER_NOT_STARTED)
  {
    vTaskDelay(ms / portTICK_PERIOD_MS);
  }
  else
  {
    _real_delay(ms);
  }
}

If I renamed this function by delay2 for examle it's works but it's doesn't compile beceause delay2 was not declared in this scope...

"configCAL_FACTOR" macro not defined in "error_hooks.cpp"

Describe the bug
I encountered a compilation error when using the vNopDelayMS() function from the Seeed_Arduino_FreeRTOS library. The error message indicated that the configCAL_FACTOR macro was not defined in the scope where it was being used. After some investigation, I found that the configCAL_FACTOR macro was missing from the FreeRTOS configuration file, causing the compilation error.

To fix the issue, I added the following line to the FreeRTOSConfig.h file:
#define configCAL_FACTOR ( configTICK_RATE_HZ / 1000 )

To Reproduce
Steps to reproduce the behavior:

  1. Install the Seeed_Arduino_FreeRTOS library in the Arduino IDE.
    
  2. Create a new sketch and include the library header file.
    
  3. Call the vNopDelayMS() function with a delay value in milliseconds.
    
  4. Attempt to compile the sketch.
    

Expected behavior
The sketch should compile without errors.

Screenshots
image

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.