1
0
Fork 0
Commit Graph

547 Commits

Author SHA1 Message Date
Sebastien Bourdeauducq 61e67520d1 libsupport_zynq: better logging format (from ARTIQ) 2020-04-24 12:06:38 +08:00
Astro f8782f3f69 libboard_zynq: let println!() write no '\r' 2020-04-20 23:44:16 +02:00
Astro a376b37426 libsupport_zynq: add logger implementation for the `log` crate 2020-04-20 23:40:01 +02:00
Sebastien Bourdeauducq 50667f0a13 core1: reset -> disable, add restart function 2020-04-17 14:05:45 +08:00
Astro bcedd02ad9 libasync: add TcpSocket::{close, abort, keep_alive, timeout}() 2020-04-16 20:43:36 +02:00
Astro 60e45f096d libasync: Sockets::run() returns ! 2020-04-16 20:42:21 +02:00
Astro c3fc948714 libasync: replace TcpStream::listen() with accept(), make accept() return earlier 2020-04-16 20:28:40 +02:00
Sebastien Bourdeauducq be35be8d38 Revert "Revert "libasync: don't let TcpStream::read() call back for empty buffers""
Zero-length buffer is really a special case, as one must return Poll::Pending in this case.

This reverts commit 1ac10ba0d4.
2020-04-15 09:16:25 +08:00
Sebastien Bourdeauducq 1ac10ba0d4 Revert "libasync: don't let TcpStream::read() call back for empty buffers"
Usually easy to handle in user code and avoids duplicating logic.

This reverts commit e3a6a6e1f8.
2020-04-14 09:03:48 +08:00
Astro e3a6a6e1f8 libasync: don't let TcpStream::read() call back for empty buffers 2020-04-14 01:06:25 +02:00
Astro 60a29456ec libasync: change TcpStream::listen() callback constraint from Copy to Clone 2020-04-14 00:08:57 +02:00
Sebastien Bourdeauducq b26327e474 typo 2020-04-13 10:39:38 +08:00
Astro 0000575ce0 libasync: add async_send/async_recv methods 2020-04-13 01:24:37 +02:00
Astro 526cfe7577 update rust-nightly 2020-04-10 20:57:10 +02:00
Astro c3502888f2 experiments: mod ps7_init only for target_zc706 2020-04-10 20:41:16 +02:00
Astro 4b346f5c55 libboard_zynq: fix flash manual_mode chip_index 2020-04-10 20:41:16 +02:00
Astro 2dda3ca4e6 libboard_zynq: delint 2020-04-10 20:41:16 +02:00
Astro e8763fa969 Cargo.toml: flip LTO back on to fit OCM 2020-04-10 20:41:16 +02:00
Astro 58e4e34fa5 libsupport_zynq: fix a cast 2020-04-10 20:41:16 +02:00
Sebastien Bourdeauducq 8e09947c54 update cargo lockfile 2020-04-10 17:46:32 +08:00
Astro 6fd6f429fe libcortex_a9: impl Iterator for sync_channel::Receiver 2020-04-09 02:56:54 +02:00
Astro e54edbf32d libcortex_a9: add sync_channel 2020-04-09 02:49:24 +02:00
Astro 64771bf233 libcortex_a9: revamp cache maintenance 2020-04-09 00:18:23 +02:00
Astro c3ebafa6ed libboard_zynq: fix flash read 2020-04-06 22:41:49 +02:00
Astro ab2a8db4d3 libasync: pass time 2020-04-03 00:18:04 +02:00
Astro 8a98cef3fc libboard_zynq: fix some hw setup 2020-04-03 00:17:25 +02:00
Astro de4e24adf4 experiments: add ps7_init::report_differences() 2020-04-03 00:16:31 +02:00
Astro 6dde8c3b02 libasync: doc TcpStream 2020-04-01 23:34:53 +02:00
Astro 75a8889d28 libasync: create TcpSocketBuffers from uninitialized memory 2020-04-01 23:21:27 +02:00
Astro 0618642d3f libasync: simplify TcpStream::accept() 2020-04-01 23:01:48 +02:00
Astro 90e9a7db02 libasync: refactor listen() into accept()+listen() with a backlog 2020-04-01 22:58:02 +02:00
Astro ab1404488c libasync: fix TcpStream, implement recv()+send() 2020-03-31 22:49:41 +02:00
Astro 8bc721826c libasync: wrap_waker() 2020-03-31 18:57:01 +02:00
Astro 25e80f63f9 experiments: setup IoPll to 1 GHz to fix eth 2020-03-31 18:47:36 +02:00
Astro d2f91eac25 libasync: start smoltcp support 2020-03-31 01:16:58 +02:00
Astro 48257e989c libasync: pin tasks to memory 2020-03-31 01:13:01 +02:00
Astro 965a00801e libcortex_a9: set DDR pages non-bufferable to fix eth dma 2020-03-31 01:09:28 +02:00
Astro 46af38906e libboard_zynq: wrap eth Buffer for alignment 2020-03-29 00:08:43 +01:00
Astro ed52ead914 cora ddr attempts 2020-03-28 21:50:06 +01:00
Astro ea765fc529 libasync: replace executor Mutexes with RefCells
this will not run on multi-core.
2020-03-26 20:29:36 +01:00
Astro 5b95410244 libasync: adapt from async-on-embedded/async-cortex-m 2020-03-26 01:35:05 +01:00
Astro d2fc0ecc14 default.nix: update cargoSha256 2020-03-25 22:25:44 +01:00
Astro ab75be80ba update smoltcp to 0.6.0 2020-03-25 22:24:01 +01:00
Astro 319f7d9eef move smoltcp dependency to libboard_zynq only 2020-03-25 22:23:30 +01:00
Astro 74012603f6 default.nix: update cargoSha256 2020-03-25 22:17:31 +01:00
Astro a0c95c3b3e remove superfluous dependencies 2020-03-25 21:54:29 +01:00
Astro 97e7605804 update dependency r0 2020-03-25 21:52:23 +01:00
Astro 000741d05a update rust-nightly + linked_list_allocator 2020-03-25 21:47:51 +01:00
Astro 29bf29a037 add some fpga regs 2020-03-25 13:02:01 +01:00
Astro 774e4e88a9 Merge branch 'dmac' 2020-02-03 23:05:03 +01:00