Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sfowler4 opened this issue Oct 15, 2023 · 0 comments

Comments

@sfowler4
Copy link

sfowler4 commented Oct 15, 2023

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\[email protected]\builder\frameworks\espidf.py", line 607, in compile_source_files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant