-
Notifications
You must be signed in to change notification settings - Fork 2k
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
RIOT port for the MKW22D512 SiP and Phytec PBA-D-01 PhyWave Evaluations-Board #2059
Conversation
Please sync your repos master with RIOT's master and rebase on it. |
@LudwigOrtmann: I do not know if I did it right, scolds me :-) |
Maybe have a look at the comment from BytesGalore on the bottom of the comments in #2018. I think he explained the rebasing quite nicely... And by the way: Welcome to RIOT! |
OK, step by step. I assume git://github.com/RIOT-OS/RIOT.git is the remote called upstream and git://github.com/jfischer-phytec-iot/RIOT.git is called origin.
|
@LudwigOrtmann : done, but travis has a problem with unknown license header: 'cpu/mkw2x/include/MKW22D5.h' |
@jfischer-phytec-iot Would be nice to use your fresh first-hand experience to improve this wiki entry if necessary: |
Regarding the license - I hope @haukepetersen can help. |
@jfischer-phytec-iot Yes, I remembered by now... Got confused by your new github name... Nice port by the way! Hope I will get to reviewing it soon... |
As to the license, as far as I see it the file doesn't have one... So I guess it should be safe to include it in the license checker?! |
@haukepetersen I have created a new account for work. Can we add the description for our board in RIOT-wiki? What do you mean with "include it in the license checker"? |
Of course, just go ahead! By the way, is the board freely available/buyable? With license checker i meant the script that is run by Travis which compares every single license header found in RIOTs source code against a set of pre-defined headers. These can be found in |
@haukepetersen We have presented our Modules and Board on Electronica last week. The Board should be available at the Embedded World, but we can provide some developer samples, specially for RIOT-developers :-). |
Sounds great! And also one more reason to go to the Embedded World next year... I take it there is no public information (i.e. datasheets/manuals) available so far? If I had the right board on your website it looked quite interesting! |
@haukepetersen The file says it is a CMSIS file - I thought there were replacements for that? |
@haukepetersen I will clear the license type with Freescale. |
perfect! |
@@ -0,0 +1 @@ | |||
FEATURES_PROVIDED = transceiver periph_gpio periph_uart periph_spi periph_i2c |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
transceiver
is not implemented yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will completely rework it in the next few days. Transceiver will also appear soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, should we mark this as WIP for now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
Do I see it correctly, that the license issue has been resolved? @jfischer-phytec-iot, what's left on the Todo list? |
@OlegHahm It is a CMSIS header with 3c-BSD license now. |
For this PR, please go on and squash and merge at will. |
agreed |
travis was canceled 😕 ? |
I killed some of the outdated builds in Travis - if I accidentally killed the most current one, too, I'm sorry, but apparently it's running again. |
As https://www.traviscistatus.com/ states, there was an issue today. Maybe it was related to that somehow. |
Travis failed because the testapp for the |
How about either modifying the Makefile with a special case for you board or (what I would prefer) blacklist the application? |
I think we might not even need a special case for our board. Since GPIO_5 is just the default value we could change it to GPIO_0? This would also be consistent with the ng_at86rf2xx driver that counts the defaults from GPIO_0. GPIO_0 is defined by default and should be defined on all boards. As the comment in the Makefile (tests/driver_isl29125) says, this seems to be just a random value "set random default". |
Sounds good, too. @LudwigOrtmann, it's "your" driver. Any reason against changing this? |
I have reorganized the GPIOs, again, a few more can not hurt. |
Oh, the changes in
|
|
We have (KW2XRF_SHARED_SPI=0) as default. But yes, that means hardware CS. I have also thought about that, but didn´t saw an alternative. How should we handle the parameter
Do you have other solutions in mind? |
Just define a specific GPIO for your board in the drivers Makefile. |
@OlegHahm ack & squash ? |
openocd -f "$RIOTBASE/boards/pba-d-01-kw2x/dist/mkw22d512.cfg" \ | ||
-c "init" \ | ||
-c "reset halt" \ | ||
-c "flash write_image erase $elffile" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
superfluous space
Yes, please fix the tiny indentation thing and squash. ACK |
- default cpu model is kw21d256
GO? |
Push the button! |
RIOT port for the MKW22D512 SiP and Phytec PBA-D-01 PhyWave Evaluations-Board
This PR add support for Freescale MKW22D512 SiP and Phytec PBA-D-01 PhyWave Evaluations-Board.