aboutsummaryrefslogtreecommitdiff
path: root/stmhal/boards/NETDUINO_PLUS_2/mpconfigboard.h
AgeCommit message (Collapse)Author
2017-09-06ports: Make new ports/ sub-directory and move all ports there.Damien George
This is to keep the top-level directory clean, to make it clear what is core and what is a port, and to allow the repository to grow with new ports in a sustainable way.
2016-12-05stmhal: Refactor UART configuration to use pin objects.Rami Ali
This follows the pattern of other peripherals (I2C, SPI) to specify the pins using pin objects instead of a pair of GPIO port and pin number. It makes it easier to customise the UART pins for a particular board.
2016-10-18stmhal/led: Refactor LED to use mp_hal_pin_output() init function.Damien George
As part of this patch the MICROPY_HW_LED_OTYPE setting is removed because it is now unused (all boards anyway had this as OUTPUT_PP).
2016-02-15stmhal: Some NETDUINO_PLUS_2 cleanupDave Hylands
- Put the I2C bus on the corect pins - Add the appropriate board_init to power the shield
2016-02-06stmhal/diskio: Introduce MICROPY_HW_HAS_FLASH setting.Paul Sokolovsky
To allow to reuse stmhal/diskio for ports which don't have flash but have other storage devices.
2015-12-12stmhal: For SPI config, use HW_SPIx_SCK instead of HW_ENABLE_SPIx.Damien George
Previously, SPI was configured by a board defining MICROPY_HW_ENABLE_SPIx to 0 or 1. Now, the board should define MICROPY_HW_SPIx_SCK, MISO, MOSI and NSS. This makes it the same as how I2C is configured.
2015-05-03stmhal: Allow to configure UART pins completely via mpconfigboard.h.Eero af Heurlin
2015-04-18stmhal: Make I2C busses and their pins configurable in mpconfigboard.h.Damien George
2015-04-18stmhal: Make HSE PLL parameters configurable per board.Damien George
2015-01-21stmhal: Add support for FEZ Cerb40 II board from ghielectronics.com.Dave Hylands
2015-01-07stmhal: Add MICROPY_HW_USB_VBUS_DETECT_PIN option, for boards without itDamien George
Since all currently supported boards use pin A9 for this function, the value of the macro MICROPY_HW_USB_VBUS_DETECT_PIN is not actually used, just the fact that it is defined. Addresses issue #1048.
2014-10-05stmhal: Add config option to disable/enable CAN driver.Damien George
2014-09-26stmhal: Initial implementation of cc3k module and driver.Damien George
Pulled in and modified work done by mux/iabdalkader on cc3k driver, from iabdalkader-cc3k-update branch. That branch was terribly messy and had too many conflicts to merge neatly.
2014-06-27Change MCU name config micromux
2014-06-19Add MICROPY_HW_MICRO_NAME to boards configmux
2014-05-03stmhal: Wrap CC3000 driver in MICROPY_HW_ENABLE_CC3K.Damien George
This renames MICROPY_HW_HAS_WLAN to MICROPY_HW_ENABLE_CC3K (since it's a driver, not a board feature) and wraps all CC3000 code in this #if. It's disabled for all boards.
2014-04-20stmhal: Improved configurability for I2C and SPI busses.Damien George
The HAL handles for the I2C/SPI objects are rather large, so we don't want to unnecessarily include them.
2014-04-20Fix i2c and spi to compile for Netduino Plus 2Dave Hylands
2014-03-30stmhal: Unify naming of HW config; make SD detect configurable.Damien George
All board config macros now begin with MICROPY_HW_. Renamed PYBv10 to PYBV10, since macros should be all uppercase. Made SDCARD_DETECT configurable in mpconfigport.h, so that the SD detect pin can be easily configured.
2014-03-24stmhal: Add DAC driver.Damien George
2014-03-14stmhal - add pin mapping, gpio, exti, usrswDave Hylands
2014-03-14stmhal - add led support. Add netduino_plus_2 supportDave Hylands
Tweaked a couple of the USB files to compile if neither dev nor host was defined. Tested on netduiono plus 2 and stm32f4discovery boards
2014-03-11Initial checkin with STM HALDave Hylands
This compiles and links, but hasn't been tested on a board yet and even if it was run, it doesn't currently do anything.