Skip to content

Commit

Permalink
DM: add config, remove board-specific build
Browse files Browse the repository at this point in the history
  • Loading branch information
deanm1278 committed Oct 6, 2017
1 parent 8ad3b96 commit a858472
Show file tree
Hide file tree
Showing 94 changed files with 250 additions and 16,301 deletions.
61 changes: 61 additions & 0 deletions seesaw/Config/charLCD.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
#ifndef SEESAW_DEVICE_CONFIG_H
#define SEESAW_DEVICE_CONFIG_H

//* ============== POOL SIZES =================== *//
#define EVT_SIZE_SMALL 16
#define EVT_SIZE_MEDIUM 32
#define EVT_SIZE_LARGE 64
#define EVT_COUNT_SMALL 16
#define EVT_COUNT_MEDIUM 8
#define EVT_COUNT_LARGE 1

//* ============== ADC =================== *//
#define CONFIG_ADC 0
#define CONFIG_ADC_INPUT_0 1

#define CONFIG_ADC_INPUT_1 1

#define CONFIG_ADC_INPUT_2 0

#define CONFIG_ADC_INPUT_3 0

//* ============== DAC =================== *//
#define CONFIG_DAC 0

//* ============== TIMER =================== *//
#define CONFIG_TIMER 1

#define CONFIG_TIMER_PWM_OUT0 1

#define CONFIG_TIMER_PWM_OUT1 1

#define CONFIG_TIMER_PWM_OUT2 1

#define CONFIG_TIMER_PWM_OUT3 1

//* ============== INTERRUPT =================== *//
#define CONFIG_INTERRUPT 0
#define CONFIG_INTERRUPT_PIN 8

//* ============== I2C SLAVE =================== *//
#define CONFIG_I2C_SLAVE 1

//* ============== SERCOM =================== *//
#define CONFIG_SERCOM0 0
#define CONFIG_SERCOM1 0
#define CONFIG_SERCOM2 0

//These are only available on samd21
#define CONFIG_SERCOM3 0
#define CONFIG_SERCOM4 0
#define CONFIG_SERCOM5 0

//* ============== DAP =================== *//
#define CONFIG_DAP 0

//* =========== NEOPIXEL ================ *//
#define CONFIG_NEOPIXEL 0

#define CONFIG_NEOPIXEL_BUF_MAX 1024

#endif
61 changes: 61 additions & 0 deletions seesaw/Config/debug.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
#ifndef SEESAW_DEVICE_CONFIG_H
#define SEESAW_DEVICE_CONFIG_H

//* ============== POOL SIZES =================== *//
#define EVT_SIZE_SMALL 16
#define EVT_SIZE_MEDIUM 32
#define EVT_SIZE_LARGE 64
#define EVT_COUNT_SMALL 16
#define EVT_COUNT_MEDIUM 8
#define EVT_COUNT_LARGE 1

//* ============== ADC =================== *//
#define CONFIG_ADC 0
#define CONFIG_ADC_INPUT_0 1

#define CONFIG_ADC_INPUT_1 1

#define CONFIG_ADC_INPUT_2 0

#define CONFIG_ADC_INPUT_3 0

//* ============== DAC =================== *//
#define CONFIG_DAC 0

//* ============== TIMER =================== *//
#define CONFIG_TIMER 0

#define CONFIG_TIMER_PWM_OUT0 1

#define CONFIG_TIMER_PWM_OUT1 1

#define CONFIG_TIMER_PWM_OUT2 0

#define CONFIG_TIMER_PWM_OUT3 0

//* ============== INTERRUPT =================== *//
#define CONFIG_INTERRUPT 0
#define CONFIG_INTERRUPT_PIN 8

//* ============== I2C SLAVE =================== *//
#define CONFIG_I2C_SLAVE 1

//* ============== SERCOM =================== *//
#define CONFIG_SERCOM0 0
#define CONFIG_SERCOM1 0
#define CONFIG_SERCOM2 0

//These are only available on samd21
#define CONFIG_SERCOM3 0
#define CONFIG_SERCOM4 0
#define CONFIG_SERCOM5 0

//* ============== DAP =================== *//
#define CONFIG_DAP 0

//* =========== NEOPIXEL ================ *//
#define CONFIG_NEOPIXEL 1

#define CONFIG_NEOPIXEL_BUF_MAX 1024

#endif
63 changes: 63 additions & 0 deletions seesaw/Config/joyFeather.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
#ifndef SEESAW_DEVICE_CONFIG_H
#define SEESAW_DEVICE_CONFIG_H

#define PRODUCT_CODE 3632

//* ============== POOL SIZES =================== *//
#define EVT_SIZE_SMALL 16
#define EVT_SIZE_MEDIUM 32
#define EVT_SIZE_LARGE 64
#define EVT_COUNT_SMALL 16
#define EVT_COUNT_MEDIUM 8
#define EVT_COUNT_LARGE 1

//* ============== ADC =================== *//
#define CONFIG_ADC 1
#define CONFIG_ADC_INPUT_0 1

#define CONFIG_ADC_INPUT_1 1

#define CONFIG_ADC_INPUT_2 0

#define CONFIG_ADC_INPUT_3 0

//* ============== DAC =================== *//
#define CONFIG_DAC 0

//* ============== TIMER =================== *//
#define CONFIG_TIMER 0

#define CONFIG_TIMER_PWM_OUT0 1

#define CONFIG_TIMER_PWM_OUT1 1

#define CONFIG_TIMER_PWM_OUT2 0

#define CONFIG_TIMER_PWM_OUT3 0

//* ============== INTERRUPT =================== *//
#define CONFIG_INTERRUPT 1
#define CONFIG_INTERRUPT_PIN 4

//* ============== I2C SLAVE =================== *//
#define CONFIG_I2C_SLAVE 1

//* ============== SERCOM =================== *//
#define CONFIG_SERCOM0 0
#define CONFIG_SERCOM1 0
#define CONFIG_SERCOM2 0

//These are only available on samd21
#define CONFIG_SERCOM3 0
#define CONFIG_SERCOM4 0
#define CONFIG_SERCOM5 0

//* ============== DAP =================== *//
#define CONFIG_DAP 0

//* =========== NEOPIXEL ================ *//
#define CONFIG_NEOPIXEL 0

#define CONFIG_NEOPIXEL_BUF_MAX 1024

#endif
65 changes: 65 additions & 0 deletions seesaw/Config/samd09Breakout.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
#ifndef SEESAW_DEVICE_CONFIG_H
#define SEESAW_DEVICE_CONFIG_H

#define PRODUCT_CODE 0000

#define CONFIG_USB 0ul

//* ============== POOL SIZES =================== *//
#define EVT_SIZE_SMALL 16
#define EVT_SIZE_MEDIUM 32
#define EVT_SIZE_LARGE 64
#define EVT_COUNT_SMALL 16
#define EVT_COUNT_MEDIUM 8
#define EVT_COUNT_LARGE 1

//* ============== ADC =================== *//
#define CONFIG_ADC 1
#define CONFIG_ADC_INPUT_0 1

#define CONFIG_ADC_INPUT_1 1

#define CONFIG_ADC_INPUT_2 1

#define CONFIG_ADC_INPUT_3 0

//* ============== DAC =================== *//
#define CONFIG_DAC 0

//* ============== TIMER =================== *//
#define CONFIG_TIMER 1

#define CONFIG_TIMER_PWM_OUT0 0

#define CONFIG_TIMER_PWM_OUT1 1

#define CONFIG_TIMER_PWM_OUT2 1

#define CONFIG_TIMER_PWM_OUT3 1

//* ============== INTERRUPT =================== *//
#define CONFIG_INTERRUPT 1
#define CONFIG_INTERRUPT_PIN 8

//* ============== I2C SLAVE =================== *//
#define CONFIG_I2C_SLAVE 1

//* ============== SERCOM =================== *//
#define CONFIG_SERCOM0 0
#define CONFIG_SERCOM1 0
#define CONFIG_SERCOM2 0

//These are only available on samd21
#define CONFIG_SERCOM3 0
#define CONFIG_SERCOM4 0
#define CONFIG_SERCOM5 0

//* ============== DAP =================== *//
#define CONFIG_DAP 0

//* =========== NEOPIXEL ================ *//
#define CONFIG_NEOPIXEL 1

#define CONFIG_NEOPIXEL_BUF_MAX 512

#endif
Loading

0 comments on commit a858472

Please sign in to comment.