Commit graph

56 commits

Author SHA1 Message Date
Edson Brandi
920d4fa330 Adjusted the Wrapping up Sections to better reflect the actual chapter content after the adition of new section about shell portability 2025-11-05 21:46:40 +00:00
Edson Brandi
b001b9aa28
Update chapter-03.md to fix wrapping up section position
Adjusted the position of wrapping up section for the shell section.
2025-11-04 23:10:37 +00:00
Edson Brandi
f9ba50bc19
Merge pull request #6 from johnholloway77/feature/shell-portability
Incorporated a section on shell portability. Thank you john for the contribution
2025-11-04 23:07:17 +00:00
johnholloway77
98204d3d9f incorporated section on shell portability 2025-11-04 14:53:47 -07:00
Edson Brandi
1c7c50ef70 docs: add BUILD-README for FreeBSD Device Drivers book build system
Add comprehensive build documentation covering:
- Ubuntu 24.04 installation prerequisites
- Pandoc 3.0+ and LaTeX setup instructions
- Eisvogel template configuration
- Font installation (system, Windows, LaTeX, CJK)
- HTML5 and PDF generation guidelines
- Troubleshooting and known issues
- Code formatting examples for C, shell, and makefiles
2025-11-04 00:36:42 +00:00
Edson Brandi
9c9b70b8ec
Clarify testing instructions in README
Updated instructions for testing changes to include script for generating PDF/EPUB.
2025-11-04 00:12:08 +00:00
Edson Brandi
f4c2a92c61
Merge pull request #5 from johnholloway77/feature/at-command-revision
Added instructions for at.allow
2025-11-03 23:58:30 +00:00
johnholloway77
b6605cc603 Added instructions for at.allow 2025-11-03 16:51:04 -07:00
Edson Brandi
cf61c0ff27 Fixed the script to solve the issue reported at https://github.com/ebrandi/FDD-book/issues/2 by johnholloway77
THis fix make the script fully POSIX-compliant for FreeBSD /bin/sh

Replace bash-specific `read -d ''` with tmpfile approach.
The -d option is not available in POSIX sh, causing the script
to fail on FreeBSD systems.

- Use tmpfile=$(mktemp) instead of null-delimited pipe
- Add trap for cleanup
- Remove -print0 and read -d '' options
- Add empty filename safety check

Fixes: read: Illegal option -d
2025-11-03 22:55:24 +00:00
Edson Brandi
915fb8df92 docs(book): add Chapter 6 draft (Anatomy of a FreeBSD Driver)
Adds the full draft of Chapter 6. This chapter has had only a single
review so far; readers should expect further edits and refinements
before the final book release.

Known issue:
- In the generated PDF, some code blocks appear before the section
  titles they belong to. This seems to be a Pandoc rendering quirk.
  I’ll investigate and fix later; for now, treat the Markdown as the
  source of truth.

