Skip to content

BluePill CDC Serial only works w/ Arduino IDE #2063

Closed Answered by fpistm
nathantsoi asked this question in Q&A
Discussion options

You must be logged in to vote

I've tested to create a project for AnalogReadSerial.ino and it works as expected. Here my CMakeFile.txt:

# This file was autogenerated by ~/AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.6.0\cmake\scripts\cmake_easy_setup.py.
# Use it in your CMake configuration by `include()`'ing it.
# You can also copy it in your sketch's folder and edit it to fit your project.

cmake_minimum_required(VERSION 3.21)

# STEP 1: set up bases of environment
# -----------------------------------------------------------------------------

file(REAL_PATH "~/AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm32\\2.6.0" CORE_PATH EXPAND_TILDE)
file(TO_CMAKE_PATH "${CORE_…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@fpistm
Comment options

Answer selected by fpistm
Comment options

You must be logged in to vote
1 reply
@fpistm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants