Fix incorrect include paths for platform-unique header files

This commit is contained in:
Ryan Turner 2025-09-30 21:55:30 -05:00 committed by Silvano Seva
parent 04249f4d4d
commit d2ddddf478
15 changed files with 17 additions and 17 deletions

View File

@ -21,7 +21,7 @@
#include "core/backup.h" #include "core/backup.h"
#include "core/xmodem.h" #include "core/xmodem.h"
#include <string.h> #include <string.h>
#include "W25Qx.h" #include "drivers/NVM/W25Qx.h"
#if defined(PLATFORM_GD77) || defined(PLATFORM_DM1801) #if defined(PLATFORM_GD77) || defined(PLATFORM_DM1801)
static const size_t EFLASH_SIZE = 1024*1024; // 1 MB static const size_t EFLASH_SIZE = 1024*1024; // 1 MB

View File

@ -18,7 +18,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/> * * along with this program; if not, see <http://www.gnu.org/licenses/> *
***************************************************************************/ ***************************************************************************/
#include "drivers/USB/usb_vcom.h" #include "drivers/usb_vcom.h"
#include <stdbool.h> #include <stdbool.h>
#include <stdlib.h> #include <stdlib.h>
#include "core/xmodem.h" #include "core/xmodem.h"

View File

@ -35,7 +35,7 @@ using namespace M17;
#include "core/ringbuf.hpp" #include "core/ringbuf.hpp"
#include <atomic> #include <atomic>
#ifndef PLATFORM_LINUX #ifndef PLATFORM_LINUX
#include "drivers/USB/usb_vcom.h" #include "drivers/usb_vcom.h"
#endif #endif
typedef struct typedef struct

View File

@ -24,8 +24,8 @@
#include "interfaces/cps_io.h" #include "interfaces/cps_io.h"
#include "core/nvmem_access.h" #include "core/nvmem_access.h"
#include "core/utils.h" #include "core/utils.h"
#include "AT24Cx.h" #include "drivers/NVM/AT24Cx.h"
#include "W25Qx.h" #include "drivers/NVM/W25Qx.h"
#include "cps_data_GDx.h" #include "cps_data_GDx.h"
//static const uint32_t zoneBaseAddr = 0x149e0; /**< Base address of zones */ //static const uint32_t zoneBaseAddr = 0x149e0; /**< Base address of zones */

View File

@ -25,7 +25,7 @@
#include "wchar.h" #include "wchar.h"
#include "core/utils.h" #include "core/utils.h"
#include "cps_data_MD3x0.h" #include "cps_data_MD3x0.h"
#include "W25Qx.h" #include "drivers/NVM/W25Qx.h"
extern const struct nvmDevice eflash; extern const struct nvmDevice eflash;

View File

@ -25,7 +25,7 @@
#include "core/nvmem_access.h" #include "core/nvmem_access.h"
#include "core/utils.h" #include "core/utils.h"
#include "cps_data_MDUV3x0.h" #include "cps_data_MDUV3x0.h"
#include "W25Qx.h" #include "drivers/NVM/W25Qx.h"
extern const struct nvmDevice eflash; extern const struct nvmDevice eflash;

View File

@ -25,7 +25,7 @@
#include "interfaces/cps_io.h" #include "interfaces/cps_io.h"
#include "core/utils.h" #include "core/utils.h"
#include "cps_data_MDUV3x0.h" #include "cps_data_MDUV3x0.h"
#include "W25Qx.h" #include "drivers/NVM/W25Qx.h"
extern const struct nvmDevice eflash; extern const struct nvmDevice eflash;

View File

@ -23,7 +23,7 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include "I2C0.h" #include "I2C0.h"
#include "AT24Cx.h" #include "drivers/NVM/AT24Cx.h"
static const uint8_t DEV_ADDR = 0xA0; /* EEPROM I2C address */ static const uint8_t DEV_ADDR = 0xA0; /* EEPROM I2C address */
static const size_t PAGE_SIZE = 128; static const size_t PAGE_SIZE = 128;

View File

@ -18,7 +18,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/> * * along with this program; if not, see <http://www.gnu.org/licenses/> *
***************************************************************************/ ***************************************************************************/
#include "W25Qx.h" #include "drivers/NVM/W25Qx.h"
#include <errno.h> #include <errno.h>
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -27,8 +27,8 @@
#include "drivers/SPI/spi_bitbang.h" #include "drivers/SPI/spi_bitbang.h"
#include "hwconfig.h" #include "hwconfig.h"
#include "core/utils.h" #include "core/utils.h"
#include "AT24Cx.h" #include "drivers/NVM/AT24Cx.h"
#include "W25Qx.h" #include "drivers/NVM/W25Qx.h"
static const struct W25QxCfg eflashCfg = static const struct W25QxCfg eflashCfg =
{ {

View File

@ -26,7 +26,7 @@
#include <string.h> #include <string.h>
#include "wchar.h" #include "wchar.h"
#include "core/utils.h" #include "core/utils.h"
#include "W25Qx.h" #include "drivers/NVM/W25Qx.h"
#define SECREG_READ(dev, offs, data, len) \ #define SECREG_READ(dev, offs, data, len) \
nvm_devRead((const struct nvmDevice *) dev, offs, data, len) nvm_devRead((const struct nvmDevice *) dev, offs, data, len)

View File

@ -26,7 +26,7 @@
#include "hwconfig.h" #include "hwconfig.h"
#include "core/threads.h" #include "core/threads.h"
#include "core/state.h" #include "core/state.h"
#include "toneGenerator_MDx.h" #include "drivers/tones/toneGenerator_MDx.h"
#include "stm32_pwm.h" #include "stm32_pwm.h"
#include "stm32_adc.h" #include "stm32_adc.h"

View File

@ -18,7 +18,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/> * * along with this program; if not, see <http://www.gnu.org/licenses/> *
***************************************************************************/ ***************************************************************************/
#include "toneGenerator_MDx.h" #include "drivers/tones/toneGenerator_MDx.h"
#include <miosix.h> #include <miosix.h>
#include "hwconfig.h" #include "hwconfig.h"
#include "peripherals/gpio.h" #include "peripherals/gpio.h"

View File

@ -17,7 +17,7 @@
#include <stdio.h> #include <stdio.h>
#include <reent.h> #include <reent.h>
#include "drivers/USB/usb_vcom.h" #include "drivers/usb_vcom.h"
#include "filesystem/file_access.h" #include "filesystem/file_access.h"
using namespace std; using namespace std;

View File

@ -21,7 +21,7 @@
#include <stdio.h> #include <stdio.h>
#include "interfaces/gpio.h" #include "interfaces/gpio.h"
#include "interfaces/delays.h" #include "interfaces/delays.h"
#include "toneGenerator_MDx.h" #include "drivers/tones/toneGenerator_MDx.h"
#include "hwconfig.h" #include "hwconfig.h"
int main() int main()