陈明计先生的RTOS,堪称经典
源代码在线查看: ex1.tra
*** Creating Trace Output File 'Ex1.tra' Ok.
### Preparing for ADS-LD.
### Creating ADS-LD Command Line
### List of Objects: adding '".\os_cpu_c.o"'
### List of Objects: adding '".\os_cpu_a.o"'
### List of Objects: adding '".\os_core.o"'
### List of Objects: adding '".\os_task.o"'
### List of Objects: adding '".\os_time.o"'
### List of Objects: adding '".\os_msg.o"'
### List of Objects: adding '".\os_sem.o"'
### List of Objects: adding '".\os_event.o"'
### List of Objects: adding '"target.o"'
### List of Objects: adding '"startup.o"'
### List of Objects: adding '"stack.o"'
### List of Objects: adding '"irq.o"'
### List of Objects: adding '"heap.o"'
### List of Objects: adding '"ext1.o"'
### ADS-LD Command completed:
".\os_cpu_c.o" ".\os_cpu_a.o" ".\os_core.o" ".\os_task.o" ".\os_time.o" ".\os_msg.o" ".\os_sem.o" ".\os_event.o" "target.o" "startup.o" "stack.o" "irq.o" "heap.o" "ext1.o" -strict -scatter .\src\mem_c.scf -Entry 0x00000000 -map -xref -callgraph -symbols -info sizes -info totals -info unused -info veneers -list ".\Ex1.map" -o Ex1.axf### Preparing Environment (PrepEnvAds)
### ADS-LD Output File: 'Ex1.axf'
### ADS-LD Command File: 'Ex1.lnp'
### Checking for dirty Components...
### Creating CmdFile 'Ex1.lnp', Handle=0x000002CC
### Writing '.lnp' file
### ADS-LD Command file 'Ex1.lnp' is ready.
### ADS-LD: About to start ADS-LD Thread.
### ADS-LD: executed with 0 errors
### Updating obj list
### LDADS_file() completed.