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
  • Marketing Essay Writing Service 
    When it comes to advertising essay composing, there are lots of recommendations to be aware of. To begin with, you have to make certain that the business you choose is legit. You should be cautious about companies that offer rock-bottom part rates or way too many claims. These are usually intricate frauds made to benefit from students. Moreover, you ought to know that the majority of these companies usually do not vet their specialists correctly. They are likely to employ those people who are not native English language speakers. This may lead to your document simply being plagiarized and not composed correctly. 
    Advertising and marketing is surely an scholastic self-control that deals with the promotion of products and services. It draws attentions to the value of client connections as well as a great online marketing strategy is important for a corporation to be successful. You may retain the services of advertising and marketing essay freelance writers to accomplish your project for you, if you could require aid. The marketing essay freelance writers will never only assist you to publish a great marketing essay, nonetheless they will even provide you with good quality warranties and answer your entire queries. 
    Marketing is actually a large area which is developing at all times. As a result, the demand for advertising and marketing industry experts never ceases. This industry needs good analytic capabilities and the ability to anticipate market modifications. As such, becoming a advertising expert is undoubtedly an fascinating occupation with limitless horizons. However, you must be prepared to find out and acquire new knowledge as you may examine. To take full advantage of your college or university practical experience, you have to be capable to expert the skill of composing an advertising and marketing essay. With the help of an experienced composing service, you will get the best markings in your type. 
    With regards to marketing essay producing, you need to opt for someone who has a thorough expertise in this issue. Your marketing essay writing service needs to have several years of expertise in this industry. They must be able to acknowledge typical mistakes and enable you to submit a higher-top quality papers prior to the due date. Additionally, they ought to use a comprehensive educational certification inside the topic. 
    Because the producing of your marketing and advertising essay could be prolonged and time-ingesting, you must be sure that your document is of high quality. Also, it is significant to make sure that it can be genuine. You must cite your places correctly and effectively. Some college students have no idea the proper way of citing sources. A great marketing and advertising essay must be proofread and plagiarism-totally free. The producing support you select must be able to promise you will certainly be happy with the very last product. 
    The study phase starts with an extensive-ranging study of related resources. This can help you attain valuable facts plus a sense of the lexicon of your topic. It is essential to avoid using extremely specialized phrases and terminology. The best essays use crystal clear terminology and comprehensible phrases. Additionally they incorporate supporting citations. 
    College students usually have very little time to write down an intensive essay. They are stressed by their workloads and therefore are often pushed for time. Consequently, they prefer convenience and you should not possess the time to follow a sophisticated method. You should go with a firm that gives handy providers that supply the correct information. 
    College students can avail of marketing project support on the internet. This specific service supplies help with all facets of promoting. It offers investigation on the market, identifying market place segments, and client satisfaction ranges. A fantastic internet marketer has a reliable idea of the subject areas, along with practical experience. Also, they also is aware of research and advancement treatments.
Comment
  • Marketing Essay Writing Service 
    When it comes to advertising essay composing, there are lots of recommendations to be aware of. To begin with, you have to make certain that the business you choose is legit. You should be cautious about companies that offer rock-bottom part rates or way too many claims. These are usually intricate frauds made to benefit from students. Moreover, you ought to know that the majority of these companies usually do not vet their specialists correctly. They are likely to employ those people who are not native English language speakers. This may lead to your document simply being plagiarized and not composed correctly. 
    Advertising and marketing is surely an scholastic self-control that deals with the promotion of products and services. It draws attentions to the value of client connections as well as a great online marketing strategy is important for a corporation to be successful. You may retain the services of advertising and marketing essay freelance writers to accomplish your project for you, if you could require aid. The marketing essay freelance writers will never only assist you to publish a great marketing essay, nonetheless they will even provide you with good quality warranties and answer your entire queries. 
    Marketing is actually a large area which is developing at all times. As a result, the demand for advertising and marketing industry experts never ceases. This industry needs good analytic capabilities and the ability to anticipate market modifications. As such, becoming a advertising expert is undoubtedly an fascinating occupation with limitless horizons. However, you must be prepared to find out and acquire new knowledge as you may examine. To take full advantage of your college or university practical experience, you have to be capable to expert the skill of composing an advertising and marketing essay. With the help of an experienced composing service, you will get the best markings in your type. 
    With regards to marketing essay producing, you need to opt for someone who has a thorough expertise in this issue. Your marketing essay writing service needs to have several years of expertise in this industry. They must be able to acknowledge typical mistakes and enable you to submit a higher-top quality papers prior to the due date. Additionally, they ought to use a comprehensive educational certification inside the topic. 
    Because the producing of your marketing and advertising essay could be prolonged and time-ingesting, you must be sure that your document is of high quality. Also, it is significant to make sure that it can be genuine. You must cite your places correctly and effectively. Some college students have no idea the proper way of citing sources. A great marketing and advertising essay must be proofread and plagiarism-totally free. The producing support you select must be able to promise you will certainly be happy with the very last product. 
    The study phase starts with an extensive-ranging study of related resources. This can help you attain valuable facts plus a sense of the lexicon of your topic. It is essential to avoid using extremely specialized phrases and terminology. The best essays use crystal clear terminology and comprehensible phrases. Additionally they incorporate supporting citations. 
    College students usually have very little time to write down an intensive essay. They are stressed by their workloads and therefore are often pushed for time. Consequently, they prefer convenience and you should not possess the time to follow a sophisticated method. You should go with a firm that gives handy providers that supply the correct information. 
    College students can avail of marketing project support on the internet. This specific service supplies help with all facets of promoting. It offers investigation on the market, identifying market place segments, and client satisfaction ranges. A fantastic internet marketer has a reliable idea of the subject areas, along with practical experience. Also, they also is aware of research and advancement treatments.
Children
No Data