Skip to content

djiangtw/djiang-oss-public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

djiang-oss

Personal open source projects and libraries by Danny Jiang.

License Language RISC-V Author


Projects

A minimal RISC-V RTOS for educational purposes. Built from scratch with 40 accompanying tutorial articles.

Features:

  • RISC-V 64-bit (RV64GC)
  • Cooperative and preemptive scheduling
  • Semaphore, Mutex, Queue
  • User mode with PMP protection
  • SMP multi-core support

Versions:

Version Codename Description
v0.x Nano Basic RTOS: Task, Scheduler, Semaphore, Mutex, Queue
v1.x Secure User Mode: PMP, Syscall, Fault Handling
v2.x MSMP M-mode SMP: Spinlock, IPI, Multi-core Scheduler
v3.x SMP Full Integration: SMP + User Mode + Fault Isolation

Danny Jiang's LeetCode Library in C. A header-only C library for solving LeetCode problems.

Features:

  • Hash maps (integer and string keys)
  • Heap / Priority Queue
  • Stack, Queue, Deque
  • Trie, Binary Indexed Tree
  • Union-Find, Graph
  • And more...

Versioning

This project uses Semantic Versioning with project-specific prefixes.

Version Format

<project>-v<major>.<minor>.<patch>
  • Major: Architecture or breaking changes
  • Minor: New features, backward compatible
  • Patch: Bug fixes, documentation updates

danieRTOS Versioning

The major version is fixed per architecture variant:

Directory Version Range Example Tags
v0-nano/ v0.x.x daniertos-v0.1.0
v1-secure/ v1.x.x daniertos-v1.0.0
v2-msmp/ v2.x.x daniertos-v2.0.0
v3-smp/ v3.x.x daniertos-v3.0.0

djlc Versioning

Standard semantic versioning starting from v1.0.0:

djlc-v1.0.0, djlc-v1.1.0, djlc-v1.2.0, ...

Getting a Specific Version

# List all tags
git tag -l

# Checkout a specific version
git checkout daniertos-v3.0.0

🤝 Contributing

Feedback Welcome:

  • Open issues for bugs, typos, or suggestions
  • Discussion and questions are encouraged

Note: This repository aggregates code from private development repositories. Pull requests may not be directly merged but feedback is always appreciated.


👨‍💻 About the Author

Danny Jiang

System software engineer focused on RISC-V architecture, embedded systems, and performance optimization. 20+ years of industry experience, passionate about building educational tools and explaining complex technical concepts.

Other Works:


🔗 Links


📄 License

Copyright © 2025 Danny Jiang

This project is licensed under the MIT License - see LICENSE for details.


📝 Citation

If you use this project in research, teaching, or articles:

Danny Jiang. (2025). djiang-oss: Open Source Projects and Libraries.
Licensed under MIT. https://github.com/djiangtw/djiang-oss

Happy Coding! 🚀

About

Open source code and projects by Danny Jiang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors