yarf 0.1
Yet Another RepRap Firmware
Functions | Variables
src/yarf.c File Reference

Contains the main entry point of the firmware. More...

#include "yarf.h"
#include "hardware/io.h"
#include "hardware/usart.h"
#include "hardware/steppers.h"
#include "hardware/clock.h"
#include "input/gcode.h"
#include "movement/planner.h"
#include "movement/block_handler.h"
#include "scheduling/periodic.h"
#include "temperature/temperature.h"
#include <avr/interrupt.h>

Go to the source code of this file.

Functions

int main (void)
 The main function, which is the entry point of the firmware.

Variables

 FUSES
 The fuse values for the MCU.

Detailed Description

Contains the main entry point of the firmware.

Author:
Pieter Agten (pieter.agten@gmail.com)
Date:
3 sep 2011 This file contains the main function, which is the entry point of the firmware.

Definition in file yarf.c.


Function Documentation

int main ( void  )

The main function, which is the entry point of the firmware.

Initializes all components needed to do the actual work and calls the gcode command component in order to start processing incoming gcode commands. The main function does not (and should not) return.

Definition at line 72 of file yarf.c.


Variable Documentation

Initial value:
 
{
  .low = LFUSE,
  .high = HFUSE,
  .extended = EFUSE,
}

The fuse values for the MCU.

These fuse values will be placed in a special section in the ELF output file, after linking. By embedding the fuse values in the ELF file, the entire firmware is packed into a single file, which can be used to program the entire MCU.

Definition at line 55 of file yarf.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines