💾
EC
  • Introduction
  • EC Course
    • Syllabus
    • Preparation for EC
    • Tutorial
      • Tutorial: arduino-stm32
        • Tutorial: arduino-stm32 Installation
        • Tutorial: arduino-stm32 Part1
        • Tutorial: arduino-stm32 Part2
      • Tutorial: MDK uVision
        • Tutorial: Installing MDK uVision
        • Tutorial: Create a Project with uVision
        • Tutorial: Adding library header in uVision
        • Tutorial: Re-using Project Configuration
        • Debugging in uVision
      • Tutorial: PlatformIO in CLion
      • Tutorial: PlatformIO in VSCode
      • Tutorial: Repository Management
      • Tutorial: Managing library header files
      • Tutorial: PinName Configuration
      • Tutorial: Bitwise Macro
      • Tutorial: Custom initialization
      • Tutorial: Documentation
      • Tutorial: Creating Application API
      • Tutorial: 7-Segment Display
      • Tutorial: DC motor driver connection
      • Tutorial: USART with TeraTerm
      • Tutorial: Finite State Machine programming
      • Tutorial: Bluetooth
      • Tutorial: Zigbee with Nucleo board
    • LAB
      • LAB Report Template
      • LAB: Smart mini-fan with STM32-duino
      • LAB: Portable Fan with mbed
      • LAB: GPIO Digital InOut
      • LAB: GPIO Digital InOut 7-segment
      • LAB: EXTI & SysTick
      • LAB: Timer & PWM
      • LAB: Stepper Motor
      • LAB: Input Capture - Ultrasonic
      • LAB: USART - LED, Bluetooth
      • LAB: ADC - IR reflective sensor
      • LAB: Line Tracing RC Car
    • Sample code
      • Code Templates
    • Hardware
      • Nucleo-F411RE
      • LAB Hardware
        • Electronic Chips
        • HUINS Embedded Kit
    • Projects
      • Line Tracing Car Project
      • Design Project
        • Past Projects
      • Project Grading Criteria
    • Study Resource for MCU
      • Hexa-Decimal Table
      • Bitwise Op for Register
      • System Clock
      • Timer
      • USART
      • ADC
  • STM32 M4 Programming
    • Documentation
      • C++ API Docs
    • Firmware Library
      • PinName Configuration
      • GPIO Digital
      • RCC
      • EXTI_SysTick
      • TIMER
      • USART
    • Troubleshooting
    • mbed for STM32
      • Tutorial: mbed-Part 1
      • Tutorial: mbed - Part 2
      • Tutorial: mbed - Part 3
      • Using mbed API on uVision
    • mbed OS
  • Other Programming
    • Arduino
    • Socket Programming
      • Window Socket Programming
      • Arduino WiFi
    • Cube-MX
    • Github
    • Markdown
      • Example: API documentation
    • MATLAB
  • C Programming
    • C-Programming Lessons
      • Installing Visual Studio Community
        • Visual Studio Community 2022
      • Installing VS Code(Mac/Linux)
      • Creating Header Lib
      • Pointer
      • Array
      • 2D Array
      • Structure
      • Dynamic Alloc
      • Bitwise Operation
  • Numerical Programming
    • Syllabus
    • Preparation for NP
    • Math Review
    • Tutorial
      • TA Session Video
      • Tutorial: NP Library Header Files
      • Tutorial - Sine Taylor
      • Tutorial: Passing a Function, Function callback
      • Tutorial: Nonlinear solver
      • Tutorial: Differentiation
      • Tutorial: Integration
      • Tutorial: Matrix Structure
      • Tutorial: Eigenvalue problem
      • Tutorial: ODE-IVP
      • Tutorial: Curve Fitting
      • Tutorial: Create Github Repos of NP lib
      • Tutorial: Version Control in Github
      • Tutorial: Documentation with Markdown
      • Exercise: Version Control and Documentation
    • Example: MATLAB
    • Example: NP Library
    • Assignment
      • Assignment Factorial and Power
      • Assignment: Version Control and Documentation
    • Problem Bank
Powered by GitBook
On this page
  • Overall Repository
  • 1. EC workspace (Lab, Tutorial, Lib)
  • Create the EC workspace:
  • Create a new project & Include library paths
  • 2. EC-student repository (provided source codes from EC github)
  • Clone the repository "EC-student"
  • 3. Your private github repository
  • Create a new git repository
  • Clone github repository in local folder
  • Create folders
  • Commit & Push
  • Collaborator

Was this helpful?

  1. EC Course
  2. Tutorial

Tutorial: Repository Management

PreviousTutorial: PlatformIO in VSCodeNextTutorial: Managing library header files

Last updated 9 months ago

Was this helpful?

Overall Repository

C:\Users\(user_name)\source\repos

overall repository

1. EC workspace (Lab, Tutorial, Lib)

This is the local folder where you do your tutorial, lab.

Create the EC workspace:

  • Create a folder named as "EC" in "C:\users(user_name)\source\repos".

  • Create 3 folders named as "Tutorial", "LAB" and "lib" in "EC" folder.

    • Tutorial / LAB : includes the project files.

    • lib : includes header files.

Create a new project & Include library paths

  • Create a new folder in "LAB" or "Tutorial".

    • named as "LAB_(title)" or "TU_(title)"

  • Then, set "Include Paths" as "C:\users(user_name)\source\repos\EC\lib".

2. EC-student repository (provided source codes from EC github)

This is where you download or fetch the provided source codes used in EC lecture.

Clone the repository "EC-student"

  • Open with Github Desktop.

  • Check "Local path" and Click "Clone".

  • Then, you can see the repository "EC-student" is copied in your local PC.

  • You can copy & paste some files for tutorial or lab.

3. Your private github repository

This is for managing the version of your library and your source file. DO NOT include the project related files.

Create a new git repository

    • Repository name : EC-(your initials)-(3 ends of student number)

  • You must choose Private.

  • Add a README file.

Clone github repository in local folder

  • Open with Github Desktop from github repository

  • Check "Local path", and click "clone".

Create folders

  • docs : documents for functions

  • include : includes header files

  • lab : includes report and source files

  • tutorial : includes source files

Commit & Push

  • Copy & paste only source files from your project directory.

  • Github Desktop shows changed things.

  • Commit : records the modified things.

  • Push to github

Collaborator

  • Click [Settings] - [Collaborators] - [Add people]

  • Search professor and TA id and add them as collaborator.

    • ykkimhgu

    • ckdals9150

project repository

Create a new project and set for embedded board.

include path

open with github desktop
clone a repository
local repository

Create a new repository in .

create a repository
open with github desktop
clone a repository
local repository
copy src files
github desktop
commit
push
github
add collaborators
add a collaborator
Tutorial: Create a project with uVision
github.com/ykkimhgu/EC-student
Github