GithubHelp home page GithubHelp logo

duefreertos's People

Contributors

bdmihai avatar

Stargazers

 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

duefreertos's Issues

Hardfault on scheduler start

Hello,

Iam getting a hardfault interrupt as soon as the scheduler is startet and trying to execute the first task with the most recent version of your freertos port.
The freertos configuration is the same as yours except the total heap size beeing increased to 10000.

In my application i do not create any tasks in the setup() and just call the scheduler start to let it create the idle and timer task which are created successfully. But as said as soon as the first task is getting called the hardfault hook triggers.

Any idea where to look at to solve the issue?

Hardfault with platformIO + arduino framework

Hi !

I was able to get this working in the Arduino IDE.

Then, trying PIO, I get a hardfault after prvPortStartFirstTask() and vTaskStartScheduler().
The blink task just blinks toggles a gpio and delay's

xTaskCreate(blink, (const char )"blink", 4128, NULL, 2, NULL);
vTaskStartScheduler();

Here's my pio.ini

[env:due]
platform = atmelsam
board = due
framework = arduino
build_type = debug
build_flags = -g
upload_protocol = jlink
upload_port = /dev/tty.usbmodem134201
debug_tool = jlink
lib_extra_dirs = src/lib/
lib_deps =
waspinator/AccelStepper@^1.64
https://github.com/br3ttb/Arduino-PID-Library
https://github.com/bdmihai/DueFreeRTOS.git
extra_scripts = post:elf2hex.py

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.