Search:

Type: Posts; User: wolfrose

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    2,508

    Hi, I'm progressing in the code, I guess I...

    Hi,

    I'm progressing in the code, I guess I have to do things without a debugger.

    I just thought that I can find or set the debugger to step into every instruction or step of the program.
    ...
  2. Replies
    12
    Views
    2,508

    I gave up searching for a debugger, and continue...

    I gave up searching for a debugger, and continue on CodeBlocks without trying to get a more deeper debugging mechanism.

    I tried CLion, the debugger worked better but I had to remove parts of the...
  3. Replies
    12
    Views
    2,508

    Yes, I really appreciate your help. This is...

    Yes, I really appreciate your help.

    This is the repository:
    GitHub - eagl1/thread_task_coroutines_manager: not complete version of the project
  4. Replies
    12
    Views
    2,508

    Hi Schol-R-LEA-2...

    Hi Schol-R-LEA-2 thank you for the wonderful answer. But it's a bit difficult for me to comprehend everything in your answer as I haven't searched about debuggers before, and actually the debugger...
  5. Replies
    12
    Views
    2,508

    I used breakpoints, but the debugger doesn't stop...

    I used breakpoints, but the debugger doesn't stop and continue to run.

    Yep, I'm trying to develop a simple thread/task manager using similar macros like coroutines, and this is where debugging...
  6. Replies
    12
    Views
    2,508

    How to debug every instruction of the code ?

    Hi,

    I'm trying to debug a code I'm working on using CodeBlocks.

    The code uses the windows GetTickCount, coroutines and other macros.

    But when I start the debugging session, I step into like...
  7. Replies
    2
    Views
    805

    Yes, that's my post in that forum. As the...

    Yes, that's my post in that forum.

    As the thread got really long and there's only one member who is helping me and the member helped me a lot so far and I still have issues in the code, but I...
  8. Replies
    2
    Views
    805

    Not consistent coroutines code results

    Hi,

    I was learning about coroutines and I like it beside I did a similar code using void pointers which contain a lot of casting, so I for now like the coroutines more.

    I did a small example on...
  9. OK, I want to get the timer counting mode not...

    OK, I want to get the timer counting mode not time elapse mode as with the timeout.

    I want the timer to run in the background and start running, counting from 0 to overflow and start again, not...
  10. I'm working on this one: #include...

    I'm working on this one:


    #include <windows.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <stdint.h>
    #include <stdbool.h>
    #include <inttypes.h>
  11. OK, got this code to work. ...

    OK, got this code to work.



    /* Title: library manager
    Date: Mon, 11 Jun 2021
    */
    #include <windows.h>
    #include <stdio.h>
    #include <stdlib.h>
  12. Thank you so much for the links ! I tried the...

    Thank you so much for the links ! I tried the snippet and it worked, I got the timeout action.

    But I want a simpler one, so I tried the "SetTimer" in this link:

    SetTimer function (winuser.h) -...
  13. How to implement software timers for C GNU code ?

    Hi,

    I searched and tried to compile some snippets and example codes from online but faced some problems.

    Last one, this:

    Timer framework in C - Code Review Stack Exchange

    But got this...
  14. I'm writing a small threading manager for...

    I'm writing a small threading manager for microcontrollers and having problems in referencing pointers to void :)
  15. malloc different types of data and a pointer to array

    Hi,

    I want to get a pointer to a list of data that should be a list of arguments.

    These are header stuff:
    ...
  16. I liked the "toys" description :biggrin: Yes...

    I liked the "toys" description :biggrin:

    Yes of course without OS, one has to read the datasheet and write the device drivers for that chip.

    Arduino; for example, is doing this by installing...
  17. Yes, I got you, you mean that the hardware is...

    Yes, I got you, you mean that the hardware is something done which is the CPU and how it handles tasks, that's the hardware part.

    But for the software part, it is the way how the core main...
  18. OK, so my understanding for the desktop running...

    OK, so my understanding for the desktop running concept is that windows is built over a kernel written in C.

    So the kernel of the CPU is the one that do the algorithms, logic and arithmetic...
  19. How a CPU with multi-core architecture run kernel with one main function ?

    Hi,

    I hope it's the right forum to ask this question, I was doing a simple microcontroller session and one asked me this question which I didn't expect actually ;)

    He asked me why in a C...
  20. So is recursion a good programming practice or I...

    So is recursion a good programming practice or I better use function pointers and callbacks from a manager function ?
  21. It means like "hopefully" in the Arabic language,...

    It means like "hopefully" in the Arabic language, also; like, for sake of God, for the love of God ... etc. Arabs also have religious phrases like any other regions in the world :) I hope it's not a...
  22. I found this link which talks about the goals I...

    I found this link which talks about the goals I want to reach for God's will.

    Arduino Linked List Menu for LCD | Arduino | C++ Programming | Freelancer

    Yes, I want a code that manage the writes...
  23. I checked the optimizations in codeblocks, there...

    I checked the optimizations in codeblocks, there are 11. Which one to use ?

    Also, went to the gcc website, this link, there are a lot of stuff here:

    Optimize Options (Using the GNU Compiler...
  24. OK, so unless I optimize the compiler, it would...

    OK, so unless I optimize the compiler, it would be like free machine. Basically a compiler like the GCC is doing anything freely without optimizations. The programmer has to do them.

    Are there any...
  25. It's ok, I'm not insisting on this method, II...

    It's ok, I'm not insisting on this method, II just tried it and thought why it crashes every time.

    My alternative solution is to run a normal timer; like:


    uint32_t millis(void){
    ...
Results 1 to 25 of 82
Page 1 of 4 1 2 3 4