You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
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
.github/workflows Create LinkerscriptStep (#7) 3 years ago
src Support STM32F3DISCOVERY board (#11) 3 years ago
tests Support STM32F3DISCOVERY board (#11) 3 years ago
.gitattributes File structure, draft 1 3 years ago
.gitignore Create LinkerscriptStep (#7) 3 years ago
README.md Update README.md 3 years ago
build.zig Support STM32F3DISCOVERY board (#11) 3 years ago
thoughts.md Create thoughts.md 3 years ago

README.md

NOTHING IS STABLE IN THIS REPO