Comments (2)
I've come to accept that this renders the monitor target-info machine
command obsolete, so I will be removing that command as part of this work.
from bloom.
Development work on this is complete.
The two monitor
commands have been implemented. Have ensured that the generated XML conforms to the SVD schema, and is compatible with CLion.
Below is a sample SVD generated for the Atmega328P:
<!-- This SVD was generated by Bloom (https://bloom.oscillate.io/). Please report any issues via https://bloom.oscillate.io/report-issue -->
<!-- Base addresses in this SVD have been offset by 0x800000. This offset is required for access via avr-gdb. -->
<device schemaVersion="1.3" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="https://bloom.oscillate.io/assets/svd-schema.xsd">
<vendor>Microchip</vendor>
<name>ATmega328P</name>
<!-- The version number below is that of the Bloom binary which generated this SVD. -->
<version>0.10.0</version>
<description>ATmega328P from Microchip</description>
<addressUnitBits>8</addressUnitBits>
<width>8</width>
<size>8</size>
<access>read-only</access>
<peripherals>
<peripheral>
<name>AC</name>
<baseAddress>0x800000</baseAddress>
<registers>
<register>
<name>ACSR</name>
<description>Analog Comparator Control And Status Register</description>
<addressOffset>0x50</addressOffset>
<size>8</size>
<access>read-only</access>
</register>
<register>
<name>DIDR1</name>
<description>Digital Input Disable Register 1</description>
<addressOffset>0x7f</addressOffset>
<size>8</size>
<access>read-write</access>
</register>
</registers>
</peripheral>
<peripheral>
<name>ADC</name>
<baseAddress>0x800000</baseAddress>
<registers>
<register>
<name>ADC</name>
<description>ADC Data Register Bytes</description>
<addressOffset>0x78</addressOffset>
<size>16</size>
<access>read-write</access>
</register>
<register>
<name>ADCSRA</name>
<description>The ADC Control and Status register A</description>
<addressOffset>0x7a</addressOffset>
<size>8</size>
<access>read-only</access>
</register>
<register>
<name>ADCSRB</name>
<description>The ADC Control and Status register B</description>
<addressOffset>0x7b</addressOffset>
<size>8</size>
<access>read-write</access>
</register>
<register>
<name>ADMUX</name>
<description>The ADC multiplexer Selection Register</description>
<addressOffset>0x7c</addressOffset>
<size>8</size>
<access>read-write</access>
</register>
<register>
<name>DIDR0</name>
<description>Digital Input Disable Register</description>
<addressOffset>0x7e</addressOffset>
<size>8</size>
<access>read-write</access>
</register>
</registers>
</peripheral>
<!-- ... -->
</peripherals>
</device>
And the SVD works fine with CLion:
These changes will be shipped with v0.11.0. Closing this now
from bloom.
Related Issues (20)
- Provide JSON list of supported targets via CLI command HOT 2
- Support new AVR DU-series targets
- Support AVR EA/B-series targets
- bloom Website Down? HOT 5
- RSP kill command 'k' is silently ignored HOT 14
- Raspberry Pi OS Version HOT 30
- Wrong target signature (ATtiny416) HOT 3
- variantName doesn't appear to work on atmega328p-pu HOT 1
- Donations?
- List the differences in the snapshot diff window HOT 2
- Fails to build with libprocps 4.0 HOT 6
- Distro packaging: Search resources in /usr/share/bloom? HOT 4
- Support for hardware breakpoints HOT 1
- Breakpoints being lost after programming session in GDB HOT 1
- Move away from using RUNPATH to specify shared library paths HOT 1
- Can't find Atmel-ICE Debugger when attached to USB hub HOT 1
- Delta programming (restrict uploads to changes only) HOT 2
- RISC-V HOT 2
- Add support for UPDI over /dev/ttyUSBx and similar interfaces HOT 4
- Keep target halted after activation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bloom.