46 lines
1.9 KiB
Plaintext
46 lines
1.9 KiB
Plaintext
README
|
|
======
|
|
|
|
The NuttX configuration for the Olimex STM32-P407 is derives more or less
|
|
directly from the Olimex STM32-P207 board support. The P207 and P407 seem
|
|
to share the same board design. Other code comes from the STM3240G board
|
|
support (which has the same crystal and clocking) and from the STM32 F4
|
|
Discovery (which has the same STM32 part)
|
|
|
|
Note that CONFIG_STM32_DISABLE_IDLE_SLEEP_DURING_DEBUG is enabled so
|
|
that the JTAG connection is not disconnected by the idle loop.
|
|
|
|
The following peripherals are enabled in this configuration.
|
|
|
|
- LEDs: show the sytem status
|
|
|
|
- Buttons: TAMPER-button, WKUP-button, J1-Joystick (consists of RIGHT-,
|
|
UP-, LEFT-, DOWN-, and CENTER-button). Built in app
|
|
'buttons' works.
|
|
|
|
- ADC: ADC1 samples the red trim potentiometer AN_TR
|
|
Built in app 'adc' works.
|
|
|
|
- USB-FS-OTG: enabled but not really tested, since there is only a
|
|
USB-A-connector (host) connected to the full speed µC inputs.
|
|
The other connector (device) is connected to the high speed µC
|
|
inputs, but it seems that NuttX has currently no driver
|
|
for it.
|
|
|
|
- CAN: Built in app 'can' works, but apart from that not really tested.
|
|
|
|
- Ethernet: Ping to other station on the network works.
|
|
|
|
STATUS:
|
|
|
|
2016-12-21: This board configuration was ported from the Olimex STM32 P207
|
|
port. Note that none of the above features have been verified. USB, CAN,
|
|
ADC, and Ethernet are disabled in the base NSH configuration until they
|
|
can be verified. These features should be functional but may required
|
|
some tweaks due to the different clock configurations. The Olimex STM32
|
|
P207 nsh/defconfig would be a good starting place for restoring these
|
|
feature configurations.
|
|
|
|
CCM memory is not included in the heap (CONFIG_STM32_CCMEXCLUDE=y) because
|
|
it does no suport DMA, leaving only 128KiB for program usage.
|