Tags: Passw/tock
Tags
Merge tock#2799 2799: doc: misc updates r=brghena a=bradjc ### Pull Request Overview I did a quick pass on the doc folder and made some updates where I saw issues. ### Testing Strategy n/a ### TODO or Help Wanted n/a ### Documentation Updated - [x] Updated the relevant files in `/docs`, or no updates are required. ### Formatting - [x] Ran `make prepush`. Co-authored-by: Brad Campbell <[email protected]>
Merge pull request tock#2735 from WyliodrinEmbeddedIoT/display_warn_h… …ex_driver_num Display driver number in hex for allocation warning
Merge tock#2566 2566: Make SPI return buffers upon error r=hudson-ayers a=alexandruradovici ### Pull Request Overview This pull request changes the SPI HIL so that function return the buffers to the caller in case of errors. It also adds deferred callbacks to the SPI Mux, similar to what the I2C Mux. I have two questions that need some feedback: 1. Several drivers now output a warning due to unverified result. The two simple solutions are: use `let _ =` or use `.unwrap()`. I'm not sure which one would be best. 2. The setup functions, like `configure` or `set_rate` do have to return results, as the Mux might fail to execute them. There is no callback function defined for this. Should I add a new callback function, something like `command_done` or simply remove the return from the functions? ### Testing Strategy The PR still needs testing and review. ### TODO or Help Wanted Testing on different boards would be very helpful. I can test on STM32F4 and Adafruit CLUE. ### Documentation Updated - [ ] Updated the relevant files in `/docs`, or no updates are required. ### Formatting - [ ] Ran `make prepush`. Co-authored-by: Alexandru Radovici <[email protected]> Co-authored-by: Philip Levis <[email protected]>
Merge pull request tock#2173 from tock/pmp-exclude-grant-region riscv: pmp: disallow access above app brk
Merge tock#2118 2118: stm32f3: Watchdog Timers r=bradjc a=krady21 ### Pull Request Overview This pull request adds both watchdogs supported by the stm32f3 boards. The difference between the two of them is thoroughly described [here](https://electronics.stackexchange.com/questions/123080/independent-watchdog-iwdg-or-window-watchdog-wwdg). TLDR: The independent watchdog is clocked by its own dedicated low-speed clock, but is not as precise, while the window watchdog is more precise, has a configurable time window that can be used to detect early or late abnormalities and can also generate an interrupt just before resetting. At this point, someone could configure the board to use one, both or neither of the two watchdogs. I don't know if there's need for both, but i wanted to consult with you first before deleting one or the other. I also tried to have this configuration done in the boards file, as it was discussed in a previous [pr](tock#1887 (comment)), but I am not entirely satisfied with how i did it. ### Testing Strategy This pull request was tested using the stm32f3discovery board. ### TODO or Help Wanted The main problem with both of the watchdogs is that none of them provides a way to suspend them once they are started, except by a full system reset. Since suspend and resume functions are unimplemented, sleeping in the kernel_loop [function](https://github.com/tock/tock/blob/ad9387a577405675b044d5bde85badf0274995c8/kernel/src/sched.rs#L495-L514) will probably end up causing a watchdog reset. ### Documentation Updated - [x] Updated the relevant files in `/docs`, or no updates are required. ### Formatting - [x] Ran `make prepush`. Co-authored-by: Bogdan Grigoruta <[email protected]>
Merge tock#1811 1811: update changelog for 1.5 r=brghena a=bradjc ### Pull Request Overview This pull request updates the changelog file with what I could think of as the major API changes. ### Testing Strategy This pull request was tested by... ### TODO or Help Wanted This pull request still needs... ### Documentation Updated - [x] Updated the relevant files in `/docs`, or no updates are required. ### Formatting - [x] Ran `make formatall`. Co-authored-by: Brad Campbell <[email protected]>
Merge pull request tock#1809 from tock/arty-e21-updates arty-e21 updates
Merge pull request tock#1757 from tock/virtual-uart-no-double-read capsules: virtual_uart: avoid double receive, check rx len, support custom buffer
Merge pull request tock#1783 from alevy/hifive Updated instructions on running HiFive under qemu
Merge pull request tock#1774 from JOE1994/nitpicky minor fixes to docs
PreviousNext