Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer requires cmake or ninja. #9

Merged
merged 3 commits into from
Jul 23, 2024
Merged

No longer requires cmake or ninja. #9

merged 3 commits into from
Jul 23, 2024

Conversation

jonathanpallant
Copy link
Member

Untested on hardware.

@jonathanpallant
Copy link
Member Author

Now tested (and fixed) on hardware.

➜  demo-app git:(remove-cmake) git describe --long --all
heads/remove-cmake-0-g6c4db77
➜  demo-app git:(remove-cmake) cargo run --release
    Finished `release` profile [optimized + debuginfo] target(s) in 0.06s
     Running `probe-rs run --chip nRF52840_xxAA target/thumbv7em-none-eabi/release/demo-app`
      Erasing ✔ [00:00:00] [####################################] 16.00 KiB/16.00 KiB @ 34.29 KiB/s (eta 0s )
  Programming ✔ [00:00:00] [####################################] 16.00 KiB/16.00 KiB @ 46.53 KiB/s (eta 0s )    Finished in 0.828s
<lvl> Hello, this is version unknown!
└─ demo_app::__cortex_m_rt_main @ src/main.rs:151
<lvl> Entering ThreadX kernel...
└─ demo_app::__cortex_m_rt_main @ src/main.rs:186
<lvl> In tx_application_define()...
└─ demo_app::tx_application_define @ src/main.rs:26
<lvl> Stack allocated @ 0x20037444
└─ demo_app::tx_application_define @ src/main.rs:59
<lvl> Thread spawned (entry=12345678) @ 0x2003f440
└─ demo_app::tx_application_define @ src/main.rs:85
<lvl> Stack allocated @ 0x2003944c
└─ demo_app::tx_application_define @ src/main.rs:102
<lvl> Thread spawned (entry=aabbccdd) @ 0x2003f4f8
└─ demo_app::tx_application_define @ src/main.rs:128
<lvl> I am my_thread(12345678)
└─ demo_app::my_thread @ src/main.rs:136
<lvl> I am my_thread(aabbccdd)
└─ demo_app::my_thread @ src/main.rs:136
<lvl> I am my_thread(12345678), count = 1
└─ demo_app::my_thread @ src/main.rs:145
<lvl> I am my_thread(aabbccdd), count = 1
└─ demo_app::my_thread @ src/main.rs:145
<lvl> I am my_thread(12345678), count = 2
└─ demo_app::my_thread @ src/main.rs:145
<lvl> I am my_thread(aabbccdd), count = 2
└─ demo_app::my_thread @ src/main.rs:145

@miguelraz
Copy link
Contributor

This builds locally after running git submodule update --init.
I'm approving and leaving it up to JP on where to leave that command for setting up.

@miguelraz miguelraz added this pull request to the merge queue Jul 23, 2024
Merged via the queue into main with commit 42e744b Jul 23, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants