Tony Kuker
5730f7c4fe
one test fix
2022-10-30 17:57:01 -05:00
Tony Kuker
30a77998ab
No longer need Wiring Pi2
2022-10-30 17:52:05 -05:00
Tony Kuker
61966a577b
Basic discrete I/O seems to be partially working
2022-10-30 17:50:49 -05:00
Tony Kuker
245098be07
split out list devices
2022-10-30 12:22:54 -05:00
Tony Kuker
66a0448fa8
Split list devices function into its own file. Rasutil drove unnecessary dependencies on protobuf for scsiloop
2022-10-30 12:22:45 -05:00
Tony Kuker
97e63a7b01
Added calls to sunxi functions
2022-10-29 22:49:46 -05:00
Tony Kuker
535634d848
Now compiles
2022-10-29 22:14:11 -05:00
Tony Kuker
0c964578df
first draft of pulling in sunxi functions
2022-10-29 21:10:02 -05:00
Tony Kuker
c71c2a2b7a
BPI mapping tables created
2022-10-29 20:57:59 -05:00
Tony Kuker
8c1f6401b4
Change signaltable to a vector
2022-10-28 21:13:07 -05:00
Tony Kuker
46507e8627
Update to work with clang++
2022-10-28 20:56:10 -05:00
Tony Kuker
feda864def
Kludge scsimon back together so it compiles
2022-10-28 20:53:25 -05:00
Tony Kuker
6f855715a1
remove old header files
2022-10-27 21:32:23 -05:00
Tony Kuker
bc13287ea3
Switch over data types to bus_type.h
2022-10-27 21:10:36 -05:00
Tony Kuker
1119ed90a6
First cut at moving to physical pin numbering
2022-10-25 21:30:48 -05:00
Tony Kuker
873c813c51
Move BPI-WiringPi2 directory
2022-10-25 19:48:20 -05:00
Tony Kuker
5dc1cb45df
Merge branch 'develop' into feature_bpi4
2022-10-25 19:45:10 -05:00
Daniel Markstedt
77a32bd828
Remove legacy robot framework tests ( #942 )
2022-10-25 19:41:20 -05:00
Daniel Markstedt
08194af424
Move C++ code into cpp/ dir ( #941 )
...
- Moved C++ code to cpp/ from src/raspberrypi
- Related updates to Makefile, easyinstall.sh, and the github build rules
- Removed the native X68k C code in src/x68k from the repo
2022-10-25 12:59:30 -07:00
Tony Kuker
7e460759b2
fix target compilation errors
2022-10-25 11:30:32 -05:00
Daniel Markstedt
4b109a70b0
Improve Web UI integration tests ( #939 )
...
* Remove deprecated critital log level from test
* Move drive_properties back into template data sets
* Move properties data integrity checks to test code
* Streamline the drive formatting logic
2022-10-25 08:51:04 -07:00
Uwe Seimet
6bbaa956ed
Use C++ filesystem library/iostreams for I/O, added unit tests ( #911 ) ( #934 )
...
* Use C++ filesystem library/iostreams for I/O (issue #911 )
* Added unit tests
2022-10-25 10:29:57 +02:00
Tony Kuker
5844d7200f
fix compiler errors
2022-10-24 22:27:07 -05:00
Tony Kuker
859fa2e217
Added board type tables with physical pin numbers
2022-10-24 22:21:57 -05:00
Tony Kuker
9b87e46d8c
Put the allwinner logic back
2022-10-24 20:30:42 -05:00
Tony Kuker
b5d1b0ea3d
Merge branch 'develop' into feature_bpi4
2022-10-24 19:28:39 -05:00
akuker
ea8bc3970d
Architectural updates for future support of Banana Pi ( #928 )
...
* Added logic to figure out what type of host we're running on - Banana Pi or Raspberry Pi
* Split out the raspberry pi logic to separate classes that are created at start-up based upon the host configuration
* Added System Timer class for Allwinner H3 CPU
* Added stubs for GPIO BUS for Allwinner H3 CPU
Authored-by: Tony Kuker <akuker@gmail.com>
2022-10-24 19:21:40 -05:00
Daniel Markstedt
73ecd4d1b8
Restore rascsi help text for hda format; consistently use 'compatible' teminology instead of 'genuine' ( #937 )
2022-10-24 22:41:04 +02:00
Daniel Markstedt
8ec5b53b28
Bump the Web UI requests lib to 2.28.1 ( #938 )
2022-10-24 12:53:50 -07:00
Daniel Markstedt
1da3caf568
Bump to the latest bjoern/Flask/Jinja2; click/itsdangerous/MarkupSafe are implicit dependencies of the above so removing explicit requirements. ( #935 )
2022-10-24 11:50:35 -07:00
dependabot[bot]
db2c542c97
Bump protobuf from 3.20.1 to 3.20.2 in /python/web ( #933 )
...
* Bump protobuf from 3.20.1 to 3.20.2 in /python/web
Bumps [protobuf](https://github.com/protocolbuffers/protobuf ) from 3.20.1 to 3.20.2.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.20.1...v3.20.2 )
---
updated-dependencies:
- dependency-name: protobuf
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-23 19:06:23 -07:00
Daniel Markstedt
5172d167e7
Web UI: More file path sanitation, better network bridge warnings, each endpoint return one message ( #932 )
...
- Sanitize file paths with Path: for flat file structures, always extract Path().name, and for nested file structures either look for absolute paths, or someone trying to use ".." to traverse the dir strucutre.
- Reduce redundancy in network bridge detection method, and return somewhat more informative messages
- Make all endpoints return exactly one message
- Move some warning messages to logging
- Use tempfile for iso generation temp file handling
2022-10-23 19:05:29 -07:00
Tony Kuker
4527ace0fb
Merge remote-tracking branch 'origin/feature_bpi3' into feature_bpi4
2022-10-23 17:47:12 -05:00
Tony Kuker
a229d95489
Update sonarcloud issues
2022-10-23 17:21:13 -05:00
Tony Kuker
22eda6e560
Address sonarcloud issues
2022-10-23 16:47:42 -05:00
Tony Kuker
38f151add9
Sonarcloud cleanups
2022-10-23 15:36:36 -05:00
Uwe Seimet
f3553c5480
Resolved issues 772, 827, 909; added numerous unit tests; code cleanup ( #915 )
...
* Resolved issues 772, 827, 909
* Added numerous unit tests
* Code cleanup
* Improved type safety by using PbDeviceType instead of string
* Do not flush cache on failed STOP UNIT
* Error message and error handling updates
* Removed duplicate code
* Use map for mapping shift counts
* Reject read/write access if the drive has 0 sectors
* Updated logging configuration for tests
2022-10-23 21:51:39 +02:00
Tony Kuker
823e72b074
Address sonarcloud issue
2022-10-23 14:45:36 -05:00
Tony Kuker
7ef0423b36
Cleanup Sonarcloud issues
2022-10-23 14:37:57 -05:00
Tony Kuker
60e1434e2b
Cleanup sonarcloud issues
2022-10-23 13:43:01 -05:00
Tony Kuker
b17ab75c6d
Fix compilation error
2022-10-23 12:59:06 -05:00
Tony Kuker
d811a30b92
remove commented code because sonarcloud complains
2022-10-23 12:53:20 -05:00
Tony Kuker
bb55c87c32
Address compiler error
2022-10-23 12:48:04 -05:00
Tony Kuker
c5c020a38a
change DWORD to uint32_t
2022-10-23 12:40:42 -05:00
Tony Kuker
d30a54f843
Address sonarcloud issues
2022-10-23 12:36:07 -05:00
Tony Kuker
0fac33c610
Fixed issue with ownership of bus object
2022-10-23 12:08:45 -05:00
Tony Kuker
fe3cc9c7be
add debug config for rascsi_test
2022-10-22 20:09:42 -05:00
Tony Kuker
5414557ab5
fix compilation errors
2022-10-22 20:08:14 -05:00
Tony Kuker
e27ebb4962
initial clang format configuration
2022-10-22 17:30:43 -05:00
Tony Kuker
61667f749c
run clang-format
2022-10-22 17:30:28 -05:00