Loading src/arch/arduino-nano/Makefile.inc +4 −1 Original line number Diff line number Diff line Loading @@ -161,6 +161,9 @@ program: build/system.hex arch_clean: ${QUIET}rm -f ${OBJECTS} build/system.hex cat: ${QUIET}script/cat.py ${SERIAL_PORT} ${uart_baud} ${cpu_freq} 65536 monitor: ${QUIET}screen ${SERIAL_PORT} ${uart_baud} Loading @@ -184,4 +187,4 @@ arch_info: attributes: build/system.elf ${QUIET}script/size.py avr-size text,data data,bss .PHONY: arch_clean arch_help arch_info attributes monitor program size .PHONY: arch_clean arch_help arch_info attributes cat monitor program size src/arch/esp8266/Makefile.inc +5 −1 Original line number Diff line number Diff line Loading @@ -81,6 +81,7 @@ build/system.elf: build/system.ar -Wl,--gc-sections \ -Wl,--start-group -lc -lgcc -lhal -lpp -lphy -lnet80211 -llwip -lwpa \ -lmain $< -Wl,--end-group -o $@ ${QUIET}${SIZE} build/system.elf | tail -n1 | awk '{ print " ROM: " ($$1+$$2) " (" int(($$1+$$2)*100/49152) "%) RAM: " ($$2 + $$3) " (" int(($$2+$$3)*100/4096) "%)" }' build/0x00000.bin: build/system.elf ${ESPTOOL} --chip esp8266 elf2image -o build/ $< Loading @@ -97,6 +98,9 @@ arch_clean: monitor: screen ${SERIAL_PORT} 115200 cat: ${QUIET}script/cat.py ${SERIAL_PORT} 115200 80000000 0 arch_help: @echo "esp8266 coding advice:" @echo " The ESP8266 SDK does not give full hardware control." Loading @@ -117,4 +121,4 @@ arch_info: attributes: build/system.elf ${QUIET}script/size.py ${SIZE} text,irom0.text data,bss .PHONY: arch_clean arch_help arch_info attributes monitor program .PHONY: arch_clean arch_help arch_info attributes cat monitor program src/arch/stm32f446re-nucleo/Makefile.inc +5 −1 Original line number Diff line number Diff line Loading @@ -98,6 +98,7 @@ build/system.elf: ${OBJECTS} ext/libopencm3/lib/libopencm3_stm32f4.a -T src/arch/stm32f446re-nucleo/stm32f446.ld \ ${OBJECTS} -lopencm3_stm32f4 \ -o $@ ${QUIET}${SIZE} build/system.elf | tail -n1 | awk '{ print " ROM: " ($$1+$$2) " (" int(($$1+$$2)*100/49152) "%) RAM: " ($$2 + $$3) " (" int(($$2+$$3)*100/4096) "%)" }' program: build/system.elf openocd -c 'source [find interface/stlink-v2-1.cfg]' \ Loading @@ -110,6 +111,9 @@ program: build/system.elf arch_clean: ${QUIET}rm -f ${OBJECTS} cat: ${QUIET}script/cat.py /dev/${SERIAL_PORT} 115200 ${cpu_freq} 65536 monitor: ${QUIET}screen /dev/${SERIAL_PORT} 115200 Loading @@ -128,4 +132,4 @@ arch_info: attributes: build/system.elf ${QUIET}script/size.py ${SIZE} text,data data,bss .PHONY: arch_clean arch_help arch_info attributes monitor program .PHONY: arch_clean arch_help arch_info attributes cat monitor program Loading
src/arch/arduino-nano/Makefile.inc +4 −1 Original line number Diff line number Diff line Loading @@ -161,6 +161,9 @@ program: build/system.hex arch_clean: ${QUIET}rm -f ${OBJECTS} build/system.hex cat: ${QUIET}script/cat.py ${SERIAL_PORT} ${uart_baud} ${cpu_freq} 65536 monitor: ${QUIET}screen ${SERIAL_PORT} ${uart_baud} Loading @@ -184,4 +187,4 @@ arch_info: attributes: build/system.elf ${QUIET}script/size.py avr-size text,data data,bss .PHONY: arch_clean arch_help arch_info attributes monitor program size .PHONY: arch_clean arch_help arch_info attributes cat monitor program size
src/arch/esp8266/Makefile.inc +5 −1 Original line number Diff line number Diff line Loading @@ -81,6 +81,7 @@ build/system.elf: build/system.ar -Wl,--gc-sections \ -Wl,--start-group -lc -lgcc -lhal -lpp -lphy -lnet80211 -llwip -lwpa \ -lmain $< -Wl,--end-group -o $@ ${QUIET}${SIZE} build/system.elf | tail -n1 | awk '{ print " ROM: " ($$1+$$2) " (" int(($$1+$$2)*100/49152) "%) RAM: " ($$2 + $$3) " (" int(($$2+$$3)*100/4096) "%)" }' build/0x00000.bin: build/system.elf ${ESPTOOL} --chip esp8266 elf2image -o build/ $< Loading @@ -97,6 +98,9 @@ arch_clean: monitor: screen ${SERIAL_PORT} 115200 cat: ${QUIET}script/cat.py ${SERIAL_PORT} 115200 80000000 0 arch_help: @echo "esp8266 coding advice:" @echo " The ESP8266 SDK does not give full hardware control." Loading @@ -117,4 +121,4 @@ arch_info: attributes: build/system.elf ${QUIET}script/size.py ${SIZE} text,irom0.text data,bss .PHONY: arch_clean arch_help arch_info attributes monitor program .PHONY: arch_clean arch_help arch_info attributes cat monitor program
src/arch/stm32f446re-nucleo/Makefile.inc +5 −1 Original line number Diff line number Diff line Loading @@ -98,6 +98,7 @@ build/system.elf: ${OBJECTS} ext/libopencm3/lib/libopencm3_stm32f4.a -T src/arch/stm32f446re-nucleo/stm32f446.ld \ ${OBJECTS} -lopencm3_stm32f4 \ -o $@ ${QUIET}${SIZE} build/system.elf | tail -n1 | awk '{ print " ROM: " ($$1+$$2) " (" int(($$1+$$2)*100/49152) "%) RAM: " ($$2 + $$3) " (" int(($$2+$$3)*100/4096) "%)" }' program: build/system.elf openocd -c 'source [find interface/stlink-v2-1.cfg]' \ Loading @@ -110,6 +111,9 @@ program: build/system.elf arch_clean: ${QUIET}rm -f ${OBJECTS} cat: ${QUIET}script/cat.py /dev/${SERIAL_PORT} 115200 ${cpu_freq} 65536 monitor: ${QUIET}screen /dev/${SERIAL_PORT} 115200 Loading @@ -128,4 +132,4 @@ arch_info: attributes: build/system.elf ${QUIET}script/size.py ${SIZE} text,data data,bss .PHONY: arch_clean arch_help arch_info attributes monitor program .PHONY: arch_clean arch_help arch_info attributes cat monitor program