bdmihai / duefreertos Goto Github PK
View Code? Open in Web Editor NEWFreeRTOS library for Arduino Due
License: MIT License
FreeRTOS library for Arduino Due
License: MIT License
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?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.