526 Commits (a811241bc079e9566bdfca1aa02c114cc90444ef)
 

Author SHA1 Message Date
Matt Knight c34d8b73d5
interrupt generation for chips (#16) 3 years ago
Matt Knight 152db2ae5f
no need to make the interrupt the .Naked calling convention (#15) 3 years ago
Matt Knight 0124a14773
Add interrupt declaration to cortex-m microcontrollers (#14)
Co-authored-by: Vesim <vesim809@pm.me>
3 years ago
Matt Knight 23eb8d5658
add packages to your embedded app (#13) 3 years ago
Matt Knight 38110fb3bd
calculate end-of-stack value from chip configs (#12) 3 years ago
Marnix Klooster 1b5cc2ad1f
Support STM32F3DISCOVERY board (#11)
* Support disabling UART test configs

* `zig build [install]` also builds .bin files

* Support one blinking LD3 on STM32F3DISCOVERY board

These changes were mostly copied from the stm32f103 already there.

But this is far from complete, many shortcuts were taken:

- Most importantly,
  only a single LED on the board, and its port/pin, is supported,
  viz. the 'north' LD3 on bit 9 of GPIOE.

- Setting RCC_AHBENR bit IOPEEN ("I/O port E clock enable") is done
  at the same as setting the mode (input or output) on one of its pins.
  No idea if that is the right place to do this.

- In cortex-m4.zig, using 'max ram' as the initial stack pointer.
  The rest is completely copied from cortex-m3.zig.

- UART test is disabled.
  (It seems to assume mbed-lpc1768 pin numbers.)

* Nicer initial stack pointer: exactly after RAM

* Fix build error

(How was this code working earlier?!?)

* stm32f30x: Allow all 16 pins, all GPIOx registers

* STM32F3DISCOVERY: map all LED pins
3 years ago
Matt Knight f46c2e4ea9
Microzig as pkg (#10)
* works as a package

* run zig fmt on all files
3 years ago
Matt Knight 46a924234e
add stm32f103 registers and reorganize so that microzig can be used as a package (#9) 3 years ago
Matt Knight 5a1e72f380
Create LinkerscriptStep (#7)
* create linkerscript step

* catch up to master, do some cleanup

* remove references to micro_linker

* commas

* remove package

* use root path trick for cpus and chips

* remove duped file
3 years ago
Matthew Knight af7aa777f9
Freshen things up (#6)
* catch up to some of master's changes, getting prepped to anchor to 0.9.0

* found fix for lpc board
3 years ago
Vesim 2a6bedfcca
Update README.md 3 years ago
Vesim eedc689738 Move lpc1768 to new generated SVD 3 years ago
Vesim 74641abbf0 [svd2zig] Fix handling og non-exhaustive enums and resverd fields 3 years ago
Vesim a4416fd2b7 [svd2zig] Add enumeration supports and fix bug for registers without fields 3 years ago
Felix (xq) Queißner 196c4c4d05 mbed LPC1768 only commit. This introduces a working UART abstraction for LPC1768, currently the uart-sync example has chip-related code in it. 3 years ago
Felix (xq) Queißner 294cfebf7a Makes UART compile for LPC1768. 3 years ago
Felix (xq) Queißner deb9c3fe03 Designs the basic uart frontend. 3 years ago
Felix (xq) Queißner f5bc3be1ae Introduces the first SVD generated binding for LPC1768. svd2zig contains a hack for missing register sizes. 3 years ago
Felix (xq) Queißner 1aad7b52f6 Ports over sbi, cbi to avr5.zig. 3 years ago
Felix (xq) Queißner 284d19814d Implements blinky for AVR. 3 years ago
Felix (xq) Queißner 26681f7b30 blinky works for lpc1768 3 years ago
Felix (xq) Queißner 6cdf641f32 Continues blinky setup. 3 years ago
Felix (xq) Queißner e68a282981 Implements (untested) startup for AVR and LPC1768. 3 years ago
Felix (xq) Queißner bbfdb421d8 File structure, draft 1 3 years ago
Felix Queißner e32d230c07
Create thoughts.md 3 years ago
Vesim f6037c77e2 initial commit 4 years ago