Opened 21 months ago

Closed 19 months ago

Last modified 10 months ago

#15 closed enhancement (fixed)

Ability to create simulated boards for tests

Reported by: dsl Owned by: dsl
Priority: major Milestone: MCUSim-0.2
Component: mcusim-tests Keywords: planned-in-0.2.0
Cc:

Description

We usually create a PCB in real life to test our ideas or proof a concept.

There could be an interactive script called make-board.sh to create a specific directory which will contain a set of scripts and binaries to run a specific model/configuration of MCU wired together with simulated peripherals. User will be easily able to power up this board running a generated script run-board.sh.

This board concept will help us to test simulator features and existing firmwares.

Change History (14)

comment:1 Changed 21 months ago by dsl

Milestone: 0.2.0Work in Progress

comment:2 Changed 20 months ago by dsl

mcusim-avr-board script generates a board directory which is hard-wired with the current location, i.e. run-board (part of a generated board) script won't be able to run the board if the whole directory moved. This board generating script can be modified relatively easy to produce location-independent boards, I guess.

Last edited 20 months ago by dsl (previous) (diff)

comment:3 Changed 20 months ago by dsl

I'd also want to have a text file with configuration of a board stored in the root of the board directory. I'd let user examine configuration which was used to produce the board initially.

comment:4 Changed 20 months ago by dsl

New mcusim API for Lua-based models implemented to configure device models and write test scripts easily: https://github.com/dsalychev/mcusim/commit/2a6229314068a595642daa11d246defb6bab42f8

comment:5 Changed 19 months ago by dsl

Script to generate a configuration run file is available sinse 0.1.54 and modified to use temp files in 0.1.56. I'm happy with this version and ready to mark this ticket as fixed now.

comment:6 Changed 19 months ago by dsl

Milestone: Work in Progress0.2.0
Resolution: fixed
Status: newclosed

comment:7 Changed 14 months ago by dsl

Milestone: 0.2.00.2

Milestone renamed

comment:8 Changed 14 months ago by dsl

Milestone: 0.2MCUSim-0.2

Milestone renamed

comment:9 Changed 11 months ago by dsl

Milestone: MCUSim-0.2MCUSim 0.2

Milestone renamed

comment:10 Changed 11 months ago by dsl

Milestone: MCUSim 0.2mcusim 0.2

Milestone renamed

comment:11 Changed 10 months ago by dsl

Milestone: mcusim 0.2MCUSim-0.2

Milestone renamed

Note: See TracTickets for help on using tickets.