Enable FreeRTOS SMP (multicore) (#90)

This commit is contained in:
Ken Van Hoeylandt
2024-11-25 21:57:20 +01:00
committed by GitHub
parent dfd9349e6c
commit d06137ba76
12 changed files with 22 additions and 18 deletions
+2 -1
View File
@@ -2,6 +2,7 @@
#include "I2cCompat.h"
#include "CoreTypes.h"
#include <climits>
#include <string>
#include <vector>
@@ -24,7 +25,7 @@ typedef struct {
/** Whether configuration can be changed. */
bool hasMutableConfiguration;
/** Read/write timeout (not related to mutex locking mechanism) */
TickType_t timeout;
unsigned long timeout;
/** Configuration that must be valid when initAtBoot is set to true. */
i2c_config_t config;
} Configuration;
+1 -3
View File
@@ -1,13 +1,11 @@
#pragma once
#ifdef ESP_TARGET
#include <hal/i2c_types.h>
#include <driver/i2c.h>
#else
#include <cstdint>
#include "portmacro.h"
typedef int esp_err_t;