Glenn Ruben Bakke
|
042e3653cf
|
nrf5/hal: Adding support for NULL pointer to be set if no rx buffer is of interest in SPI rx_tx function.
|
2017-01-05 21:56:17 +01:00 |
|
Glenn Ruben Bakke
|
7b6bdc4c2b
|
nrf5: Adding sleep_us to modutime.c and exposing mp_hal_delay_us in hal/hal_time.h
|
2017-01-03 21:15:53 +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
|
1bc50dbeb5
|
nrf5/hal: Fixing some issues in PWM stop function. Doing a proper stop and disable the peripheral.
|
2016-12-31 17:20:54 +01:00 |
|
Glenn Ruben Bakke
|
5e322ea078
|
nrf5/hal: Exposing two new PWM hal functions start() and stop().
|
2016-12-31 17:06:07 +01:00 |
|
Glenn Ruben Bakke
|
c5d77f0e7e
|
nrf5/hal: Moving enablement of PWM task from init to a start function. Also activating code in stop function to stop the PWM.
|
2016-12-31 17:05:32 +01:00 |
|
Glenn Ruben Bakke
|
d6300a2e82
|
nrf5/pin: Merging input and output pin configuration to one comon function. Adding implementation in Pin class to be able to configure mode and pull. Updating drivers which uses gpio pin configuration to use new function parameters.
|
2016-12-27 15:40:20 +01:00 |
|
Glenn Ruben Bakke
|
c2d2958205
|
nrf5/hal: Adding empty init function in hal_rtc.c
|
2016-12-26 16:49:27 +01:00 |
|
Glenn Ruben Bakke
|
22c62fb53f
|
nrf5/hal: Adding structures and init function prototype to hal_rtc.h.
|
2016-12-26 16:48:56 +01:00 |
|
Glenn Ruben Bakke
|
53fdcf91d7
|
nrf5/hal: Adding empty init function in hal_timer.c
|
2016-12-26 16:08:59 +01:00 |
|
Glenn Ruben Bakke
|
9b084fc376
|
nrf5/hal: Adding structures and init function prototype to hal_timer.h.
|
2016-12-26 16:08:22 +01:00 |
|
Glenn Ruben Bakke
|
1264122e76
|
nrf5/hal: Adding skeleton files for rtc and timer driver.
|
2016-12-25 18:10:31 +01:00 |
|
Glenn Ruben Bakke
|
0999226103
|
nrf5/pwm: Updating pwm module with freq function which re-initilises the PWM instance such that new frequency will be applied.
|
2016-12-20 23:15:26 +01:00 |
|
Glenn Ruben Bakke
|
abd945fde1
|
nrf5/hal: Updating PWM header file with init function prototype. Also added PWM_HandleTypeDef structure that can be used in the pwm python module.
|
2016-12-17 01:05:43 +01:00 |
|
Glenn Ruben Bakke
|
82f7fe88b0
|
nrf5/hal: Starting implementation of PWM hal to be used by PWM python module later.
|
2016-12-16 19:17:42 +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 |
|
Glenn Ruben Bakke
|
70956ea969
|
Base support for nrf51 and nrf52 base without depending on SDK. SoftDevice usage optional.
|
2016-11-16 21:38:25 +01:00 |
|