Commit Graph

622 Commits

Author SHA1 Message Date
pca
b22cc4e2b6 various control registers 2020-04-29 09:34:17 +08:00
pca
3238dae99f started writing register definitions 2020-04-28 23:00:47 +08:00
83ff37e10e link.x: cleanup 2020-04-28 19:39:35 +08:00
248a692cf7 link.x: fix indentation 2020-04-28 19:35:45 +08:00
3948021458 define core1 stack in linker script 2020-04-28 19:31:49 +08:00
1c270a55e2 move linker script to experiments
Not all applications are in OCM.
2020-04-28 19:14:03 +08:00
282b4dc69a link.x: reduce alignment, use all remaining OCM for .stack 2020-04-28 02:50:07 +02:00
b88e14ea07 move build.rs, link.x into libsupport_zynq/ 2020-04-28 01:51:58 +02:00
2802d21d08 libsupport_zynq: fix doc 2020-04-28 01:13:08 +02:00
614b1ef350 regs: add MVBAR and HVBAR 2020-04-27 12:49:18 +08:00
fefd2a4ceb regs: add VBAR 2020-04-27 12:34:15 +08:00
dfcdeb09ca alloc: support initializing from linker information 2020-04-27 10:06:55 +08:00
aa93794632 libboard_zynq: add GlobalTimer::get_us(), use in libsupport_zynq::logger 2020-04-25 03:01:19 +02:00
fe6a058a6b libboard_zynq: find prescaler for GlobalTimer, rename new() to start() 2020-04-25 02:59:48 +02:00
22555017fe default.nix: fix 2020-04-25 02:16:33 +02:00
d00269d180 Cargo.lock: fix 2020-04-25 02:03:57 +02:00
69093f4b47 default.nix: update cargoSha256 2020-04-25 01:42:05 +02:00
73772d3d71 Cargo.lock: cargo update 2020-04-25 01:41:47 +02:00
63d71d021c default.nix: update cargoSha256 2020-04-25 01:29:38 +02:00
3b4be6a414 libasync: add mod delay 2020-04-25 01:25:12 +02:00
88a2a2bc71 libasync, libboard_zynq: add block_async glue, make GlobalTimer sharable 2020-04-25 01:18:49 +02:00
8012573a8f libboard_zynq: impl embedded_hal CountDown for GlobalTimer 2020-04-25 00:44:32 +02:00
4ab6fb6271 libboard_zynq: use Void in uart embedded_hal impl 2020-04-25 00:28:17 +02:00
f835192c0a libboard_zynq: add GlobalTimer implementation 2020-04-25 00:18:45 +02:00
04c47b9bdb libboard_zynq: impl embedded_hal serial write traits for Uart 2020-04-24 21:31:37 +02:00
61e67520d1 libsupport_zynq: better logging format (from ARTIQ) 2020-04-24 12:06:38 +08:00
f8782f3f69 libboard_zynq: let println!() write no '\r' 2020-04-20 23:44:16 +02:00
a376b37426 libsupport_zynq: add logger implementation for the log crate 2020-04-20 23:40:01 +02:00
50667f0a13 core1: reset -> disable, add restart function 2020-04-17 14:05:45 +08:00
bcedd02ad9 libasync: add TcpSocket::{close, abort, keep_alive, timeout}() 2020-04-16 20:43:36 +02:00
60e45f096d libasync: Sockets::run() returns ! 2020-04-16 20:42:21 +02:00
c3fc948714 libasync: replace TcpStream::listen() with accept(), make accept() return earlier 2020-04-16 20:28:40 +02:00
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
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
e3a6a6e1f8 libasync: don't let TcpStream::read() call back for empty buffers 2020-04-14 01:06:25 +02:00
60a29456ec libasync: change TcpStream::listen() callback constraint from Copy to Clone 2020-04-14 00:08:57 +02:00
b26327e474 typo 2020-04-13 10:39:38 +08:00
0000575ce0 libasync: add async_send/async_recv methods 2020-04-13 01:24:37 +02:00
526cfe7577 update rust-nightly 2020-04-10 20:57:10 +02:00
c3502888f2 experiments: mod ps7_init only for target_zc706 2020-04-10 20:41:16 +02:00
4b346f5c55 libboard_zynq: fix flash manual_mode chip_index 2020-04-10 20:41:16 +02:00
2dda3ca4e6 libboard_zynq: delint 2020-04-10 20:41:16 +02:00
e8763fa969 Cargo.toml: flip LTO back on to fit OCM 2020-04-10 20:41:16 +02:00
58e4e34fa5 libsupport_zynq: fix a cast 2020-04-10 20:41:16 +02:00
8e09947c54 update cargo lockfile 2020-04-10 17:46:32 +08:00
6fd6f429fe libcortex_a9: impl Iterator for sync_channel::Receiver 2020-04-09 02:56:54 +02:00
e54edbf32d libcortex_a9: add sync_channel 2020-04-09 02:49:24 +02:00
64771bf233 libcortex_a9: revamp cache maintenance 2020-04-09 00:18:23 +02:00
c3ebafa6ed libboard_zynq: fix flash read 2020-04-06 22:41:49 +02:00
ab2a8db4d3 libasync: pass time 2020-04-03 00:18:04 +02:00