Code Monkey home page Code Monkey logo

scoop's People

Contributors

fabriceo avatar henryloenwind avatar per1234 avatar soif 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  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  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

scoop's Issues

scoop-sleep(ms)

sorry my english is not well , thanks for share scoop lib , it's really useful ,
my question is function "sleep" is millisecond, can it use microsecond??

thank you so much

Restart a task

It would be great if there were an ability to restart a task. It should be quite easy (just set the stack to the state after initial creation), but I can't get it working myself.

This would be great for "worker" tasks, which need to be reset if the work changes.

The issue of SCoop not being usable at all

SCoop is almost unusable! Too many problems are missing! I imported the files SCoop. CPP SCoop. H in my project! They are all unusable! Do you need support from other libraries

`timer0_overflow_count' referenced in section `.text' of ... defined in discarded section `.text' of wiring.c.o (symbol from plugin)

I'm getting this error on Arduino IDE 1.6.12 with version 1.2 of SCoop. It compiles fine on Arduino IDE 1.6.3.

I've tried adding __attribute__((used)) to timer0_overflow_count in SCoop.cpp, but it didn't help. Google suggests that this issue is caused by Link-Time Optimization (LTO) which was enabled in recent versions of Arduino IDE.

Linking everything together...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -w -Os -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p  -o "C:\Users\User\AppData\Local\Temp\arduino_build_421117/Garage3.ino.elf" "C:\Users\User\AppData\Local\Temp\arduino_build_421117\sketch\Events.cpp.o" "C:\Users\User\AppData\Local\Temp\arduino_build_421117\sketch\Garage3.ino.cpp.o" "C:\Users\User\AppData\Local\Temp\arduino_build_421117\libraries\SCoop\SCoop.cpp.o" "C:\Users\User\AppData\Local\Temp\arduino_build_421117\libraries\SPI\SPI.cpp.o" "C:\Users\User\AppData\Local\Temp\arduino_build_421117\libraries\Ethernet\Dhcp.cpp.o" "C:\Users\User\AppData\Local\Temp\arduino_build_421117\libraries\Ethernet\Dns.cpp.o" "C:\Users\User\AppData\Local\Temp\arduino_build_421117\libraries\Ethernet\Ethernet.cpp.o" "C:\Users\User\AppData\Local\Temp\arduino_build_421117\libraries\Ethernet\EthernetClient.cpp.o" "C:\Users\User\AppData\Local\Temp\arduino_build_421117\libraries\Ethernet\EthernetServer.cpp.o" "C:\Users\User\AppData\Local\Temp\arduino_build_421117\libraries\Ethernet\EthernetUdp.cpp.o" "C:\Users\User\AppData\Local\Temp\arduino_build_421117\libraries\Ethernet\utility\socket.cpp.o" "C:\Users\User\AppData\Local\Temp\arduino_build_421117\libraries\Ethernet\utility\w5100.cpp.o" "C:\Users\User\AppData\Local\Temp\arduino_build_421117/core\core.a" "-LC:\Users\User\AppData\Local\Temp\arduino_build_421117" -lm
`timer0_overflow_count' referenced in section `.text' of C:\Users\User\AppData\Local\Temp\ccIO2cUw.ltrans3.ltrans.o: defined in discarded section `.text' of wiring.c.o (symbol from plugin)

`timer0_overflow_count' referenced in section `.text' of C:\Users\User\AppData\Local\Temp\ccIO2cUw.ltrans3.ltrans.o: defined in discarded section `.text' of wiring.c.o (symbol from plugin)

`timer0_overflow_count' referenced in section `.text' of C:\Users\User\AppData\Local\Temp\ccIO2cUw.ltrans3.ltrans.o: defined in discarded section `.text' of wiring.c.o (symbol from plugin)

`timer0_overflow_count' referenced in section `.text' of C:\Users\User\AppData\Local\Temp\ccIO2cUw.ltrans3.ltrans.o: defined in discarded section `.text' of wiring.c.o (symbol from plugin)

`timer0_overflow_count' referenced in section `.text' of C:\Users\User\AppData\Local\Temp\ccIO2cUw.ltrans7.ltrans.o: defined in discarded section `.text' of wiring.c.o (symbol from plugin)

`timer0_overflow_count' referenced in section `.text' of C:\Users\User\AppData\Local\Temp\ccIO2cUw.ltrans7.ltrans.o: defined in discarded section `.text' of wiring.c.o (symbol from plugin)

collect2.exe: error: ld returned 1 exit status

V1.8.8 arduino undefined reference to `timer0_overflow_count'

Leonardo:

C:\Users\l\AppData\Local\Temp\ccyqFSrX.ltrans0.ltrans.o: In function `SCoopMicros16':

D:\Arduino-mindPlus\hardware\arduino\avr\libraries\SCoop/SCoop.cpp:226: undefined reference to `timer0_overflow_count'

D:\Arduino-mindPlus\hardware\arduino\avr\libraries\SCoop/SCoop.cpp:226: undefined reference to `timer0_overflow_count'

D:\Arduino-mindPlus\hardware\arduino\avr\libraries\SCoop/SCoop.cpp:226: undefined reference to `timer0_overflow_count'

collect2.exe: error: ld returned 1 exit status

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.