Skip to content

Conversation

Jerome-PS
Copy link

Adding support for JN5169.
Adding support for macOS.

Adding support for JN5169.
Adding support for macOS.
u32Divisor = 1000000 / u32Baudrate;

// Divide 1MHz clock bu baudrate to get the divisor, round to closest
u32Divisor = (1000000+u32Baudrate/2) / u32Baudrate;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this correct settings for other devices?

@qinfengling
Copy link
Contributor

Thanks very much for your cool PR.
Could you split it to 2 commits ?
I will merge the macOS first.

And also please keep commit with the code style before.

Thanks.

@Jerome-PS
Copy link
Author

Jerome-PS commented Jan 17, 2018 via email

@Jerome-PS
Copy link
Author

Jerome-PS commented Jan 17, 2018 via email

@qinfengling
Copy link
Contributor

  1. About the code style
    yes, the original code was written by NXP, we try our best to make sure the code is easy to read.
    I just push the original code here for developer, when I use the JN516x, I found that the share is hard, so I push the archive here.

  2. could the code be changed to GPL?
    I will not change that. NXP release the code as opensource. it will changed by them.

  3. if you are NXP, do you have more docs about the chip? ...
    Sorry, I am not work for them. so you may try to search the docs through their website or ask it from FAE.

Keep going.

Fengling

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