Commit Graph

11 Commits

Author SHA1 Message Date
hathach f638594536 move -flto to board.mk
current board that doesn work with flto is spresense and mimxrt10xx (due
to xip image_vector_table is optimized out).
2019-11-20 16:06:40 +07:00
Sean Cross 679821e917 fomu: bsp: don't call usb isr when usb is disabled
When compiled without usb support, we don't want to call the USB ISR.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 11:10:37 -08:00
Sean Cross 67267a9399 fomu: bsp: remove unused messible functions
These functions are unused in the current implementation.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 11:08:56 -08:00
Sean Cross 8c5f02960b valentyusb: rename from `foosn`
While Fomu is produced by Foosn, the actual name of the hardware
block is `valentyusb`.  Rename the module to match that.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 09:08:47 -08:00
Sean Cross 25d5628063 fomu: csr: sync csr
Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 09:08:47 -08:00
Sean Cross f087cb1580 fomu: crt0: minor text refactor
Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 09:08:47 -08:00
Sean Cross 77cf0b5bfd fomu: csr: add version with next_ev register
The Fomu bitstream now includes a `USB_NEXT_EV` register to
indicate which is the next logical event to process.  Add this
register to the CSR definition.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 09:08:47 -08:00
Sean Cross 83bca4a74f fomu: semi-working commit
Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 09:08:01 -08:00
Sean Cross ef07427e06 bsp: fomu: update
Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 09:03:13 -08:00
Sean Cross ba889eeb9e bsp: fomu: fix linker script overlap
The end of the data section was overlapping the start of the bss.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 09:03:12 -08:00
Sean Cross f152bed4b4 fomu: initial commit
Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 09:03:12 -08:00