diff --git a/README.md b/README.md index 2730a98b..1036077b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ This site uses [Jekyll](https://jekyllrb.com/). Jekyll is a static site generator that takes markdown files and transforms them to HTML. To run Jekyll locally, install `ruby` `>=2.5.0` and the `bundler` gem (`gem install bundler`). -Then install dependencies by running `bundle install` and build the site by calling `bundle exec jekyll serve --livereload`. (You may have to use `bundle exec jekyll serve --livereload --no-watch` if you are running WSL.) +Then install dependencies by running `bundle install` and build the site by calling `bundle exec jekyll serve --livereload`. (You may have to use `bundle exec jekyll serve --livereload --no-watch` if you are using WSL). We use the GitHub API to fetch a list of projects using Padauk µCs and the latest activity in the `free-pdk` organization. The API has a rate limit of 60 requests per hour for unauthenticated requests, which may not be sufficient for the amount of API requests we make when building the website. diff --git a/_includes/device-table.html b/_includes/device-table.html index 1be0065c..d3e14d8a 100644 --- a/_includes/device-table.html +++ b/_includes/device-table.html @@ -26,6 +26,13 @@ | where_exp:"page","page.layout == 'chip' and page.programming == include.memorytype" | group_by_exp:"chip","chip.related_to | default: chip.title" %} {% for group in groups %} + {% assign lastGroup = groups[forloop.index - 1] %} + {% if lastGroup.size < 2 %} + + + + + {% endif %} {% for page in group.items -%} **[{{ page.title }}]({{ page.url }})** @@ -34,7 +41,7 @@ {{ page.maxio}} {{ page.rom_size | replace: " ", " " | replace: ",", "
" | replace: "-", "‑" | markdownify }} {{ page.ram_size }} - {{ page.timers | replace: " ", " " | replace: ",", "
" | replace: "-", "‑" }} + {{ page.timers | replace: " ", " " | replace: ",", "
" | replace: "-", "‑" }} {{ page.PWM | replace: " ", " " | replace: ",", "
" | replace: "-", "‑" }} {{ page.Comp}} {{ page.ADC | replace: " ", " " | replace: ",", "
" | replace: "-", "‑" }} @@ -48,6 +55,12 @@ {%- endfor %} + {% unless forloop.last or group.items.size < 2 %} + + + + + {% endunless %} {% endfor %} diff --git a/_includes/device_code_options.html b/_includes/device_code_options.html index 66cdb215..912ca773 100644 --- a/_includes/device_code_options.html +++ b/_includes/device_code_options.html @@ -3,7 +3,7 @@ µC - Fuse + Fuse Undocumented Register @@ -14,6 +14,7 @@ Security Pin Drive + Open Drain Control Startup Speed 3-bit LVR @@ -35,6 +36,7 @@ {% assign groups = site.pages | where_exp:"page","page.layout == 'chip'" + | sort: "title" | group_by_exp:"chip","chip.related_to | default: chip.title" %} {% for group in groups %} {%- if include.chip -%} @@ -60,10 +62,13 @@ {% if o.fuse contains 'pin_drive' %}x{% endif %} + + {% if o.fuse contains 'open_drain' %}x{% endif %} + {% if o.fuse contains 'bootup' %}x{% endif %} - + {% if o.fuse contains 'lvr' %}x{% endif %} diff --git a/assets/main.scss b/assets/main.scss index bf4b9942..73a63427 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -238,6 +238,10 @@ td.callout { background-color: $grey-color-light; cursor: pointer; } + + th { + padding: 10px 5px; + } } .toc { diff --git a/chips/PMS150G.md b/chips/PMS150G.md new file mode 100644 index 00000000..1090caf1 --- /dev/null +++ b/chips/PMS150G.md @@ -0,0 +1,26 @@ +--- +layout: chip +instruction_set: 13 +rom_size: 1 KW +ram_size: 64 +product_page: http://www.padauk.com.tw/en/product/show.aspx?num=123 +easypdk_supported: true +has_pinout_diagram: true +programming: otp +maxio: 6 +timers: T16,T2 +PWM: 1x 8-Bit +Comp: 1 +ADC: "-" +Special: "-" +oss_status: "Supported" +code_options: + fuse: + security: + pin_drive: [FUSE_IO_DRV_STRONG, FUSE_IO_DRV_NORMAL] + bootup: + lvr: + open_drain: +--- + +# PMS150G diff --git a/chips/PMS15A.md b/chips/PMS15A.md index d4ab8de9..35607c99 100644 --- a/chips/PMS15A.md +++ b/chips/PMS15A.md @@ -32,5 +32,6 @@ The ROM size restriction is only enforced when using the official IDE. **Of course we can't guarantee that Padauk doesn't change this in the future.** -- *[Source 1](https://github.com/free-pdk/free-pdk.github.io/issues/21)*, -*[Source 2](https://www.eevblog.com/forum/blog/eevblog-1144-padauk-programmer-reverse-engineering/msg2703550/?topicseen#msg2703550)* +*[Source 2](https://www.eevblog.com/forum/blog/eevblog-1144-padauk-programmer-reverse-engineering/msg2703550/?topicseen#msg2703550)*, +*see also [PMS15B](/chips/PMS15B)* diff --git a/chips/PMS15B.md b/chips/PMS15B.md new file mode 100644 index 00000000..d672b96f --- /dev/null +++ b/chips/PMS15B.md @@ -0,0 +1,38 @@ +--- +layout: chip +instruction_set: 13 +rom_size: 0.5 KW, [(1 KW *)](/chips/PMS15B) +ram_size: 64 +product_page: http://www.padauk.com.tw/en/product/show.aspx?num=123 +easypdk_supported: true +has_pinout_diagram: true +programming: otp +maxio: 6 +timers: T16,T2 +PWM: 1x 8-Bit +Comp: 1 +ADC: "-" +Special: "-" +oss_status: "Supported" +related_to: PMS150G +code_options: + fuse: + security: + pin_drive: [FUSE_IO_DRV_STRONG, FUSE_IO_DRV_NORMAL] + bootup: + lvr: + open_drain: +--- + +# PMS15B + +
+The PMS15B may just be a marketing name for the [PMS150G](/chips/PMS150G). +So far, all PMS15B tested appear to be identical to the PMS150G and have the same ROM size. +The ROM size restriction is only enforced when using the official IDE. +**Of course we can't guarantee that Padauk doesn't change this in the future.** +-- +*[Source](https://github.com/free-pdk/free-pdk.github.io/commit/4d62e76350d7078276c6ec059e1382e06a159a94#commitcomment-50046062)*, +*see also [PMS15A](/chips/PMS15A)* + +