mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-04-18 09:25:06 +00:00
Compilation fix
This commit is contained in:
parent
f12a52ebb9
commit
c42b43e1c3
@ -1,5 +1,6 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
|
#include <soc/soc_caps.h>
|
||||||
#if SOC_SDMMC_HOST_SUPPORTED
|
#if SOC_SDMMC_HOST_SUPPORTED
|
||||||
|
|
||||||
#include <sd_protocol_types.h>
|
#include <sd_protocol_types.h>
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
|
#include <soc/soc_caps.h>
|
||||||
#if SOC_SDMMC_HOST_SUPPORTED
|
#if SOC_SDMMC_HOST_SUPPORTED
|
||||||
#include <tactility/filesystem/file_system.h>
|
#include <tactility/filesystem/file_system.h>
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
#include <soc/soc_caps.h>
|
||||||
#if SOC_SDMMC_HOST_SUPPORTED
|
#if SOC_SDMMC_HOST_SUPPORTED
|
||||||
#include <tactility/device.h>
|
#include <tactility/device.h>
|
||||||
#include <tactility/drivers/esp32_sdmmc.h>
|
#include <tactility/drivers/esp32_sdmmc.h>
|
||||||
@ -118,7 +119,6 @@ static error_t start(Device* device) {
|
|||||||
static error_t stop(Device* device) {
|
static error_t stop(Device* device) {
|
||||||
ESP_LOGI(TAG, "stop %s", device->name);
|
ESP_LOGI(TAG, "stop %s", device->name);
|
||||||
auto* data = GET_DATA(device);
|
auto* data = GET_DATA(device);
|
||||||
auto* dts_config = GET_CONFIG(device);
|
|
||||||
|
|
||||||
if (file_system_is_mounted(data->file_system)) {
|
if (file_system_is_mounted(data->file_system)) {
|
||||||
if (file_system_unmount(data->file_system) != ERROR_NONE) {
|
if (file_system_unmount(data->file_system) != ERROR_NONE) {
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
#include <soc/soc_caps.h>
|
||||||
#if SOC_SDMMC_HOST_SUPPORTED
|
#if SOC_SDMMC_HOST_SUPPORTED
|
||||||
#include <tactility/device.h>
|
#include <tactility/device.h>
|
||||||
#include <tactility/drivers/esp32_sdmmc.h>
|
#include <tactility/drivers/esp32_sdmmc.h>
|
||||||
|
|||||||
@ -2,6 +2,8 @@
|
|||||||
#include <tactility/driver.h>
|
#include <tactility/driver.h>
|
||||||
#include <tactility/module.h>
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
#include <soc/soc_caps.h>
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
extern Driver esp32_gpio_driver;
|
extern Driver esp32_gpio_driver;
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
#ifdef ESP_PLATFORM
|
#ifdef ESP_PLATFORM
|
||||||
|
|
||||||
|
#include <soc/soc_caps.h>
|
||||||
|
|
||||||
#include <Tactility/hal/usb/Usb.h>
|
#include <Tactility/hal/usb/Usb.h>
|
||||||
#include <Tactility/hal/sdcard/SpiSdCardDevice.h>
|
#include <Tactility/hal/sdcard/SpiSdCardDevice.h>
|
||||||
#include <Tactility/hal/usb/UsbTusb.h>
|
#include <Tactility/hal/usb/UsbTusb.h>
|
||||||
|
|||||||
@ -416,7 +416,6 @@ const esp_elfsym main_symbols[] {
|
|||||||
// miniz.h
|
// miniz.h
|
||||||
ESP_ELFSYM_EXPORT(tinfl_decompress),
|
ESP_ELFSYM_EXPORT(tinfl_decompress),
|
||||||
ESP_ELFSYM_EXPORT(tinfl_decompress_mem_to_callback),
|
ESP_ELFSYM_EXPORT(tinfl_decompress_mem_to_callback),
|
||||||
ESP_ELFSYM_EXPORT(tinfl_decompress_mem_to_heap),
|
|
||||||
ESP_ELFSYM_EXPORT(tinfl_decompress_mem_to_mem),
|
ESP_ELFSYM_EXPORT(tinfl_decompress_mem_to_mem),
|
||||||
// ledc
|
// ledc
|
||||||
ESP_ELFSYM_EXPORT(ledc_update_duty),
|
ESP_ELFSYM_EXPORT(ledc_update_duty),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user