Konrad Beckmann
df51d0518b
scripts: Improve and add colors to prints
2021-02-05 19:16:28 +01:00
Konrad Beckmann
41b2c4506d
flash.sh: Use openssl sha256 if sha256sum cannot be found
2021-01-06 04:35:09 +01:00
Konrad Beckmann
bb118f82d3
flash.sh: Warn if sha256sum can't be found
2021-01-06 03:50:27 +01:00
Konrad Beckmann
8717a0c09e
Only calculate hash of the "size" first bytes
2021-01-03 19:03:21 +01:00
Konrad Beckmann
9c5641459b
flash.sh: Fix variable names and helptext
2021-01-03 17:50:55 +01:00
Konrad Beckmann
74466b26bb
Perform SHA256 hashing of ram and flash
2021-01-03 16:09:47 +01:00
Konrad Beckmann
74589b1f2c
flash.sh: Handle error when which doesn't find openocd
2021-01-02 19:21:37 +01:00
Konrad Beckmann
6a6d00dc52
Set VERBOSE=1 to increase verbosity
2021-01-02 19:08:15 +01:00
Konrad Beckmann
d47ae666ee
Use OBJDUMP variable
2021-01-02 01:14:28 +01:00
Konrad Beckmann
9b22d8afae
Allow configurable objdump path using GCC_PATH and DEFAULT_OBJDUMP
2021-01-02 01:12:07 +01:00
Ben
c9cbb69e61
Use optional environment variable to locate openocd
...
A user may specify the environment variable OPENOCD
to locate openocd. If not specified, it will be found
using the configured PATH.
2021-01-01 23:32:00 +01:00
Konrad Beckmann
9ee629fb95
Support erasing 4kB sectors
2020-12-29 15:29:03 +01:00
Konrad Beckmann
a505ebf90d
Only erase the blocks that will be programmed
2020-12-26 06:12:00 +01:00
Konrad Beckmann
1aac5ec7f5
flash.sh: Revert automatic size
2020-12-11 12:50:26 +01:00
Konrad Beckmann
71aa1dbf39
flash.sh: Set size correctly
...
Speeds up flashing and avoids flashing garbage after the provided binary.
2020-12-11 02:40:26 +01:00
Konrad Beckmann
098f3faeb7
Remove bc dependency
2020-12-10 21:57:26 +01:00
Konrad Beckmann
7b2f83bede
Support jlink and stlink with ADAPTER env. variable
2020-12-10 11:34:55 +01:00
Joksan Alvarado
874d131a5c
Several minor improvements aimed for speed and extensibility.
...
- Added a configuration option to move the interrupt vector table to ITCM and made it active.
- Relocated all code and IVT sections to ITCRAM for even faster execution in the linker script.
Also relocated exception unwinding sections from FLASH to DTCM and updated comments.
- Disabled data section initialization (not needed anymore as DTCM is now initialized by the
debugger).
2020-12-01 01:52:53 +01:00
Thomas Roth
dfa212af96
Run from RAM
2020-11-29 12:32:36 +01:00
Konrad Beckmann
cd2b029926
Add support for flashing >1M using flash_multi.sh
2020-11-27 01:44:14 +01:00
Konrad Beckmann
3b9080e4de
Make flash.sh block until programming is done
2020-11-27 00:22:25 +01:00
Konrad Beckmann
940432c714
Add support for address and size
2020-11-26 23:47:30 +01:00
Thomas Roth
543bea8600
Use stlink, fix usage from other directories
2020-11-24 14:16:14 +01:00
Thomas Roth
c5a8090cfa
Init
2020-11-24 14:16:11 +01:00