Search found 12 matches
- Wed Sep 14, 2022 7:23 am
- Forum: General discussion
- Topic: EEPROM Woes on BluePill
- Replies: 7
- Views: 20112
Re: EEPROM Woes on BluePill
When I use #include <EEPROM.h> how does the Arduino IDE know to use the version of EEPROM.h bundled with the STM32 core rather than the one I see in the Arduino libraries folder? Or are they one and the same having been installed when I installed the STM32core software? And if I wanted to examine ...
- Tue Aug 23, 2022 9:34 am
- Forum: Projects
- Topic: building STM32 with CMake
- Replies: 24
- Views: 68241
Re: building STM32 with CMake
wildcard glob matches and recursion will be necessary in this 'arduinoish' and even possibly other lands as many of the code libraries and projects won't have a CMakeList.txt. This is particularly true for '3rd party' libraries, and even sketches. e.g. for that matter marlin firmware which may ...
- Fri Aug 19, 2022 12:58 pm
- Forum: Projects
- Topic: building STM32 with CMake
- Replies: 24
- Views: 68241
Re: building STM32 with CMake
and just to share I'm using python's 'virtual env' currently
https://docs.python.org/3/library/venv.html
https://realpython.com/python-virtual-environments-a-primer/
I concur: virtualenv is, in my opinion, the way to go when you have several Python installation side-by-side (I think I mention ...
- Fri Aug 19, 2022 8:32 am
- Forum: Projects
- Topic: building STM32 with CMake
- Replies: 24
- Views: 68241
Re: building STM32 with CMake
I'm the opposite to ag123. I use Windows all the time, and Linux only under protest.
I often have trouble with things that are maybe more at home under Linux, but which supposedly will run also run under Windows. Often the problem is related to path, but not so much due to difference between ...
- Fri Aug 19, 2022 8:15 am
- Forum: Projects
- Topic: building STM32 with CMake
- Replies: 24
- Views: 68241
Re: building STM32 with CMake
hi a suggested edit/add here
https://github.com/massonal/Arduino_Core_STM32/blob/cmake_dev/cmake/templates/easy_cmake.cmake#L81
I'd suggest to add SPI in the "commented out" section
# DEPENDS
# SD
# Wire
# SPI
for the rest, those would help in case users are using a sketch using SPI but ...
- Thu Aug 18, 2022 2:55 pm
- Forum: Projects
- Topic: building STM32 with CMake
- Replies: 24
- Views: 68241
Re: building STM32 with CMake
as I worked mostly(almost all the time) in linux. hopefully, someone working in windows could try it out and leave their notes say here.
as the system environment is certainly different. Some thoughts are about those 'unix' style shell commands quite commonly used in makefiles, which I'd hope ...
- Thu Aug 18, 2022 2:50 pm
- Forum: Projects
- Topic: building STM32 with CMake
- Replies: 24
- Views: 68241
Re: building STM32 with CMake
a little though I'm wondering if the ordering could be different if say they titles start with numbers or ordered letters. it seemed to be in alphabetical order.
that could perhaps put the quick start, setup items closer to the top in the menu.
That's one way to do it; the other being to define ...
- Thu Aug 18, 2022 1:42 pm
- Forum: Projects
- Topic: building STM32 with CMake
- Replies: 24
- Views: 68241
Re: building STM32 with CMake
oh, I think there should be a "install" page in the wiki
https://github.com/massonal/Arduino_Core_STM32/wiki
where it is basically the contents of
https://github.com/massonal/Arduino_Core_STM32/blob/cmake_dev/README_CMAKE.md
the prerequisites and the places to get them
How about https://github ...
- Thu Aug 18, 2022 7:23 am
- Forum: Projects
- Topic: building STM32 with CMake
- Replies: 24
- Views: 68241
Re: building STM32 with CMake
Wow, this had you talk a lot! :D
I'm glad you enjoyed it overall.
Just before anything else, you built Python from source for this ? :shock:
I should point people to https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa in the wiki, that might have saved the trouble. ( "This PPA contains more ...
I'm glad you enjoyed it overall.
Just before anything else, you built Python from source for this ? :shock:
I should point people to https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa in the wiki, that might have saved the trouble. ( "This PPA contains more ...
- Tue Aug 16, 2022 2:49 pm
- Forum: Projects
- Topic: building STM32 with CMake
- Replies: 24
- Views: 68241
Re: building STM32 with CMake
cool, would be trying it out :)
3rd party bootloaders and utilities (e.g. flash utilities) can possibly be added along the way.
CMake adds more flexibility than do the classical 'arduino ide'.
The thing is the CMake files are configurations and macros which makes this more feasible.
And it allows ...