http://developer.mico.io/handbooks/11
md micodemo
cd micodemo
mico import helloworld
mico make hellowrld @MK3080B@MOC (MOC MICO ON CHIP)
打开IDE,IMPORT General ...from existing project
new target:helloworld@MK3080B@moc download run
debug configrations,MICO,project 选择HelloWorld
SecureCRT 显示:
][MOC MAIN: moc_main.c: 198] Lib version 3080B002.010. APP built time 06:49:26
[96][MOC MAIN: moc_main.c: 199] heap reuse from 0x1003074c, 55476 bytes
[103][RTOS: mico_rtos_common.c: 84] Started MiCO RTOS interface for mocOS v1.0.0
Initializing Station ...
Station initialized
disable powersave return 0
[342][SYSTEM: system_misc.c: 224] Free memory 138528 bytes
[348][SYSTEM: system_misc.c: 230] Kernel version: 3080B002.010
[353][SYSTEM: system_misc.c: 233] MiCO version: 3.5.1
[358][SYSTEM: system_misc.c: 235] Wi-Fi driver version 3080B-3.6a, mac B0:F8:93:10:25:F1
[369][SYSTEM: config_server.c: 148] Config Server established at port: 8000, fd: 1
[568][helloworld: helloworld.c: 43] Hello world!