-
Notifications
You must be signed in to change notification settings - Fork 7.6k
boards: peregrine: Introduce sam4l_wm400_cape #83310
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
Conversation
Hi @kartben , Is not possible to attach schematic pdf files on docs folder ?
|
I guess you should chmod u-x these files. But in any case I don't think we want to clutter git repo with PDF files and make everyone's git operations (clone, etc) slower and slower over time. |
5d67a39
to
074d3b4
Compare
I'll drop for the moment. It can be added later. |
074d3b4
to
ddb516d
Compare
ddb516d
to
969c663
Compare
be372f9
to
f5e2680
Compare
i2c-0 = &twim1; | ||
|
||
led0 = &red_mod_led; | ||
led1 = &green_mod_led; | ||
led2 = &blue_mod_led; | ||
led3 = &red_cape_led; | ||
|
||
sw0 = &sw0_dfu; |
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 don't do this for other boards with random newlines, why do we need this here?
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.
Because makes it more readable.
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.
Marking as unresolved because I did not mark this as resolved and see this as an issue
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.
I would like you to stop to say it is an issue. If it is an issue you should point out at least one time were it is documented.
BTW, I don't see any inconsistency. This is from current devicetree spec v0.4.
I assume that if it is on the documentation example is correct.
https://github.com/devicetree-org/devicetree-specification/releases/tag/v0.4 pg42
c65f19d
to
c701cfe
Compare
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.
Needs fixing as per comments
Hi @nordicjm , I appreciate if you could re visit this PR. |
Enable sam4l internal factory calibrated RC32K clock source. The RC32K was used as source for Generic Clock 5 using 32 as divider. The output is a 1024 Hz clock that can be used by GLOC and TC0 peripherals. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
The Atmel sam4l have generic clock 5 enabled at 1024Hz. Update sam4l sam_tc_input_freq_table index 0 to reflect right value. signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Add Peregrine Consultoria e Servicos board vendor. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
1ba04c3
to
6cb3ce0
Compare
As discussed on Discord, there doesn't seem to be a good argument against 'paragraphs' in devicetree properties for readability. @nordicjm can you please clarify your position when you get a chance? Ideally on Discord if that's OK with you since that's where we have the bulk of the conversation going IMO |
Hi @nordicjm , Please, recheck. Besides I don't agreed with your review I made the changes you asked on last PR.
I already made far more then necessary to have this board in, including a new watchdog driver and fix on watchdog tests just because you don't approve a config on a board to disabled it with the argument that something is wrong at SoC level without look the history of this driver, which still have the issue open. Now, I need this board in tree to migrate the USB driver and I hope I can get it. If I can not get your approval after this change I understand that this is a personal attack and need to escalate to solve the issue. |
Initial Version. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Add Peregrine platform related to boards/peregrine. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
6cb3ce0
to
6579c5c
Compare
Watchdog shouldn't even be enabled by default so the original setup of that is wrong https://docs.zephyrproject.org/latest/hardware/porting/board_porting.html#general-recommendations
You've made this same nonsense claim multiple times now and I'm getting tired of reading it @kartben as per zephyr guidelines please intervene. As per original message:
|
@nordicjm @nandojve I added the dev review label, since this argument does not seem to want to resolve, if you can still not resolve it by next thursday then please show up to that meeting |
You are implying things without know the problem, or just ignoring. I already point out to you the #23282, which stills open.
This is not true. There are many boards that have paragraph on properties.
How this PR is not in sync with this board https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/atmel/sam/sam4l_ek/sam4l_ek.dts ?
The aliases node was adjusted on the last push to fulfill your personal vision. You are using the aliases node to try exploit a rule about paragraphs that do not exists and people do not agreed. The prove you are using this as an excuse, this is you inside dts folder complaining about paragraph. The above link is a draft PR and you jump on it just to point out the same thing, your personal wishes. I took the time to check dts folder and the below is the list of vendors that have been using paragraph, may not be the full list: Here is the point were the "rule of paragraph" was made
I hope you reconsider your position in this matter and stop to push things that people do not agreed. |
Then I'm not really sure why you are placing blame on me for needing to add a driver that is required for the hardware to function
There is no rule on it so I will drop the point, but conversely by having this you are saying that the following is completely acceptable:
The point in consistency is to stop things like that.
It's a board/soc PR, PRs get reviewed. I don't get notified on board PRs being opened nor being marked from draft -> ready so they get reviewed as and when I see them and given that it's a continuation of a previous one which had major issues with the commit structure, it was worth checking.
Given it's not an explicit rule and the from input of others on the topic, I will no longer check this in PRs but I expect a PR to be raised in future as indicated above and see no-one raise any issues on the lines. I apologise for this and length of time it's gone on for. |
The
sam4l_wm400_cape
is a beagle-bone cape integrated with a SAM4L SoC and RF233 IEEE 802.15.4 radio. This board has been used to validate SAM4L and write many drivers including TWIM, USB device stack and ESP-01 WiFi module. The board was developed in partnership with Universidade do Estado de Santa Catarina USFC to be used as gateway, mainly on IEEE 802.15.4 experiments developed by the Departamento de Engenharia de Automação e Sistemas EAS.depends on #83475