RIOT-OS / riot-os.org

Sources of the RIOT website https://riot-os.org/.
4 stars 16 forks source link

CPU page: doesn't include all data #76

Open waehlisch opened 3 years ago

waehlisch commented 3 years ago

https://www.riot-os.org/cpus.html shows 32 items but the index page says 63 CPUs. This is confusing.

We exclude all models labeled common, which leads to exclusion of any ARM Cortex-M, for example, This might give the wrong impression. Can we fix this?

leandrolanzieri commented 3 years ago

The difference in numbers comes from the fact that for the counters we count CPU families (which is IMO closer to the reality of what RIOT supports), and in the CPU page we only CPUs as the appeared grouped in our build system. We could make them equal by showing this number in the counters instead. There is currently no documentation entry per CPU family, only per CPU group, that's why we don't show the families in the CPU page.

waehlisch commented 3 years ago

i agree that the current counters better reflect reality.

it is, though, odd that prominent cpus such as Cortex-M.. are not shown on the CPU page. what we probably should do is to add boxes for the "common" cpus but remove "common" in the labels.

chrysn commented 5 months ago

With the new feature metadata we might have a better information source, as that splits up CPUs to have some hierarchical structure, and it also goes into more detail (the CPU="stm32" is split up in features into feature_cpu_stm32f7 etc).