| layout | header |
|---|---|
| permalink | /src |
{: .border-bottom }
<script> $(function() { if (window.location.hash != '') { $('a[href="' + window.location.hash + '"]').click(); } }); </script> <style> pre { font-size: 80%; max-width: 600px; overflow-x: scroll; margin: 0; } .sidenav { width: 140px; background-color: #D3DAE3; margin: 0px; font-size: 90%; margin-right: 10px; } .content { flex-grow: 1; } .tab-link { padding: 0px 10px; } </style>{% assign filenames = "ccu.c,cstart.c,de.c,font.c,gpio_interrupt.c,hdmi.c,hstimer.c,interrupts.c,mango.c,memmap.ld,ps2_keys.c,rand.c,ringbuffer.c,start.s,uart.c" | split: ',' %}
{%- for f in filenames %}
{% assign base = f| split:'.' | first %}
{{f}}
{%- endfor %}
{%- for f in filenames %}
{% assign base = f | split:'.' | first %}
{% assign ext = f | split:'.' | last %}
{%- if ext == "s" %}
```ini
{%- else %}
```c
{%- endif %}
{%- if f == "memmap.ld" %}
{% include_relative /cs107e/lib/memmap.ld %}
{%- else %}
{% include_relative /cs107e/src/{{f}} %}
{%- endif %}
```
{% endfor %}