26 Commits (b5d657a0090a820f1904e687050864d7822905fe)

Author SHA1 Message Date
akiroz b5d657a009
impl bsp for ch32v003xx 2 months ago
Arkadiusz Wójcik 3af91ea8f9
USB CDC ACM support + code refactor (#211)
* part1: code refactor

* part2: config serialization

* usb cdc acm support

---------

Co-authored-by: Arkadiusz Wójcik <wojcik.arkadiusz@outlook.com>

@ikskuh
2 months ago
biom4st3r fcb68ad0e2
Updated to zig 0.13.0 (#198)
* Updated to latest zig

* feat(flake): update zig to 0.13.0 and add zls

This also disable diffs for flake.lock to not
not polute the git diff output too much

* feat(build): Update dependencies to support 0.13.0

* feat(build): disable broken examples

* feat(ci): Update zig to 0.13.0

* feat(rp2040): Update pio tokenizer tests to 0.13.0

* feat(build): Fix uses of deprecated std.zig.CrossTarget

* feat(rezg): Fix uses of deprecated std.mem.{tokenize,slice}

* feat(rp2040): Fix uses of depreacted std.rand

* feat(readme): Update zig version

---------

Co-authored-by: Maciej 'vesim' Kuliński <vesim809@pm.me>
2 months ago
Matthias 0c3293fe36
Fix RP2040 multicore HAL and re-enable example (#207) 3 months ago
Daniele Basile 43b2a539c6
Complete Gd32f103 Support (#203)
* Implement gpio hal like to the stm32f103.
* Add blinky test
3 months ago
Matevz Mihalic 540a52585f rp2040: add flash id function (#182) 5 months ago
Matt Knight 12ff1b76e4 updates for zig 0.12.0 5 months ago
Matt Knight a343277463 fix up packaging 7 months ago
Matt Knight 185e906e54 Update microzig to work on zig master 7 months ago
Tobias Kohlbau 096fda843a
usb: unify handling of length parameters (#177)
* usb: unify handling of length parameters

The length parameters in USB packets are strict and the existing
implementation does already hardcode the length within the serialize
functions. Therefore the user should not provide these lengths during
creation time. In order to make this more verbose use defaults values
within the structs and reference these defaults values within the
serialization functions. It's not possible to remove these fields
completly as this fields are used within deserialization from the
hardware itself.

Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>

* Remove length fields as they are obsolete. The lengths is only required
during the serialization and therefore is already hardcoded. The only
other convinience is the calculation of the descriptor size, but this is
already wrong. extern structs are padded and therefore do not have the
right sizes.

Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>

* cleanup some accidentially added changes

Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>

---------

Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>
7 months ago
Felix "xq" Queißner 1643c30d7d Makes AVR example fit, but still crashes compiler 8 months ago
Felix "xq" Queißner 2878ae6e19 Makes microchip/atsam example and bsp work 8 months ago
Felix "xq" Queißner 7dd20383fb Adds examples for espressif/esp, gigadevice/gd32 8 months ago
Felix "xq" Queißner 71e60e3c44 Makes nxp/lpc and nordic/nrf5x examples, fixes bug in build.zig.zon generation 8 months ago
Felix "xq" Queißner 7a33e6fd55 Makes stm32 module build again. 8 months ago
Felix "xq" Queißner 2e9df6032d Tiny change in the rp2040 build 8 months ago
Felix "xq" Queißner 243c263150 Ports raspberrypi-rp2040 to microzig-package.json style, reorders fields to have nicer file. 8 months ago
Felix "xq" Queißner a253584a01 Merge branch 'main' of github.com:ZigEmbeddedGroup/microzig-monorepo 8 months ago
Felix "xq" Queißner b26ccf6645 Adds new structure for output: split into /examples/ and /packages/ 8 months ago
Tobias Kohlbau d2c46f3d66 rework raspberry pico examples
Rework raspberry pico examples to support new
microzig architecture. This involves using newly
added target selection by bsp projects.

Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>
8 months ago
Felix "xq" Queißner b1e189b4f4 Adds step/option for printing the available targets, shortens target list. 8 months ago
Felix "xq" Queißner 4480b7c17a Fixes build script enough to make next-gen example build. 8 months ago
Felix "xq" Queißner 99e8d09cf0 Adds auto-discovery of BSPs. 8 months ago
Felix "xq" Queißner cadd5d1b0f Makes examples/next-gen kinda build with experimental setup. Packages are now correct and microzig-build can determine all available targets and BSPs. 8 months ago
Felix "xq" Queißner bb2b13227b Snapshot for transfer 9 months ago
Felix "xq" Queißner 9a3b06aa31 Moves microzig-examples to examples/ 9 months ago