Comments (6)
It's a bug in the version of gcc in 1.80.
Go to libraries/ChibiOS_AVR/src/utility/chthreads.c and add this as a work around at line 397.
void chThdExit(msg_t msg) __attribute__((used)); //<<<< ADD THIS LINE
void chThdExit(msg_t msg) {
chSysLock();
chThdExitS(msg);
/* The thread never returns here.*/
}
from chibios-arduino.
Download the newest version of ChibiOS and try porting it to Arduino. There really are no tutorials about building operating systems for small embedded systems.
Here is a link.
Better yet, Download ChibiStudio and use it with a low cost STM32 board.
Ebay has this board for about $3.00 with 20K RAM and 64K flash.
Digikey has this board for about $15.00 with 128K of RAM and 512K of flash.
from chibios-arduino.
I won't be updating ChibiOS, use the standalone version of ChibiOS.
from chibios-arduino.
I tried 1.80 on Windows and it is OK. Looks like a problem with the Linux version of the IDE.
Here is chBlink:
Sketch uses 3076 bytes (9%) of program storage space. Maximum is 32256 bytes.
Global variables use 557 bytes (27%) of dynamic memory, leaving 1491 bytes for local variables. Maximum is 2048 bytes.
Here is the blinkPrint example.
Sketch uses 5004 bytes (15%) of program storage space. Maximum is 32256 bytes.
Global variables use 782 bytes (38%) of dynamic memory, leaving 1266 bytes for local variables. Maximum is 2048 bytes.
from chibios-arduino.
Thanks! with that tricky line everything seems to work fine.
I've tried to study the code by myself but I got lost pretty soon. Do you have any suggestions on how to start hacking with ChibiOS?
from chibios-arduino.
Thanks!
from chibios-arduino.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chibios-arduino.