فهرست منبع

Fixed small bug when entering no port. Added os detection to cmakelist for automatic build

Janco Kock 10 سال پیش
والد
کامیت
b8420faace
9فایلهای تغییر یافته به همراه193 افزوده شده و 453 حذف شده
  1. 34 2
      .gitignore
  2. 0 38
      .gitignore.bak
  3. 3 1
      .idea/InternetRadio.iml
  4. 1 0
      .idea/encodings.xml
  5. 119 394
      .idea/workspace.xml
  6. 12 0
      CMakeLists.txt
  7. 16 16
      keyboard.c
  8. 3 0
      main.c
  9. 5 2
      make.sh

+ 34 - 2
.gitignore

@@ -1,6 +1,38 @@
-*.exe
-*.hex
+# Object files
 *.o
+*.ko
+*.obj
 *.elf
+*.d
 *.lst
+
+# Precompiled Headers
+*.gch
+*.pch
+
+# Libraries
+*.lib
+*.a
+*.la
+*.lo
+
+# Shared objects (inc. Windows DLLs)
+*.dll
+*.so
+*.so.*
+*.dylib
+*.bin
 *.map
+
+# Executables
+*.exe
+*.out
+*.app
+*.i*86
+*.x86_64
+*.hex
+
+# Debug files
+*.dSYM/
+*.sh
+.idea/

+ 0 - 38
.gitignore.bak

@@ -1,38 +0,0 @@
-# Object files
-*.o
-*.ko
-*.obj
-*.elf
-*.d
-*.lst
-
-# Precompiled Headers
-*.gch
-*.pch
-
-# Libraries
-*.lib
-*.a
-*.la
-*.lo
-
-# Shared objects (inc. Windows DLLs)
-*.dll
-*.so
-*.so.*
-*.dylib
-*.bin
-*.map
-
-# Executables
-*.exe
-*.out
-*.app
-*.i*86
-*.x86_64
-*.hex
-
-# Debug files
-*.dSYM/
-*.sh
-.idea/

+ 3 - 1
.idea/InternetRadio.iml

@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <module type="CPP_MODULE" version="4">
   <component name="NewModuleRootManager">
-    <content url="file://$MODULE_DIR$" />
+    <content url="file://$MODULE_DIR$">
+      <sourceFolder url="file://$MODULE_DIR$/CMakeLists.txt" isTestSource="false" />
+    </content>
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="module-library">
       <library name="Header Search Paths">

+ 1 - 0
.idea/encodings.xml

@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project version="4">
   <component name="Encoding">
+    <file url="file://$PROJECT_DIR$/keyboard.c" charset="UTF-8" />
     <file url="PROJECT" charset="UTF-8" />
   </component>
 </project>

+ 119 - 394
.idea/workspace.xml

@@ -2,7 +2,13 @@
 <project version="4">
   <component name="CMakeRunConfigurationManager" shouldGenerate="true" assignedExecutableTargets="true" buildAllGenerated="true">
     <generated>
+      <config projectName="osx" targetName="osx" />
+      <config projectName="osx" targetName="linux" />
+      <config projectName="projectgroepa6" targetName="projectgroepa6" />
+      <config projectName="project" targetName="project" />
+      <config projectName="linux" targetName="linux" />
       <config projectName="InternetRadio" targetName="InternetRadio" />
+      <config projectName="mutli_os_build" targetName="mutli_os_build" />
     </generated>
   </component>
   <component name="CMakeSettings" AUTO_RELOAD="false" GENERATION_PASS_SYSTEM_ENVIRONMENT="true">
@@ -12,337 +18,14 @@
   </component>
   <component name="ChangeListManager">
     <list default="true" id="8005cdec-074e-478f-b095-591cd1517046" name="Default" comment="">
-      <change type="DELETED" beforePath="$PROJECT_DIR$/CMakeLists.txt" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_aic.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_ccfg.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_dbgu.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_ebi.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_efc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_emac.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_matrix.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_mc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_mci.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_pio.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_pit.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_pmc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_ps.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_rstc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_sdramc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_sf.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_smc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_spi.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_ssc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_tc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_twi.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_us.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_wd.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91_wdt.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91eb40a.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91sam7x.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91sam9260.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/at91x40.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/atom.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/gba.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/irqreg.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/lpc2xxx.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/arm/timer.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/avr.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/avr/atom.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/avr/gcc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/avr/icc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/avr/irqreg.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/avr/timer.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/h8.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/h8300h/atom.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/h8300h/h83068f.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/h8300h/irqreg.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/m68k.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/m68k/atom.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/m68k/irqreg.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/timer.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/unix.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/unix/atom.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/unix/irqreg.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arch/unix/timer.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/arpa/inet.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/ahdlc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/arch.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/arch/armpio.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/arch/avr.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/arch/avrpio.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/arch/gpio.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/arp.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/audio.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/bankmem.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/chat.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/clock.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/coconut.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/crt.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/dev.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/dhcp.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/eeprom.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/ethernut.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/fs.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/ip.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/lcd.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/m-can.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/medianut.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/memory.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/modem.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/os.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/ppp.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/progif.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/rport.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/sntp.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/syslog.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/tcp.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/twi.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cfg/xnut.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/compiler.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cpp/nutcpp.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/cpu_load.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/ace.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/adc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/ahdlc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/ahdlcavr.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/at45db.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/at49bv.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/at91_efc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/at91_emac.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/at91_mci.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/at91_spi.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/at91sam7x_emac.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/at91sam7x_mac.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/atcan.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/avrtarget.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/ax88796.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/blockdev.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/board.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/can_dev.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/chat.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/cs8900a.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/cy2239x.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/debug.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/dm9000e.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/ds1307rtc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/genchar.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/hd44780.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/hd44780_bus.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/ide.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/idep.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/ir.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/irqreg.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/irqreg_arm.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/irqreg_avr.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/irqreg_h8.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/irqreg_m68k.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/irqreg_unix.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/irqstack.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/irsony.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/lanc111.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/mmcard.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/mweeprom.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/netbuf.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/nicrtl.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/npl.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/nplmmc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/npluled.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/null.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/nvmem.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/pcf8563.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/pcmcia.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/pnut.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/ppp.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/rtc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/sbbif0.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/sbbif1.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/sbbif2.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/sbbif3.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/sbimmc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/scih8.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/sja1000.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/spidigio.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/spiflash.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/spimmc_at91.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/sppif0.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/st7036.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/term.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/tlc16c550.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/twif.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/uart.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/uartavr.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/uartgba.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/uartspi.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/unix_devs.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/urom.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/usart.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/usartat91.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/usartavr.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/vs1001k.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/vs10xx.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/watchdog.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/wlan.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/wlancfg.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/wlandef.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/wlandrv.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/wlantypes.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dev/x12rtc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/dirent.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/display.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/errno.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fat.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fatdrv.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fcntl.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/flash.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs/dospart.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs/fat.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs/fatfs.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs/fs.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs/phat12.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs/phat16.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs/phat32.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs/phatdbg.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs/phatdir.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs/phatfs.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs/phatio.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs/phatutil.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs/phatvol.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs/typedefs.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs/uromfs.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs_org/dospart.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs_org/fat.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs_org/fatfs.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs_org/fs.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs_org/phat12.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs_org/phat16.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs_org/phat32.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs_org/phatdbg.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs_org/phatdir.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs_org/phatfs.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs_org/phatio.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs_org/phatutil.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs_org/phatvol.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs_org/typedefs.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/fs_org/uromfs.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/io.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/keyboard.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/led.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/libgen.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/log.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/mmc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/mmcdrv.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/net/errno.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/net/ether.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/net/if.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/net/if_arp.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/net/if_types.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/net/if_var.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/net/netdebug.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/net/ppp.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/net/route.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/netdb.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/netinet/icmp.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/netinet/if_ether.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/netinet/if_ppp.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/netinet/igmp.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/netinet/in.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/netinet/ip.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/netinet/ip_icmp.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/netinet/ipcsum.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/netinet/ppp_fsm.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/netinet/tcp.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/netinet/tcp_fsm.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/netinet/tcputil.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/netinet/udp.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/platform.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/portio.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/pro/asp.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/pro/dhcp.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/pro/discover.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/pro/ftpd.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/pro/httpd.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/pro/sntp.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/pro/ssi.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/pro/wins.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/remcon.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/rtc.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/spidrv.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/stdio.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/stdio_nut_wrapper.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/strtok_r.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/atom.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/bankmem.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/confnet.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/confos.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/device.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/event.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/file.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/heap.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/msg.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/mutex.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/nut_types.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/nutconfig.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/osdebug.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/semaphore.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/sock_var.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/socket.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/sockio.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/stat.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/syslog.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/thread.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/timer.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/tracer.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/types.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/sys/version.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/system.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/time.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/typedefs.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/uart0driver.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/unistd.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/vs10xx.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/include/watchdog.h" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/display.c" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/display.lst" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/fat.c" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/fat.lst" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/flash.c" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/flash.lst" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/http.c" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/inet.c" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/keyboard.c" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/keyboard.lst" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/led.c" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/led.lst" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/log.c" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/log.lst" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/main.c" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/main.lst" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/mmc.c" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/mmc.lst" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/mmcdrv.c" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/mmcdrv.lst" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/remcon.c" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/remcon.lst" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/rtc.c" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/rtc.lst" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/session.c" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/spidrv.c" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/spidrv.lst" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/uart0driver.c" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/uart0driver.lst" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/util.c" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/vs10xx.c" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/vs10xx.lst" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/watchdog.c" afterPath="" />
-      <change type="DELETED" beforePath="$PROJECT_DIR$/source/watchdog.lst" afterPath="" />
+      <change type="DELETED" beforePath="$PROJECT_DIR$/.gitignore.bak" afterPath="" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.gitignore" afterPath="$PROJECT_DIR$/.gitignore" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/InternetRadio.iml" afterPath="$PROJECT_DIR$/.idea/InternetRadio.iml" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/misc.xml" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/encodings.xml" afterPath="$PROJECT_DIR$/.idea/encodings.xml" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Makefile" afterPath="$PROJECT_DIR$/Makefile" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/keyboard.c" afterPath="$PROJECT_DIR$/keyboard.c" />
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/main.c" afterPath="$PROJECT_DIR$/main.c" />
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/make.sh" afterPath="$PROJECT_DIR$/make.sh" />
     </list>
     <ignored path="InternetRadio.iws" />
     <ignored path=".idea/workspace.xml" />
@@ -366,8 +49,28 @@
       <file leaf-file-name="Makefile" pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/Makefile">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="468">
-              <caret line="26" column="22" selection-start-line="26" selection-start-column="22" selection-end-line="26" selection-end-column="22" />
+            <state relative-caret-position="72">
+              <caret line="4" column="16" selection-start-line="4" selection-start-column="16" selection-end-line="4" selection-end-column="16" />
+              <folding />
+            </state>
+          </provider>
+        </entry>
+      </file>
+      <file leaf-file-name="main.c" pinned="false" current-in-tab="true">
+        <entry file="file://$PROJECT_DIR$/main.c">
+          <provider selected="true" editor-type-id="text-editor">
+            <state relative-caret-position="231">
+              <caret line="297" column="20" selection-start-line="297" selection-start-column="20" selection-end-line="297" selection-end-column="20" />
+              <folding />
+            </state>
+          </provider>
+        </entry>
+      </file>
+      <file leaf-file-name="keyboard.h" pinned="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/keyboard.h">
+          <provider selected="true" editor-type-id="text-editor">
+            <state relative-caret-position="196">
+              <caret line="94" column="8" selection-start-line="94" selection-start-column="8" selection-end-line="94" selection-end-column="8" />
               <folding />
             </state>
           </provider>
@@ -376,31 +79,28 @@
       <file leaf-file-name=".gitignore" pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/.gitignore">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="432">
-              <caret line="37" column="6" selection-start-line="37" selection-start-column="6" selection-end-line="37" selection-end-column="6" />
+            <state relative-caret-position="-184">
+              <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
               <folding />
             </state>
           </provider>
         </entry>
       </file>
-      <file leaf-file-name="main.c" pinned="false" current-in-tab="true">
-        <entry file="file://$PROJECT_DIR$/main.c">
+      <file leaf-file-name="keyboard.c" pinned="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/keyboard.c">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="522">
-              <caret line="44" column="18" selection-start-line="44" selection-start-column="18" selection-end-line="44" selection-end-column="18" />
-              <folding>
-                <element signature="e#666#686#0" expanded="true" />
-                <element signature="e#909#931#0" expanded="true" />
-              </folding>
+            <state relative-caret-position="288">
+              <caret line="264" column="1" selection-start-line="264" selection-start-column="1" selection-end-line="264" selection-end-column="1" />
+              <folding />
             </state>
           </provider>
         </entry>
       </file>
