Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Alan Collins
    @alanc0llins
    Hello
    Jim Tremblay
    @jimtremblay
    Hi @alanc0llins , if you need help, you can ask your questions here. See you soon!
    Alan Collins
    @alanc0llins
    What's nOS
    ?
    Jim Tremblay
    @jimtremblay
    @alanc0llins nOS is a real-time operating system for microcontroller with a very light ROM and RAM footprint. It has all the features you expect from a RTOS: thread, queue, mutex, semaphore, event flags, software timer, memory block allocation, time management with UNIX timestamp.
    Alan Collins
    @alanc0llins
    And how To use?
    Jim Tremblay
    @jimtremblay
    @alanc0llins The same way you include code from github or any other repo. You can check see some examples there: https://github.com/jimtremblay/nOS-examples
    Will Wang
    @wangxxisme

    @jimtremblay @oclarocque
    Hi Jam and Olivier,I learned about nOS from Wikipedia. And Now I tried to develop stm8s208c8 application based on nOS. But I found that when the hex file was larger than 32K, It would not work properly.

    First, I set the code model to small and the optimization level to none , the IAR made the following mistakes:

    Error[Lp011]: section placement failed
    unable to allocate space for sections/blocks with a total estimated minimum size of 0x9370 bytes (max align 0x1) in <[0x008000-0x00ffff]> (total uncommitted space 0x7f80).

    But when I set the optimization level of IAR to High(Size), I successfully compiled a hex file less than 32K. And It works properly.

    And then I set the code model to medium, the compiled hex file less than 32K is OK,But when the hex file is larger than 32K, it would not work properly.

    I'm a beginner at IAR and I haven't found the cause of the mistake so far.

    Do you have any suggestions on this issue?

    Thanks.

    Olivier C. Larocque
    @oclarocque
    Hi @wangxxisme, I'll resinstall the toolchain and see what I get on my side.
    Will Wang
    @wangxxisme
    Hi @oclarocque , Thanks.