embedded - sdcc Makefile for 8051 microcontrollers -
hey there works sdcc make projects 8051 microcontroller series on macbook. if yes can please post working make file, specially part loads program in device. confused write program tag in makefile.
it not case makefile include loading code part, old example not help. makefiles simple in essence; have target, , dependencies - if target not exist, or dependency newer target, target rebuilt executing commands.
in case need phony target (one never exists), dependent on binary image or hex-file (or whatever format load file is), the command execute launch whatever flash-programming or bootloader tool toolchain uses load image:
.phony loadimage loadimage : myprogram.hex loader.exe myprogram.hex
Comments
Post a Comment