1
0
mirror of https://github.com/sendyne/cppreg.git synced 2025-05-09 23:24:05 +00:00

8 Commits

Author SHA1 Message Date
Nicolas Clauvelin
1c27f907a5 FIXES CONSTEXPR STATIC ISSUE WITH GCC 4.8.X
See https://github.com/sendyne/cppreg/issues/2 for a detailed explanation.

This closes #2.
2018-02-23 06:15:58 -05:00
hak8or
816c579d7d Pin in Led::init() should be off before setting pin direction
Super minor, but I figured it might be good to have that looking correct in the getting started guide.
2018-02-23 05:48:37 -05:00
Nicolas Clauvelin
11734b0bf4 FIX POWERPC COMPILATION ISSUE
For some reason compilers other than GCC PowerPC 4.5.8 were not complaining
about the `use_shadow` being (re)defined outside the `Shadow` structure
definition.

This closes #2.
2018-02-22 17:02:59 -05:00
Sendyne Principal Scientist
926eb71df2 Set theme jekyll-theme-cayman 2018-02-22 10:39:37 -05:00
Nicolas Clauvelin
93763cd6ee Merge remote-tracking branch 'github/master' into develop 2018-02-22 10:35:06 -05:00
Nicolas Clauvelin
5cf8a851d8 FIX INLINING OF WRITE CALLS WITH Os ENABLED
The inlining issue was due to a bad template design in the access policies
implementations: the MMIO_t type from the field was used (which is a volatile
type) for all arguments in the write implementation.
The new implementation relies on two template types (one for the register memory
device and another one for the value to be written). This fixes inlining and was
checked on godbolt.
2018-02-22 10:22:51 -05:00
Sendyne dev-team
a31d4a2875 Set theme jekyll-theme-slate 2018-02-20 16:05:48 -05:00
Nicolas Clauvelin
d7404ab946 INITIAL COMMIT v0.1 2018-02-20 15:38:59 -05:00