-      <file leaf-file-name="led.h" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/lib/led.h">
+      <file leaf-file-name="make.sh" pinned="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/make.sh">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="198">
-              <caret line="29" column="77" selection-start-line="29" selection-start-column="77" selection-end-line="29" selection-end-column="77" />
+            <state relative-caret-position="0">
+              <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
               <folding />
             </state>
           </provider>
@@ -417,6 +117,7 @@
         <option value="$PROJECT_DIR$/lib/led.h" />
         <option value="$PROJECT_DIR$/Makefile" />
         <option value="$PROJECT_DIR$/.gitignore" />
+        <option value="$PROJECT_DIR$/keyboard.c" />
         <option value="$PROJECT_DIR$/main.c" />
       </list>
     </option>
@@ -483,18 +184,21 @@
     <property name="js-jscs-nodeInterpreter" value="/usr/bin/node" />
     <property name="last_opened_file_path" value="$PROJECT_DIR$" />
   </component>
-  <component name="RunManager" selected="Application.Build All">
-    <configuration default="true" type="CMakeGoogleTestRunConfigurationType" factoryName="Google Test" PASS_PARENT_ENVS="FALSE" PROJECT_NAME="InternetRadio" TARGET_NAME="InternetRadio" CONFIG_NAME="Debug" TEST_MODE="SUITE_TEST">
+  <component name="RunManager" selected="Application.mutli_os_build">
+    <configuration default="true" type="CMakeGoogleTestRunConfigurationType" factoryName="Google Test" PASS_PARENT_ENVS_2="true" PROJECT_NAME="InternetRadio" TARGET_NAME="InternetRadio" CONFIG_NAME="Debug" TEST_MODE="SUITE_TEST">
       <envs />
       <method />
     </configuration>
-    <configuration default="true" type="CMakeRunConfiguration" factoryName="Application" PASS_PARENT_ENVS="FALSE" PROJECT_NAME="InternetRadio" TARGET_NAME="InternetRadio" CONFIG_NAME="Debug">
+    <configuration default="true" type="CMakeRunConfiguration" factoryName="Application" PASS_PARENT_ENVS_2="true" PROJECT_NAME="InternetRadio" TARGET_NAME="InternetRadio" CONFIG_NAME="Debug">
       <envs />
       <method />
     </configuration>
     <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
       <method />
     </configuration>
+    <configuration default="true" type="NodeWebKit" factoryName="NW.js">
+      <method />
+    </configuration>
     <configuration default="true" type="PythonConfigurationType" factoryName="Python">
       <option name="INTERPRETER_OPTIONS" value="" />
       <option name="PARENT_ENVS" value="true" />
@@ -643,17 +347,12 @@
       <option name="USE_KEYWORD" value="false" />
       <method />
     </configuration>
-    <configuration default="false" name="Build All" type="CMakeRunConfiguration" factoryName="Application" PASS_PARENT_ENVS="FALSE" CONFIG_NAME="Debug" EXPLICIT_BUILD_TARGET_NAME="all">
+    <configuration default="false" name="mutli_os_build" type="CMakeRunConfiguration" factoryName="Application" WORKING_DIR="" PASS_PARENT_ENVS_2="true" PROJECT_NAME="mutli_os_build" TARGET_NAME="mutli_os_build" CONFIG_NAME="Debug">
       <envs />
       <method />
     </configuration>
-    <configuration default="false" name="InternetRadio" type="CMakeRunConfiguration" factoryName="Application" PASS_PARENT_ENVS="FALSE" PROJECT_NAME="InternetRadio" TARGET_NAME="InternetRadio" CONFIG_NAME="Debug" RUN_TARGET_PROJECT_NAME="InternetRadio" RUN_TARGET_NAME="InternetRadio">
-      <envs />
-      <method />
-    </configuration>
-    <list size="2">
-      <item index="0" class="java.lang.String" itemvalue="Application.Build All" />
-      <item index="1" class="java.lang.String" itemvalue="Application.InternetRadio" />
+    <list size="1">
+      <item index="0" class="java.lang.String" itemvalue="Application.mutli_os_build" />
     </list>
   </component>
   <component name="ShelveChangesManager" show_recycled="false">
