Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 718 Bytes

File metadata and controls

28 lines (19 loc) · 718 Bytes

Coursera - Embedded Software - Course 1 Week 2 assignment

Vinay Sathyanarayana


Use:
make [TARGET] [PLATFORM-OVERRIDES]

Example:
`$ make build PLATFORM=HOST


  • Build Targets:
    • .i - Generate .i preprocessed output
    • .asm - Generate .asm assembly output
    • .o - Builds .o object file
    • compile-all - Compile all object files, but DO NOT link
    • build - Builds and links all source files
    • clean - Removes all generated files

  • PLATFORM-OVERRIDES:
    • PLATFORM=HOST - Compile for HOST using gcc
    • PLATFORM=MSP432 - Compile for MSP432 using arm-none-eabi-gcc