1. Install vim/emacs

   sudo zypper in emacs

2. Install sdcc

  sudo zypper in sdcc

3. download python script sdcflash

  wget https://github.com/laborer/stcflash/raw/master/stcflash.py

  you may need to install python-serial

sudo zypper in python-serial

 

4. write codes

5. sdcc compile them

    sdcc hello.c

6. Transfer file

   pacihx hello.ihx > hello.hex

   objcopy -I ihex -O binary hello.hex hello.bin

7. upoload hello.hex/hello.bin

sudo python sdcflash.py -l 9600