Glenn Ruben Bakke
|
43a2355665
|
nrf5: Updating pin, spi and uart to use port configuration for gpio pins. Update pin generation script, macros for PIN generation. Updating macros for setting pin values adding new port parameter to select the correct GPIO peripheral port.
|
2017-01-08 16:40:18 +01:00 |
|
Glenn Ruben Bakke
|
f9ffcfdb7d
|
nrf5/spi: Moving *_spi_obj_t out of implementation file to header. Setting hal init structure in the object structure instead of making a temp struct to configure hal. This would enable lookup of the spi settings later.
|
2017-01-05 19:50:20 +01:00 |
|
Glenn Ruben Bakke
|
04751defa0
|
nrf5/spi: Removing automatic chip select (NSS) in hal_spi.c. Also removing configuration of this pin as it is confusing to pass it if not used. User of SPI has to set the NSS/CS itself.
|
2017-01-02 12:51:56 +01:00 |
|
Glenn Ruben Bakke
|
d7dc0b789d
|
nrf5: Updating port with new content. SPI, SDcard (trough sdcard.py), Pin, and machine module. Also adding some basic modules depending on SDK and bluetooth stack from nordic semiconductor. NUS is module copied from original port by tralamazza, and new basic module for 6lowpan over BLE which can be used by modnetwork and modusocket. Basic BLE module to enable bluetooth stack and start a eddystone advertisment is kept, and still works without SDK, even if in the SDK folder (its placed there as it needs bluetooth stack from an SDK).
|
2016-12-13 20:27:26 +01:00 |
|