Skip to content

Conversation

@whitequark
Copy link
Contributor

E.g. this from tm4c123x.svd generated by dslite2svd:

 <field> <name>VREF</name> <description>Voltage Reference Select</description> <lsb>0</lsb> <msb>0</msb> <access>read-write</access> <writeConstraint> <useEnumeratedValues>true</useEnumeratedValues> </writeConstraint> <enumeratedValues> <enumeratedValue> <name>INTERNAL</name> <description>VDDA and GNDA are the voltage references</description> <value>0x0</value> </enumeratedValue> </enumeratedValues> </field> 
E.g. this from tm4c123x.svd generated by dslite2svd: <field> <name>VREF</name> <description>Voltage Reference Select</description> <lsb>0</lsb> <msb>0</msb> <access>read-write</access> <writeConstraint> <useEnumeratedValues>true</useEnumeratedValues> </writeConstraint> <enumeratedValues> <enumeratedValue> <name>INTERNAL</name> <description>VDDA and GNDA are the voltage references</description> <value>0x0</value> </enumeratedValue> </enumeratedValues> </field>
@japaric
Copy link
Member

japaric commented Feb 13, 2018

@homunkulus
Copy link
Contributor

📌 Commit bac9703 has been approved by japaric

@homunkulus
Copy link
Contributor

⌛ Testing commit bac9703 with merge 6ab6d82...

japaric pushed a commit that referenced this pull request Feb 13, 2018
Add missing unsafe qualifier on 1-bit enumerated fields E.g. this from tm4c123x.svd generated by dslite2svd: ``` <field> <name>VREF</name> <description>Voltage Reference Select</description> <lsb>0</lsb> <msb>0</msb> <access>read-write</access> <writeConstraint> <useEnumeratedValues>true</useEnumeratedValues> </writeConstraint> <enumeratedValues> <enumeratedValue> <name>INTERNAL</name> <description>VDDA and GNDA are the voltage references</description> <value>0x0</value> </enumeratedValue> </enumeratedValues> </field> ```
@homunkulus
Copy link
Contributor

💔 Test failed - status-travis

@japaric
Copy link
Member

japaric commented Feb 14, 2018

The build timed out due to an out of memory condition caused by incremental compilation, which is now enabled by default, and the test suite reusing the same crate (directory) to test different devices.

I have tested locally (with incr. comp. disabled) that the test suite passes for the vendors that Travis couldn't test; though it seems that testing time has regressed significantly in some cases due to some other reason: testing the Freescale vendor locally took 1h 47m, which is beyond Travis time limit.

Anyhow, I'm merging this manually as all the tests have passed.

@japaric japaric merged commit f07c46c into rust-embedded:master Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants