lpc-rs / lpc-pac

Peripheral Access Crates for LPC microcontrollers
9 stars 9 forks source link

Add script to re-generate PACs #3

Closed dbrgn closed 5 years ago

dbrgn commented 5 years ago

Here's a script to re-generate the PACs with the current svd2rust version.

Currently only 2 of the 3 PACs are set up. For PAC to be generated, the following items are required:

I also commited the generated output so you can see the result of the script, but we can also move the commit to a separate pull request once the generate.sh script is fleshed out.

@hannobraun I saw that your crate splits up the library into multiple modules. That's very nice, how did you do it? We can also add it to the script.

Comments of any kind are welcome :slightly_smiling_face:

hannobraun commented 5 years ago

I haven't had time for a review yet. I've added it to my list.

@dbrgn

I saw that your crate splits up the library into multiple modules. That's very nice, how did you do it? We can also add it to the script.

I did that using the form utility. See the lpc82x update script for details.

dbrgn commented 5 years ago

Oh, nice. I'll integrate form.

dbrgn commented 5 years ago

@rnestler do you have the LPC devboard with you?

rnestler commented 5 years ago

@rnestler do you have the LPC devboard with you?

No sadly not :(

dbrgn commented 5 years ago

Let's just regenerate and merge :slightly_smiling_face: