Rust bindings to nrf52 series

In mid-2017, I came across this project by James Munns. It essentially wraps the C SDK for nRF52 development boards, and provides bindings that can be called from Rust. James gave a talk to the Rust DC Meetup, remotely over video conference. This talk inspired me to buy a couple of nRF52 dev boards.

I'd like to announce that here, in Nordic's official channels, because I'd like more embedded developers to become aware of it. Rust is a language that has the ability to compile down to native code with zero runtime, and no operating system. In other words, Rust can run on bare metal hardware. Today.

My ultimate dream is for hardware manufacturers themselves to provide official support. My understanding is that supporting Rust will be much more akin to supporting C, and not really like providing a special runtime for embedded Python or JavaScript.

Some challenges we will face (you can help!):

  1. We do not have a clear path for upgrading our Nordic SDK. We simply check in the C code, and there's some manual work around collecting all the headers for input to code generation.
  2. Speaking of code generation, bindgen, the tool that takes C header files and generates rust types, has been evolving rapidly. On one occasion the changes to generated code caused breaking changes in our nrf52 bindings library.
  3. We have a few examples to test blinking lights and connecting via bluetooth, but perhaps we might benefit from a more structured list of things to test to ensure we provide working bindings to the whole nrf52 dev kit.
  4. Related to 3, just kick the tires and open issues if you need help!

If you are interested, here are some links to learn more:

Here is a link to the GitHub repository

Here is a link to the full video recording of the DC Meetup talk. It offers a detailed overview of our embedded development workflow.

Finally, here is a recent talk about using "unsafe" code in Rust. This is relevant, because in the embedded context a lot of code involves usage of the unsafe keyword. This talk explains why that's necessary and not as scary as it sounds.

Parents
  • Case Study Economics

    Case study economics is the process of analyzing real-world economic issues and solving problems. The course requires students to use various methods to solve problems and formulate economic theories. The module provides students with a set of games that help them learn the subject. These games help students understand the importance of property rights, and the concept of surplus value. Students also learn how to analyze the effects of taxes on the market. A few of these games are described below.

    The case method has been used for many years in academic education, including law, business, medicine, and psychology. The use of this approach in economics is more recent. While there has always been a body of theory and textbooks in the field, the use of case studies in teaching has been relatively new.

    Using the case method is an effective way to teach economics. The students are able to relate the theory to a real-world situation, and they are more motivated to learn the theory. The case method also makes students responsible for their education. The students are able to apply the central ideas of economic theory to the analysis of real-world problems.

    When writing a case study, make sure to include as much information as possible. The most important part of the case and idea should be highlighted. Make sure to include relevant details, such as the causes and effects of the phenomenon. The case study should connect with existing literature and discuss wider patterns that can be observed and studied. It is also beneficial to include relevant background information to understand the context in which the case study took place. If possible, try to include all relevant factors that make the case study more interesting and valuable.

    Creating a case study is an excellent way to demonstrate mastery of readings and concepts. Case studies are also excellent tools for developing skills. Creating a case study involves applying all of your course learning and addressing specific questions. You will need to use the case study to discuss the economics of an Asian country and how the modern quantitative theory of money affects the success of the East Asia model. This will be a good opportunity to review the definition of case studies, and compare the various case study types that you've learned.

    A case study does not have to be long. In fact, it can be as brief as an extract from a newspaper or business journal. This method requires less effort and is an excellent introduction to more in-depth case studies. When students are just beginning to learn case study economics, they can start with a simple case study and work their way up. The goal is to develop a deeper understanding of the topic, while focusing on solutions.

    When writing a case study, keep in mind that there is no one right way to write one. As a general rule, however, they should be brief and to the point. They should not contain too many technical terms or involve an excessive amount of decision-making. The goal is to inspire students to think through the problem in their own way. In addition, case study economics should be interesting and engaging to students, so they will want to read them.

    Case studies are used to illustrate a particular problem in the real world. They involve identifying the key stakeholders, analyzing potential solutions, and evaluating potential solutions. The goal is to demonstrate how theoretical concepts work in the real world. Although most problems can be solved theoretically, case studies are meant to provide real-life examples for their solutions. If you are a student or working in a professional setting, a case study is a great way to demonstrate your knowledge of the field.

    Case study economics is often used to teach business principles. Case studies help students apply the theory they have learned in the classroom to real-world situations. Students should have some background on the case in order to provide an analysis of it. In some cases, a study question is useful to guide the students' thinking and help them focus. Ideally, a study question will prompt students to begin the analytical process by identifying the relationship between facts and events.

Comment
  • Case Study Economics

    Case study economics is the process of analyzing real-world economic issues and solving problems. The course requires students to use various methods to solve problems and formulate economic theories. The module provides students with a set of games that help them learn the subject. These games help students understand the importance of property rights, and the concept of surplus value. Students also learn how to analyze the effects of taxes on the market. A few of these games are described below.

    The case method has been used for many years in academic education, including law, business, medicine, and psychology. The use of this approach in economics is more recent. While there has always been a body of theory and textbooks in the field, the use of case studies in teaching has been relatively new.

    Using the case method is an effective way to teach economics. The students are able to relate the theory to a real-world situation, and they are more motivated to learn the theory. The case method also makes students responsible for their education. The students are able to apply the central ideas of economic theory to the analysis of real-world problems.

    When writing a case study, make sure to include as much information as possible. The most important part of the case and idea should be highlighted. Make sure to include relevant details, such as the causes and effects of the phenomenon. The case study should connect with existing literature and discuss wider patterns that can be observed and studied. It is also beneficial to include relevant background information to understand the context in which the case study took place. If possible, try to include all relevant factors that make the case study more interesting and valuable.

    Creating a case study is an excellent way to demonstrate mastery of readings and concepts. Case studies are also excellent tools for developing skills. Creating a case study involves applying all of your course learning and addressing specific questions. You will need to use the case study to discuss the economics of an Asian country and how the modern quantitative theory of money affects the success of the East Asia model. This will be a good opportunity to review the definition of case studies, and compare the various case study types that you've learned.

    A case study does not have to be long. In fact, it can be as brief as an extract from a newspaper or business journal. This method requires less effort and is an excellent introduction to more in-depth case studies. When students are just beginning to learn case study economics, they can start with a simple case study and work their way up. The goal is to develop a deeper understanding of the topic, while focusing on solutions.

    When writing a case study, keep in mind that there is no one right way to write one. As a general rule, however, they should be brief and to the point. They should not contain too many technical terms or involve an excessive amount of decision-making. The goal is to inspire students to think through the problem in their own way. In addition, case study economics should be interesting and engaging to students, so they will want to read them.

    Case studies are used to illustrate a particular problem in the real world. They involve identifying the key stakeholders, analyzing potential solutions, and evaluating potential solutions. The goal is to demonstrate how theoretical concepts work in the real world. Although most problems can be solved theoretically, case studies are meant to provide real-life examples for their solutions. If you are a student or working in a professional setting, a case study is a great way to demonstrate your knowledge of the field.

    Case study economics is often used to teach business principles. Case studies help students apply the theory they have learned in the classroom to real-world situations. Students should have some background on the case in order to provide an analysis of it. In some cases, a study question is useful to guide the students' thinking and help them focus. Ideally, a study question will prompt students to begin the analytical process by identifying the relationship between facts and events.

Children
No Data