@@ -678,26 +377,27 @@
     </todo-panel>
   </component>
   <component name="ToolWindowManager">
-    <frame x="0" y="27" width="1920" height="1053" extended-state="7" />
-    <editor active="false" />
+    <frame x="0" y="27" width="1920" height="1053" extended-state="0" />
+    <editor active="true" />
     <layout>
-      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.20991561" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
-      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32972974" sideWeight="0.4978903" order="6" side_tool="false" content_ui="tabs" />
-      <window_info id="CMake" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.2745946" sideWeight="0.49156117" order="7" side_tool="false" content_ui="tabs" />
-      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32864866" sideWeight="0.5221519" order="10" side_tool="true" content_ui="tabs" />
+      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.20991561" sideWeight="0.4935484" order="0" side_tool="false" content_ui="combo" />
+      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32972974" sideWeight="0.4957806" order="6" side_tool="false" content_ui="tabs" />
+      <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32972974" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
+      <window_info id="CMake" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.2745946" sideWeight="0.48945147" order="7" side_tool="false" content_ui="tabs" />
+      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32972974" sideWeight="0.5042194" order="10" side_tool="true" content_ui="tabs" />
+      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
       <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32972974" sideWeight="0.4978903" order="8" side_tool="false" content_ui="tabs" />
+      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
       <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
-      <window_info id="Terminal" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32864866" sideWeight="0.4778481" order="9" side_tool="false" content_ui="tabs" />
-      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
+      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32864866" sideWeight="0.4757384" order="9" side_tool="false" content_ui="tabs" />
+      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.20991561" sideWeight="0.5064516" order="2" side_tool="true" content_ui="tabs" />
+      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
       <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
       <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
       <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
       <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
-      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
       <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
-      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
       <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
-      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
     </layout>
   </component>
   <component name="VcsContentAnnotationSettings">
@@ -710,36 +410,46 @@
   <component name="editorHistoryManager">
     <entry file="file://$PROJECT_DIR$/Makefile">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="0">
-          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
+        <state relative-caret-position="468">
+          <caret line="26" column="22" selection-start-line="26" selection-start-column="22" selection-end-line="26" selection-end-column="22" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/.gitignore">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="108">
+          <caret line="6" column="0" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
           <folding />
         </state>
       </provider>
     </entry>
     <entry file="file://$PROJECT_DIR$/main.c">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="756">
-          <caret line="42" column="23" selection-start-line="42" selection-start-column="23" selection-end-line="42" selection-end-column="23" />
+        <state relative-caret-position="0">
+          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
           <folding />
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/lib/led.c">
+    <entry file="file://$PROJECT_DIR$/Makefile">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="414">
-          <caret line="23" column="77" selection-start-line="23" selection-start-column="77" selection-end-line="23" selection-end-column="77" />
+        <state relative-caret-position="0">
+          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
           <folding />
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/lib/led.h">
+    <entry file="file://$PROJECT_DIR$/main.c">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="540">
-          <caret line="30" column="66" selection-start-line="30" selection-start-column="66" selection-end-line="30" selection-end-column="66" />
+        <state relative-caret-position="756">
+          <caret line="42" column="23" selection-start-line="42" selection-start-column="23" selection-end-line="42" selection-end-column="23" />
           <folding />
         </state>
       </provider>
     </entry>
+    <entry file="file://$PROJECT_DIR$/lib/led.c" />
+    <entry file="file://$PROJECT_DIR$/lib/led.h" />
     <entry file="file://$PROJECT_DIR$/Makefile">
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="504">
@@ -799,54 +509,69 @@
     <entry file="file://$PROJECT_DIR$/CMakeLists.txt" />
     <entry file="file://$PROJECT_DIR$/source/http.c" />
     <entry file="file://$PROJECT_DIR$/source/main.c" />
-    <entry file="file://$PROJECT_DIR$/lib/led.c">
+    <entry file="file://$PROJECT_DIR$/lib/led.c" />
+    <entry file="file://$PROJECT_DIR$/main.c">
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="288">
-          <caret line="102" column="3" selection-start-line="102" selection-start-column="3" selection-end-line="102" selection-end-column="3" />
+          <caret line="31" column="14" selection-start-line="31" selection-start-column="14" selection-end-line="31" selection-end-column="14" />
           <folding />
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/main.c">
+    <entry file="file://$PROJECT_DIR$/lib/led.h" />
+    <entry file="file://$PROJECT_DIR$/.gitignore.bak">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="288">
-          <caret line="31" column="14" selection-start-line="31" selection-start-column="14" selection-end-line="31" selection-end-column="14" />
+        <state relative-caret-position="0">
+          <caret line="0" column="4" selection-start-line="0" selection-start-column="0" selection-end-line="38" selection-end-column="0" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/.gitignore">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="-184">
+          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
           <folding />
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/lib/led.h">
+    <entry file="file://$PROJECT_DIR$/make.sh">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="198">
-          <caret line="29" column="77" selection-start-line="29" selection-start-column="77" selection-end-line="29" selection-end-column="77" />
+        <state relative-caret-position="0">
+          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
           <folding />
         </state>
       </provider>
     </entry>
     <entry file="file://$PROJECT_DIR$/Makefile">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="468">
-          <caret line="26" column="22" selection-start-line="26" selection-start-column="22" selection-end-line="26" selection-end-column="22" />
+        <state relative-caret-position="72">
+          <caret line="4" column="16" selection-start-line="4" selection-start-column="16" selection-end-line="4" selection-end-column="16" />
           <folding />
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/.gitignore">
+    <entry file="file://$PROJECT_DIR$/keyboard.h">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="432">
-          <caret line="37" column="6" selection-start-line="37" selection-start-column="6" selection-end-line="37" selection-end-column="6" />
+        <state relative-caret-position="196">
+          <caret line="94" column="8" selection-start-line="94" selection-start-column="8" selection-end-line="94" selection-end-column="8" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/keyboard.c">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="288">
+          <caret line="264" column="1" selection-start-line="264" selection-start-column="1" selection-end-line="264" selection-end-column="1" />
           <folding />
         </state>
       </provider>
     </entry>
     <entry file="file://$PROJECT_DIR$/main.c">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="522">
-          <caret line="44" column="18" selection-start-line="44" selection-start-column="18" selection-end-line="44" selection-end-column="18" />
-          <folding>
-            <element signature="e#666#686#0" expanded="true" />
-            <element signature="e#909#931#0" expanded="true" />
-          </folding>
+        <state relative-caret-position="231">
+          <caret line="297" column="20" selection-start-line="297" selection-start-column="20" selection-end-line="297" selection-end-column="20" />
+          <folding />
         </state>
       </provider>
     </entry>

+ 12 - 0
CMakeLists.txt

@@ -0,0 +1,12 @@
+cmake_minimum_required(VERSION 2.8.4)
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
+project(mutli_os_build)
+
+IF(${WIN32})
+	add_custom_target(multi_os_build COMMAND make -C ${mytest_SOURCE_DIR})
+ELSEIF(${APPLE})
+	add_custom_target(multi_os_build cd ${project_SOURCE_DIR} && bash make.sh /dev/cu.usbserial)
+ELSEIF(${UNIX})
+	add_custom_target(mutli_os_build cd ${project_SOURCE_DIR} && bash make.sh /dev/ttyUSB0)
+ENDIF()
+

+ 16 - 16
keyboard.c

@@ -74,7 +74,7 @@ static u_char KbRemapKey(u_short LongKey);
 
 
 
-/* ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ */
+/* ����������������������������������������������������������������������� */
 /*!
  * \brief Clear the eventbuffer of this module
  *
@@ -82,7 +82,7 @@ static u_char KbRemapKey(u_short LongKey);
  *
  * \param *pEvent pointer to the event queue
  */
-/* ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ */
+/* ����������������������������������������������������������������������� */
 static void KbClearEvent(HANDLE *pEvent)
 {
     NutEnterCritical();
@@ -92,7 +92,7 @@ static void KbClearEvent(HANDLE *pEvent)
     NutExitCritical();
 }
 
-/* ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ */
+/* ����������������������������������������������������������������������� */
 /*!
  * \brief Low-level keyboard scan
  *
@@ -101,7 +101,7 @@ static void KbClearEvent(HANDLE *pEvent)
  *
  * After each keyboard-scan, check for a valid MMCard
  */
