diff options
author | Riku Viitanen <riku.viitanen@protonmail.com> | 2024-12-28 03:53:25 +0200 |
---|---|---|
committer | Riku Viitanen <riku.viitanen@protonmail.com> | 2024-12-28 03:53:25 +0200 |
commit | e2f8cc7f3ee772520d51ccec81960de10472fd53 (patch) | |
tree | 4bec446e33c9d60f898acec0ed5bfc8dccbf4a96 /config/git | |
parent | ccc2b4d589fb3315f43443e74c861c47fa2d5ff4 (diff) |
pico-serprog: enable building for multiple pico chips
rp2040 and rp2530 platforms can't share a cmake build directory. we
could just delete the build directory after every compilation, but that
would be really wasteful (every tool would need to be recomiled every
time. instead create new build directories as new plaforms are found
and symlink them to the point where the build directory used to be.
to find out which platform we're compiling for, we crudely parse the
board headers file.
there surely would be better ways to do this, but this hack works
with all the boards in pico-sdk 2.1.0.
Signed-off-by: Riku Viitanen <riku.viitanen@protonmail.com>
Diffstat (limited to 'config/git')
0 files changed, 0 insertions, 0 deletions