Skip to main content
Visitor II
June 13, 2018
Question

which software use for stm8l151f3 controller

  • June 13, 2018
  • 3 replies
  • 1937 views
Posted on June 13, 2018 at 10:44

which software use for stm8l151f3 controller in linux(ubuntu)

    This topic has been closed for replies.

    3 replies

    Visitor II
    June 14, 2018
    Posted on June 14, 2018 at 15:16

    You mean for development for the STM8L151F3?

    Basics:

    SDCC for the compiler.

    stm8flash for putting the program onto the device.

    Advanced:

    Maybe an IDE (Eclipse or Code::Blocks)?

    OpenOCD with a patched GDB for on-device debugging.

    Philipp

    Visitor II
    June 15, 2018
    Posted on June 15, 2018 at 10:50

    Here you can find a comprehensive description how to setup a toolchaing for STM8 with SDCC:

    https://stm8-binutils-gdb.sourceforge.io/

     

    If you want to use proper headers you can grab sfr/ddf files from an IAR evaluation version and you can convert them to header files for SDCC with this tool:

    https://github.com/martonmiklos/stm8_sfr_converter

     
    Visitor II
    June 15, 2018
    Posted on June 15, 2018 at 14:17

    '

    which software use for stm8l151f3 controller in linux(ubuntu)'

    here is an approach that some (many?) apple embedded programmers do:

    1) install an emulation software on apple;

    2) install a Windows within it;

    3) install a Windows toolchain for your target onto that Windows.

    4) start develop for embedded targets on apple!

    i'm sure you can replicate that on linux as well.

    Graduate II
    June 15, 2018
    Posted on June 15, 2018 at 17:50

    Apple developer, buys $2000 computer, where $200 was spent on packaging materials, ponders availability of software to get the job done. Me, goes to Walmart grabs $200 laptop.

    Do colleges these days not train graduates how to WRITE and USE, assemblers, compilers, linkers, loaders, etc?

    Visitor II
    June 17, 2018
    Posted on June 17, 2018 at 12:11

    Apple developer, buys $2000 computer, where $200 was spent on packaging materials, ponders availability of software to get the job done

    And will suck with things like STVD cannot see the shared Mac folders and so on.