-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DM: add config, remove board-specific build
- Loading branch information
Showing
94 changed files
with
250 additions
and
16,301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.