feat: sequences v2, bridges, and sim-controller
Rework sequences (engine, seqplay, envelope, API, web UI), add bridge support, add the host sim-controller and rig simulation tests, and update docs, presets and project tooling config. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d664026ee5
commit
2543673bd8
68 files changed
+5761
-460
No files matched your search
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
// Host build: no pins. Calls succeed and do nothing.
|
||||
#include <stdint.h>
|
||||
#include "esp_err.h"
|
||||
typedef int gpio_num_t;
|
||||
typedef enum { GPIO_MODE_DISABLE = 0, GPIO_MODE_INPUT = 1, GPIO_MODE_OUTPUT = 2, GPIO_MODE_INPUT_OUTPUT = 3 } gpio_mode_t;
|
||||
typedef enum { GPIO_PULLUP_DISABLE = 0, GPIO_PULLUP_ENABLE = 1 } gpio_pullup_t;
|
||||
typedef enum { GPIO_PULLDOWN_DISABLE = 0, GPIO_PULLDOWN_ENABLE = 1 } gpio_pulldown_t;
|
||||
typedef enum { GPIO_INTR_DISABLE = 0 } gpio_int_type_t;
|
||||
typedef struct {
|
||||
uint64_t pin_bit_mask;
|
||||
gpio_mode_t mode;
|
||||
gpio_pullup_t pull_up_en;
|
||||
gpio_pulldown_t pull_down_en;
|
||||
gpio_int_type_t intr_type;
|
||||
} gpio_config_t;
|
||||
static inline esp_err_t gpio_config(const gpio_config_t *c) { (void)c; return ESP_OK; }
|
||||
static inline esp_err_t gpio_set_direction(int pin, gpio_mode_t m) { (void)pin; (void)m; return ESP_OK; }
|
||||
static inline esp_err_t gpio_set_level(int pin, uint32_t l) { (void)pin; (void)l; return ESP_OK; }
|
||||
static inline int gpio_get_level(int pin) { (void)pin; return 1; }
|
||||
static inline esp_err_t gpio_reset_pin(int pin) { (void)pin; return ESP_OK; }
|
||||
Reference in new issue
Block a user