Open mikaelsundin opened 1 year ago
I trying to move the code location in flash(for a bootloader).
Tested in platformio with build_flags
Both does not work. error 194: Bad integer argument for option --code-loc
My platformio.ini
[env:stm8sblue] platform = ststm8 board = stm8sblue framework = spl build_flags = --code-loc 0x8020
Output
Processing stm8sblue (platform: ststm8; board: stm8sblue; framework: spl) ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option CONFIGURATION: https://docs.platformio.org/page/boards/ststm8/stm8sblue.html PLATFORM: ST STM8 (2.1.0) > ST STM8S103F3 Breakout Board HARDWARE: STM8S103F3P6 16MHz, 1KB RAM, 8KB Flash DEBUG: Current (stlink) External (stlink) PACKAGES: - framework-ststm8spl @ 0.20301.181217 (2.3.1) - tool-stm8binutils @ 0.230.0 (2.30) - toolchain-sdcc @ 1.40200.0 (4.2.0) LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 0 compatible libraries Scanning dependencies... No dependencies Building in release mode Compiling .pio\build\stm8sblue\SPL\stm8s_gpio.rel Compiling .pio\build\stm8sblue\src\main.rel at 1: error 194: Bad integer argument for option --code-loc *** [.pio\build\stm8sblue\SPL\stm8s_gpio.rel] Error 1 at 1: error 194: Bad integer argument for option --code-loc *** [.pio\build\stm8sblue\src\main.rel] Error 1
I trying to move the code location in flash(for a bootloader).
Tested in platformio with build_flags
Both does not work. error 194: Bad integer argument for option --code-loc
My platformio.ini
Output