No functional changes to earlier chapters.
2025-11-01 16:37:18 +00:00
Edson Brandi
c797046ae2 Fixed markdown issue that was generating error in pdf conversion, i missed some lines in the previous commit 2025-10-27 20:49:34 +00:00
Edson Brandi
8388fe50dd Fixed markdown issue that was generating error when being converted to pdf file. Thank you Isabelle Gonçalves for catching that bug! 2025-10-27 20:32:09 +00:00
Edson Brandi
87cfb19c2a fixed chapter 5 table of content formating 2025-10-14 19:36:52 +01:00
Edson Brandi
aecb21e649 Moving chapter 6 to draft stage 2025-10-13 23:35:48 +01:00
Edson Brandi
72616ac949 Adjust to generate the .pdf and .epub drafts including the new Chapter 5 2025-10-13 23:21:30 +01:00
Edson Brandi
8e54fdc2bd Added the content for chapter 5, september was a hetic month at work and i had very little time to write... 2025-10-13 23:04:49 +01:00
Edson Brandi
b497957d9a Add scripts to generate the PDF and epub book files 2025-08-31 03:36:05 +01:00
Edson Brandi
5e9d9147d1 Fixing markdown to convert to pdf 2025-08-30 22:30:50 +01:00
Edson Brandi
81498906fe add chapter description to chapter header 2025-08-30 13:18:53 +01:00
Edson Brandi
a76643c253 Chapter 4 Finished, starting chapter 5 2025-08-30 13:12:51 +01:00
Edson Brandi
2e9165ae47 Progressing with chapter 4... 2025-08-29 00:07:11 +01:00
Edson Brandi
fd69335cc9 Added Struct and Typedef Section to Chapter 4 2025-08-28 00:01:07 +01:00
Edson Brandi
be051d9f51 Added the section about Arrays and Strings to chapter 4 2025-08-26 21:32:22 +01:00
Edson Brandi
bca5a7bb43 Progressing with chapter 4 content, finished section about pointers. 2025-08-25 23:26:01 +01:00
Edson Brandi
3320ee1a92 progressing chapter 4 content about pointers 2025-08-25 17:25:28 +01:00
Edson Brandi
14cba2419e Adding chapter 1 content 2025-08-24 13:52:06 +01:00
Edson Brandi
74d65e79f0 Fix images urls to work in github and project site 2025-08-24 00:44:08 +01:00
Edson Brandi
b925e7223a Adding the content for chapter 2 2025-08-24 00:41:03 +01:00
Edson Brandi
19234d79fd Adding images for chapter 2 2025-08-24 00:04:11 +01:00
Edson Brandi
c7c27ffb17 adding description to the .md file header 2025-08-23 17:03:44 +01:00
Edson Brandi
db2c220017 fixing typos... 2025-08-23 16:52:39 +01:00
Edson Brandi
a4af37ac03 Adding content for chapter 3, and small typo fix in chapter 4 2025-08-23 16:34:36 +01:00
Edson Brandi
10db731875
Progressing chapter 4, added Pointers and Functions and Pointers and Arrays 2025-08-21 20:47:07 +01:00
Edson Brandi
24e6a0970c
Progressing chapter 4, added the topic about Declaring and Using Pointers... 2025-08-21 00:15:47 +01:00
Edson Brandi
4534b904e0
Progressing chapter 4 to add first topic about pointers, and also fixing double quotes and single quotes to have a standard across the chapter 2025-08-19 01:22:24 +01:00
Edson Brandi
9187c98bf1 Progressing chapter 4, finished section about functions - Parameters Are Copies 2025-08-15 16:53:41 -03:00
Edson Brandi
7dde5c3a9c typo fix 2025-08-14 19:15:31 -03:00
Edson Brandi
c1c53570e2 progressing with chapter 4... 2025-08-14 19:13:23 -03:00
Edson Brandi
0b9063510a progressing chapter 4... 2025-08-13 15:34:39 -03:00
Edson Brandi
b1e26a7eb4 progressing chapter 4, added a read example for fucntion prototype... 2025-08-12 16:35:20 -03:00
Edson Brandi
4bd3354701 progressing woth chapter 4, added Functions (prototype)... 2025-08-11 22:32:05 -03:00
Edson Brandi
294ac7feed small update to last date updated 2025-08-10 18:08:04 -03:00
Edson Brandi
5d92c208b8 progressing with C Functions section... 2025-08-10 17:41:57 -03:00
Edson Brandi
26342f022f Adjusting markdown tags to specify C language for code blocks 2025-08-10 16:50:31 -03:00
Edson Brandi
c7be15f162 fixing markdown tags 2025-08-10 16:33:42 -03:00
Edson Brandi
9e51e69092 starting section about functions 2025-08-10 10:39:33 -03:00
Edson Brandi
bbd493e9f5 fixing some typos in the markdowntags 2025-08-10 09:37:02 -03:00
Edson Brandi
1b705cf2a2 added flow control topic to chapter 4 draft 2025-08-10 03:09:29 -03:00
Edson Brandi
277be57822 fixing a rendering problem of | inside tables in markdown 2025-08-06 17:25:31 -03:00
Edson Brandi
fa8b5ded26 Progressing with chapter 4 content... 2025-08-06 17:12:56 -03:00