diff options
author | xengineering <me@xengineering.eu> | 2021-09-25 15:47:25 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2021-09-26 12:33:08 +0200 |
commit | 7211bd49452e67e0b53ea06ca474f4e54af991ae (patch) | |
tree | 2de4b48926830ea29b8ba1f670aedbb4945f4e1d /src/test_program.c | |
parent | 3eaf47ee2144f2abf781c10194f920a799aebb3a (diff) | |
download | ledcontrol-7211bd49452e67e0b53ea06ca474f4e54af991ae.tar ledcontrol-7211bd49452e67e0b53ea06ca474f4e54af991ae.tar.zst ledcontrol-7211bd49452e67e0b53ea06ca474f4e54af991ae.zip |
Implement Linker Script and Startup File
Diffstat (limited to 'src/test_program.c')
-rw-r--r-- | src/test_program.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test_program.c b/src/test_program.c new file mode 100644 index 0000000..80f569b --- /dev/null +++ b/src/test_program.c @@ -0,0 +1,8 @@ +static const int a = 7; +static int b = 8; +static int sum; + +void main() +{ + sum = a + b; +} |