rrbutani / tm4c-llvm-toolchain Goto Github PK
View Code? Open in Web Editor NEWToolchain for TI's TM4C. Also known as tlt. Slightly janky.
License: MIT License
Toolchain for TI's TM4C. Also known as tlt. Slightly janky.
License: MIT License
the newlib fork and friends
This will be easier
shellcheck
knows best; we should listen to it more often!
These also need a better name
env var pointing to this repo, .env file that has aliases to regenerate the build.ninja file and is careful to reference the common dir by env var
See this.
Not all things seem to ship with one
There are situations in which -Os
or -Oz
are preferable to -O2
or -O3
for release mode.
checks for deps (git, docker w/permissions), installs newlib-nano and friends (requests elevation) depending on the platform, clones the repo, adds the tlt
alias
will not try to install llvm tools, openocd, or docker
Our openocd
flags aren't quite right..
Now that we have it
Forgetting to run regenerate seems to be a common mistake.
Added hard_fault
function and didn't jump to that, so not hard faulting. But this happens with any function that is .global
defined in an assembly file.
Requested by @P1n3appl3.
that doesn't flash or anything! just opens uart
this one will be independent of the build mode
To check formatting!
Unclear if this truly goes and grabs stuff from the compdb.
Unless there's a clang-format
analogue, we may just want to stick with:
clang-format -i
for fmtrun-clang-format
for fmt-checkclang-tidy --fix --fix-erors
for tidyclang-tidy
for tidy-checkmaybe
not sure if this is worth it
Variable substitution isn't eager (it doesn't happen when the build statements are declared) so the current scheme doesn't work.
add header file globs and apply them to all the include directories to collect a list of header files
then add them to files_to_format
Right now it's debug
(instead of release
).
Also need to decide whether these are build profiles or build modes.
As requested by @jspspike.
.devcontainer config file w/gdb and friends (docker, clangd) + build tasks for all the ninja things + Dockerfile that uses this as a base + adds git and ip
and ifconfig
if we're being really fancy, a function to get debug and release mode
or just separate tasks for each
tricky bit is a new debug script (like the lldb script) that kicks up an openocd server with a TCP connection and then starts gdb with the right flags. Call it gdb-mi
or something
it'll share a lot with the lldb script but I don't think it's worth refactoring yet
unless an env var saying not to is set
or if there's already a .gitignore
the pure docker container dream
This means that hybrid should now run compdb in native
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.