echo off set device=-mmcu=msp430x149 cd C:\cpp\mspgcc\workspace\radio\Debug set simp_include= -I../ -I../bsp_external -IC:/cpp/mspgcc/simpti_source/bsp/ -IC:/cpp/mspgcc/simpti_source/mrfi/ -IC:/cpp/mspgcc/simpti_source/simpliciti/nwk/ -IC:/cpp/mspgcc/simpti_source/simpliciti/nwk_applications/ set defines=-DACCESS_POINT -DNUM_CONNECTIONS=8 -DSIZE_INFRAME_Q=6 -DSIZE_OUTFRAME_Q=2 -DAP_IS_DATA_HUB -DNUM_STORE_AND_FWD_CLIENTS=3 -DSTARTUP_JOINCONTEXT_ON -DTHIS_DEVICE_ADDRESS="{{0x97, 0x56, 0x34, 0x12}}" -DMAX_APP_PAYLOAD=10 -DMAX_NWK_PAYLOAD=MAX_PING_APP_FRAME -DMAX_HOPS_FROM_AP=2 -DDEFAULT_LINK_TOKEN=0x05060708 -DMAX_HOPS=3 -DDEFAULT_JOIN_TOKEN=0x01020304 -DAPP_AUTO_ACK -DSW_TIMER -DUSER_SNIFFER set nwk_path=C:/cpp/mspgcc/simpti_source/simpliciti/nwk/ set nwk_app_path=C:/cpp/mspgcc/simpti_source/simpliciti/nwk_applications/ set mrfi_path=C:/cpp/mspgcc/simpti_source/mrfi/ set bsp_path=C:/cpp/mspgcc/simpti_source/bsp/ echo on rem nwk msp430-gcc %device% %simp_include% %defines% -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MF "nwk_globals.d" -MT"nwk_globals.d" -o "nwk_globals.o" %nwk_path%nwk_globals.c msp430-gcc %device% %simp_include% %defines% -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF "nwk.d" -MT"nwk.d" -o "nwk.o" %nwk_path%nwk.c msp430-gcc %device% %simp_include% %defines% -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF "nwk_QMgmt.d" -MT"nwk_QMgmt.d" -o "nwk_QMgmt.o" %nwk_path%nwk_QMgmt.c msp430-gcc %device% %simp_include% %defines% -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF "nwk_frame.d" -MT"nwk_frame.d" -o "nwk_frame.o" %nwk_path%nwk_frame.c msp430-gcc %device% %simp_include% %defines% -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF "nwk_api.d" -MT"nwk_api.d" -o "nwk_api.o" %nwk_path%nwk_api.c rem nwk_applications msp430-gcc %device% %simp_include% %defines% -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF "nwk_security.d" -MT"nwk_security.d" -o "nwk_security.o" %nwk_app_path%nwk_security.c msp430-gcc %device% %simp_include% %defines% -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF "nwk_link.d" -MT"nwk_link.d" -o "nwk_link.o" %nwk_app_path%nwk_link.c msp430-gcc %device% %simp_include% %defines% -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF "nwk_mgmt.d" -MT"nwk_mgmt.d" -o "nwk_mgmt.o" %nwk_app_path%nwk_mgmt.c msp430-gcc %device% %simp_include% %defines% -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF "nwk_freq.d" -MT"nwk_freq.d" -o "nwk_freq.o" %nwk_app_path%nwk_freq.c msp430-gcc %device% %simp_include% %defines% -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF "nwk_join.d" -MT"nwk_join.d" -o "nwk_join.o" %nwk_app_path%nwk_join.c msp430-gcc %device% %simp_include% %defines% -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF "nwk_ping.d" -MT"nwk_ping.d" -o "nwk_ping.o" %nwk_app_path%nwk_ping.c msp430-gcc %device% %simp_include% %defines% -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF "nwk_ioctl.d" -MT"nwk_ioctl.d" -o "nwk_ioctl.o" %nwk_app_path%nwk_ioctl.c rem radios msp430-gcc %device% %simp_include% %defines% -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF "mrfi.d" -MT"mrfi.d" -o "mrfi.o" %mrfi_path%mrfi.c rem bsp msp430-gcc %device% %simp_include% %defines% -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF "bsp.d" -MT"bsp.d" -o "bsp.o" %bsp_path%bsp.c rem msp430-gcc %device% -include ../bsp_config.h %simp_include% %defines% -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF "bsp_board.d" -MT"bsp_board.d" -o "bsp_board.o" "bsp_board.c" pause