Skip to content

Error with two environments with different actions being specified for one target #103

Open
@sfowler4

Description

@sfowler4

I am trying to run the first getting started program. I ran it twice with no issue, but now that I have opened the Blinky hello world file and tried to run things from it, the getting started tutorial now has this issue when I try to run the pio run --environment core2foraws command. What could be causing this? Also the two actions listed are almost the exact same, word for word, so I am not sure why they are different actions. Error is listed below with .... simply taking out my personal portion of the file path. The rest should be something that all have.

*** Two environments with different actions were specified for the same target: C:.......\Core2-for-AWS-IoT-EduKit\Getting-Started.pio\build\core2foraws\mem.o
(action 1: xtensa-esp32-elf-gcc -o mem.o -c -std=gnu99 -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -Wno-old-style-declaration -Wno-implicit-fallthrough -Wno-unused-const-variable -DPLATFORMIO=60111 -DARDUINO_M5STACK_Core2 -DBOARD_HAS_PSRAM -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -D_GNU_SOURCE -DIDF_VER="3.40200.210118" -DESP_PLATFORM mem.c)
(action 2: xtensa-esp32-elf-gcc -o mem.o -c -std=gnu99 -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -Wno-old-style-declaration -DPLATFORMIO=60111 -DARDUINO_M5STACK_Core2 -DBOARD_HAS_PSRAM -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DWITH_POSIX -D_GNU_SOURCE -DIDF_VER="3.40200.210118" -DESP_PLATFORM mem.c)
File "C:.........platformio\platforms\espressif32@3.2.0\builder\frameworks\espidf.py", line 607, in compile_source_files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions