Arduino_STM32
Arduino_STM32 copied to clipboard
Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards
In .../tools/linux64 directory, use file command to check the version, it is 32-bit yulix@01:~/stm32/Arduino_STM32/tools/linux64$ file upload-reset upload-reset: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2,...
New toolchain: Updated "platform.txt" to use the xpack gcc 9 toolchain; Added an extra option to choose between different runtime libraries in "boards.txt". Issue: https://github.com/rogerclarkmelbourne/Arduino_STM32/issues/786
zip file containing the STM32 files has a 64-bit executable in linux/dfu-util/dfu-util so dfu-util fails on a 32-bit linux system **sketchbook/hardware/Arduino_STM32-master/tools/linux/dfu-util/dfu-util: cannot execute binary file: Exec format error**
If I am reading the code wrong, just close this. The only place I can find EEPROM_START_ADDRESS to be defined is EEPROM.h. But as I read EEPROM.h, because of the...
https://github.com/rogerclarkmelbourne/Arduino_STM32/blob/683e5a371e14fd0ffb72c183599069655a79aec5/STM32F1/libraries/EEPROM/EEPROM.cpp#L524-L544 The comment needs to be updated. The same applies to EEPROM::write and EEPROM::EE_VerifyPageFullWriteVariable.
Normally there is no way to edit the dev_flags variable after Wire has been constructed. It is sometimes helpful to do so though. Example: u8g2 uses the builtin Wire instance...
The current _sbrk() implementation allows dynamic allocations all the way to the top of RAM - overwriting the stack and crashing the board. There does not seem to be a...
If somebody have code examples for this lib - help me, please.
Added the printf() method to the Print class. With this implementation, Print.print() works with any devices - Uart, TFT, SDCard and others. The previous version has not been tested. I'm...
details described in issue named EEPROM multiple data at the same address