Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/espressif/esp-xtensaconfig-lib
GCC/binutils/GDB plugin for run-time loading of Xtensa CPU configuration
https://github.com/espressif/esp-xtensaconfig-lib
Last synced: 2 days ago
JSON representation
GCC/binutils/GDB plugin for run-time loading of Xtensa CPU configuration
- Host: GitHub
- URL: https://github.com/espressif/esp-xtensaconfig-lib
- Owner: espressif
- License: gpl-3.0
- Fork: true (jcmvbkbc/xtensa-dynconfig)
- Created: 2022-08-02T16:19:50.000Z (about 2 years ago)
- Default Branch: based_on_gdb-12
- Last Pushed: 2023-10-23T19:19:14.000Z (11 months ago)
- Last Synced: 2024-09-18T16:00:06.221Z (8 days ago)
- Language: C
- Size: 139 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
README
This GCC/binutils/GDB plugin configures xtensa GCC, binutils and GDB for the
specific xtensa CPU. It will only load into GCC, binutils and GDB versions
that support such dynamic configuration. Without this plugin GCC and binutils
will produce code for the default xtensa core: the FSF one, or for the core
configured with the xtensa configuration overlay.Building:
Fetch submodules
git submodule update --init
Run to build libraries for all available configurations
make lib
in the current directory.
The following parts of the toolchain still need to be configured statically:
- target gdbserver needs proper include/xtensa-config.h
gdb/gdbserver/xtensa-config.c and gdb/gdbserver/xtensa-xtregs.c in the
binutils-gdb.Note:
the GCC Runtime Library Exception
(https://www.gnu.org/licenses/gcc-exception-3.1.en.html) has rules that apply
here. If you want to distribute the binary produced by GCC using this plugin,
the plugin code (including the xtensa configuration overlay) must be available
under a GPL-compatible license. The people to whom you distribute the binary
produced by GCC must be able to themselves build the plugin used to create
the binary.