-/* ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ */
+/* ����������������������������������������������������������������������� */
 void KbScan()
 {
     u_char KeyNibble0, KeyNibble1, KeyNibble2, KeyNibble3;
@@ -161,12 +161,12 @@ void KbScan()
 
 }
 
-/* ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ */
+/* ����������������������������������������������������������������������� */
 /*!
  * \brief Remap the 16-bit value for the active key to an 8-bit value
  *
  */
-/* ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ */
+/* ����������������������������������������������������������������������� */
 static u_char KbRemapKey(u_short LongKey)
 {
     switch (LongKey)
@@ -192,25 +192,25 @@ static u_char KbRemapKey(u_short LongKey)
     }
 }
 
-/* ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ */
+/* ����������������������������������������������������������������������� */
 /*!
  * \brief Return the repeating property for this key
  *
  * \return 'TRUE' in case the key was repeating, 'FALSE' if not
  *
  */
-/* ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ */
+/* ����������������������������������������������������������������������� */
 static u_char KbKeyIsRepeating(u_short Key)
 {
     return(KeyRepeatArray[KbRemapKey(Key)]==KEY_REPEAT);
 }
 
-/* ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ */
+/* ����������������������������������������������������������������������� */
 /*!
  * \brief set the property of this key to repeating or not-repeating
  *
  */
-/* ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ */
+/* ����������������������������������������������������������������������� */
 void KbSetKeyRepeating(u_char Key, u_char Property)
 {
     // check arguments
@@ -220,7 +220,7 @@ void KbSetKeyRepeating(u_char Key, u_char Property)
     }
 }
 
-/* ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ */
+/* ����������������������������������������������������������������������� */
 /*!
  * \brief Wait until an event was pushed on the eventqueue for this module
  *
@@ -232,7 +232,7 @@ void KbSetKeyRepeating(u_char Key, u_char Property)
  * \return KB_OK in case an event was found
  * \return KB_ERROR in case no event was found (return due to timeout)
  */
-/* ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ */
+/* ����������������������������������������������������������������������� */
 int KbWaitForKeyEvent(u_long dwTimeout)
 {
 
@@ -248,7 +248,7 @@ int KbWaitForKeyEvent(u_long dwTimeout)
     return(nError);
 }
 
-/* ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ */
+/* ����������������������������������������������������������������������� */
 /*!
  * \brief Return the databyte that was receeived in the IR-stream
  *
@@ -260,7 +260,7 @@ int KbWaitForKeyEvent(u_long dwTimeout)
  *
  * \todo implement a key-buffer for this routine
  */
-/* ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ */
+/* ����������������������������������������������������������������������� */
 u_char KbGetKey()
 {
     return(KeyBuffer[0]);
@@ -275,7 +275,7 @@ void KbInjectKey(u_char VirtualKey)
     KeyBuffer[0]=VirtualKey;
     NutEventPostFromIrq(&hKBEvent);   // 'valid key' detected -> generate Event
 }
-/* ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ */
+/* ����������������������������������������������������������������������� */
 /*!
  * \brief Initialise the Keyboard module
  *
@@ -288,7 +288,7 @@ void KbInjectKey(u_char VirtualKey)
  * when no key is pressed. Use negative logic to detect keys.
  * So default state of the colums is '1'
  */
-/* ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ */
+/* ����������������������������������������������������������������������� */
 void KbInit()
 {
     u_char i;

+ 3 - 0
main.c

@@ -295,6 +295,9 @@ int main(void)
 
     char string[1000];
     strcpy(string, "RADIO TEST");
+    LcdBackLight(LCD_BACKLIGHT_ON);
+    LcdChar('test');
+
     for(;;){
         u_char x = KbGetKey();
         if(x == KEY_OK){

+ 5 - 2
make.sh

@@ -20,8 +20,11 @@ if [ "$output" = "success" ]; then
 	rm ipac.hex -f
 	echo "Downloading hex file.."
 	wget http://imegumii.space:12001/source/ipac.hex -q --show-progress;
-	echo "Starting flash..";
-	mono internetradioflash.exe f=ipac.hex p="$port"
+
+	if [ "$port" != "" ]; then
+		echo "Starting flash..";
+		mono internetradioflash.exe f=ipac.hex p="$port"
+	fi
 else
 	echo "Errors when making; Stopped";
 fi