arm-none-eabi-as -mcpu=cortex-m3 -o t.o t.s if errorlevel 1 goto bad arm-none-eabi-ld -Map t.map -T stm32.ld -o t.elf t.o if errorlevel 1 goto bad arm-none-eabi-objdump -d t.elf > t.lst arm-none-eabi-objcopy -O ihex t.elf t.hex \stmflash\stmflashloader -c --pn 5 -Dtr --Hi -i STM32_Med-density_64K -e --all -d --fn t.hex -r --a 0x8000000 :bad